Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3075 Discussions

why gstreamer not working with mfxdecoder and using samples of media sdk video playing very fast anf flickering also ?

satinder_s_
Beginner
1,118 Views

Hi ,

I am working on media sdk and I successfully installed media sdk on linux and I also installed intel media sdk with gstreamer . But gstreamer can not play a single video . Gstreamer giving following error every time :

gst_vaapi_decoder_parse assertion decoder != NULL failed

But using samples of media sdk I am able to play ES stream but that is play very fast when I am using -hw option , for -sw that is playing smooth . But I wanna play using -hw and I also wanna play other video formats so What I can do in that situation ? 

following are main issues : 

Gstreamer is not working 

media sdk -hw very fast and flickering 

0 Kudos
7 Replies
Seunghyuk_P_Intel
1,118 Views

Hi,

We need more information to investigate your issue.

Could you give answers following questions?

* Platform, OS, MediaSDK version,

* Have you tried through gstreamer command line testing with "gst-launch-1.0"?

* Could you attach one of your ES?

* And if OS is linux, please collect "$ vainfo" output.

Regards,

Peter.

 

0 Kudos
satinder_s_
Beginner
1,118 Views

Hi ,

OS : Ubuntu 

Media SDK have latest version 

Yes I am trying command line and getting error like above I mentioned .

Yes I tried both gst-launch and gst-play both giving error like above .

Yes I already collection output of vainfo that is following :

libva info: VA-API version 0.99.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.99 (libva 1.67.0.pre1)
vainfo: Driver version: 16.7.60601-production
vainfo: Supported profile and entrypoints
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointEncSlice
      VAProfileH264Main               :    <unknown entrypoint>
      VAProfileH264Main               :    <unknown entrypoint>
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointEncSlice
      VAProfileH264High               :    <unknown entrypoint>
      VAProfileH264High               :    <unknown entrypoint>
      VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:    <unknown entrypoint>
      VAProfileH264ConstrainedBaseline:    <unknown entrypoint>
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileJPEGBaseline           :    VAEntrypointVLD
      VAProfileJPEGBaseline           :    VAEntrypointEncPicture
      VAProfileVP8Version0_3          :    VAEntrypointVLD
      VAProfileVP8Version0_3          :    VAEntrypointEncSlice
      VAProfileHEVCMain               :    VAEntrypointVLD
      VAProfileHEVCMain               :    VAEntrypointEncSlice
      VAProfileHEVCMain10             :    VAEntrypointVLD
      VAProfileVP9Profile0            :    VAEntrypointVLD
      VAProfileVP9Profile0            :    <unknown entrypoint>
      VAProfileNone                   :    VAEntrypointVideoProc
      VAProfileNone                   :    <unknown entrypoint>

 

Please response as soon as possible .

0 Kudos
satinder_s_
Beginner
1,118 Views

Actually I wanna use gstreamer for play ts file because media sdk only works on es .

0 Kudos
Ishmael_Sameen
Beginner
1,118 Views

Can you remove gstreamer vaapi from your system? It should be in your LDPATH (libgstvaapi.so.x.xx)

0 Kudos
satinder_s_
Beginner
1,118 Views

ok , I did not remove but I think we can remove it .

0 Kudos
satinder_s_
Beginner
1,118 Views

I did not find and locate libgstvaapi.so.x.xx , So please let me know I can do now , Please help asap.

 

0 Kudos
Seunghyuk_P_Intel
1,118 Views

Hi Satinder,

It seems like you are using Media server sdk.

Its gold bkc is CentOS.

I know that it's tough to enable Media SDK in Ubuntu.

I have some suggestions.

1. Can you verify Media SDK operation with Media SDK samples here?

    - https://software.intel.com/en-us/intel-media-server-studio-support/code-samples

    If every tweak was correct and Media SDK is working good basically, these samples should be working also.

    You can just try sample_encode and sample_decode.

2. About elementary stream you are using,

    Is this output from Media SDK?

    if not, why don't you create sample from Media SDK and use for now?

Regards,

Peter.

 

 

0 Kudos
Reply