- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page