Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ankush_W_
New Contributor I
67 Views

Check if file can be decoded by Intel QuickSync

How can I be certain if the file I am trying to open can be decoded using the hardware decoder?

Currently I am using FFMPEG to demux the file and pass the video packets for decoding to the h/w decoder.

Thank you.

0 Kudos
3 Replies
Surbhi_M_Intel
Employee
67 Views

Hi Ankush,

If you are using Media SDK decoder then you can check what are the supported codec and the different properties of a video in the code itself or the manual which comes with the media SDK. To know properties of your video you can use mediainfo tool, which is available online. 
Let me know if I have got your question right and have answered it properly.

Thank you for your Question

Ankush_W_
New Contributor I
67 Views

Thank you for replying SURBHI M.

And no i want to check dynamically weather the file i am opening can be decoded using QuickSync. Like can the file be decoded or not and if yes then which codec does it use.

Surbhi_M_Intel
Employee
67 Views

Hi Ankush,

Currently we have don't have a way to choose the codec to decode the bitstream on the fly, but you can change the way the input parameters are parsed and include functionality of checking the bitstream and deciding which codec to use to decode. In the current Intel Media SDK we have to manually input the codec to decode the bitstream. 
The application should call MFXVideoDECODE_Query function to check if decoding of the stream is supported. Also, MFXVideoDECODE_Init does extensive validation to determine whether the configuration is supported as specified in the input parameters.

Hope this helps!

Thanks,
-Surbhi
 

 

Reply