- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm working on a realtime streaming application which is to encode to MPEG2/h264/h265.
For the muxer to work best it needs to calculate PTS/DTS and initial arrival and final arrival values. And correct those when needed based of initial cpb removal delay (of NAL)+ offset.
Is there a way to access the values associated with the frame somewhere from mfxBitstream, outside of parsing the output bitstream itself?
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi gijs,
Apologized for late response. Media SDK is to work with hardware decoder, this means the bitstream parsing happens at the hardware level, so in general it is hard to access frame info if the pipeline is running.
But let me try, I am looking at function MFXVideoDECODE_DecodeHeader(), it mentioned to attach mfxExtCodingOptionSPSPPS structure to mfxVideoParams structure when call this function to retrieve SPS, PPS info at the sequence level but not frame level.
Could the information here can help?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to know more about Media SDK. Is this one for free?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, MediaSDK is free product. It uses Intel hardware codec in GPU. In general, it is hard to get information at frame level since encoding/decoding process happens at hardware level, but it should be possible to access the bit stream at SPS/PPS level.
We have both Windows and Linux. For Linux, we have Open Source Media SDK which you can access with following URL:
https://github.com/Intel-Media-SDK/MediaSDK
If you are using Linux, I encourage you to post the question to its issue list since you might get quick answer.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for your help.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page