Skip to content
Snippets Groups Projects

msdkvp9enc: output video/x-vp9 raw data

Merged Haihao Xiang requested to merge haihao/gst-plugins-bad:msdk-vp9enc-src into master
4 files
+ 30
3
Compare changes
  • Side-by-side
  • Inline
Files
4
  • video/x-vp9 is required in the src pad, however the output includes a
    IVF header, which makes the pipeline below doesn't work
    
      gst-launch-1.0 videotestsrc ! msdkvp9enc ! msdkvp9dec ! fakesink
    
    Since mfx 1.26, the VP9 encoder supports bitstream without IVF header,
    so in this patch, the mfx version is checked and msdkvp9enc is enabled
    only if mfx 1.26+ is available
+ 4
2
@@ -45,7 +45,9 @@
#include "gstmsdkmpeg2dec.h"
#include "gstmsdkmpeg2enc.h"
#include "gstmsdkvp8dec.h"
#ifdef USE_MSDK_VP9_ENC
#include "gstmsdkvp9enc.h"
#endif
#include "gstmsdkvc1dec.h"
#ifdef USE_MSDK_VP9_DEC
#include "gstmsdkvp9dec.h"
@@ -135,10 +137,10 @@ plugin_init (GstPlugin * plugin)
ret = gst_element_register (plugin, "msdkvp9dec", GST_RANK_NONE,
GST_TYPE_MSDKVP9DEC);
#endif
#ifdef USE_MSDK_VP9_ENC
ret = gst_element_register (plugin, "msdkvp9enc", GST_RANK_NONE,
GST_TYPE_MSDKVP9ENC);
#endif
ret = gst_element_register (plugin, "msdkvpp", GST_RANK_NONE,
GST_TYPE_MSDKVPP);
Loading