- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SoC: N3350
OS: Ubuntu 18.04
We can add gstreamer-MediaSDK plugin into gstreamer-1.0, and see 16 elements using command "gst-inspect-1.0 | grep mfx".
16 elements listed below:
ubuntu@LR29b5-DevHost-ApolloLake:~$ gst-inspect-1.0 | grep mfx
mfx: mfxh264dec: MFX H264 decoder
mfx: mfxhevcdec: MFX HEVC decoder
mfx: mfxmpeg2dec: MFX MPEG2 decoder
mfx: mfxwmvdec: MFX WMV decoder
mfx: mfxvc1dec: MFX VC1 decoder
mfx: mfxvp8dec: MFX VP8 decoder
mfx: mfxvp9dec: MFX VP9 decoder
mfx: mfxjpegdec: MFX JPEG decoder
mfx: mfxdecode: MFX Video Decoder
mfx: mfxvpp: MFX video postprocessing
mfx: mfxsinkelement: MFX sink
mfx: mfxsink: MFX Sink Bin
mfx: mfxh264enc: MFX H.264 encoder
mfx: mfxhevcenc: MFX H.265 encoder
mfx: mfxmpeg2enc: MFX MPEG-2 encoder
mfx: mfxjpegenc: MFX JPEG encoder
Although we're able to build the gstreamer-msdk, but find error in using mfx elements.
For example, with command "gst-launch-1.0 filesrc location=/home/ubuntu/video_files/What-is-XenDesktop_H264_AAC.mp4 ! qtdemux ! h264parse ! mfxh264dec ! fpsdisplaysink video-sink=mfxsink" comes error below:
ubuntu@LR29b5-DevHost-ApolloLake:~$ gst-launch-1.0 filesrc location=/home/ubuntu/video_files/What-is-XenDesktop_H264_AAC.mp4 ! qtdemux ! h264parse ! mfxh264dec ! fpsdisplaysink video-sink=mfxsink
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'mfxsink0': gst.mfx.Aggregator=context, gst.mfx.Aggregator=(GstMfxTaskAggregator)"\(GstMfxTaskAggregator\)\ mfxtaskaggregator0";
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
** (gst-launch-1.0:1868): CRITICAL **: 17:23:55.354: gst_mfx_surface_new_from_pool: assertion 'pool != NULL' failed
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.
Additional debug info:
qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Does anyone find the same problem? How to fix it? Thanks in advance for the feedback.
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lichuan,
Apologized for late response. Did you solve the problem yet?
Could you check the following website and let me know if it helps?
https://01.org/linuxmedia/quickstart/gstreamer-vaapi-msdk-command-line-examples
Mark
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page