Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Using Decoder without Sequence Header in Bitstream?

Ronny_Bodach
Beginner
182 Views
Hello folks,

I will use Intel Media SDK for decoding video frames in a libav environment.
So i just need to decode single frames witch will be copied to the bitstream for Media SDK decoding.

How can i resolve the missing sequence header for bitstream decoding?
Is there a way to Init Decoder with the necessary values (width, height etc...)

Hope someone knows a way to do this...

Thanks a lot and best regards

Ronny
0 Kudos
1 Reply
Anthony_P_Intel
Employee
182 Views
HI Ronny,

The Media SDK expects streams that are compliant to the elemantary stream standards and if the Media SDK decoder does not find any sequence headers while decoding the DecodeFrameAsync call will continuously return MFX_ERR_MORE_DATA (effectively asking for more bitstream data).

You would have to create your own valid sequence headers and ad them to the bitstream prior to the other data.

-Tony
Reply