- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Intel SDK HW and SW can support a frame of the input bitstream to generate a frame of raw data output?
If the bitstreamreferenceframe is 1 frame
Mytested
System Environment
CPU :I7 2600K
RAM : 8G
Intel Media SDK 2.0
Intel SDK HW and SW can support a frame of the input bitstream to generate a frame of raw data output?
If the bitstreamreferenceframe is 1 frame
Mytested
In front of the input bitstream does not raw data output
About 15 ~ 30 frame of the input bitstream
Output the first frame of the raw data
System Environment
CPU :I7 2600K
RAM : 8G
Intel Media SDK 2.0
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm not sure I fully understand your question but my take is that you are asking why Media SDK decoder does not output decoder frame immediately after being fed a compressed frame from the input stream? Does that sufficiently describe your question?
If you are using the sample_decode sample from the SDK, the answer is quite simple. There are two main reasons why the decoder does not output decoded frames immediately:
- Another reason for delayed decoder output is based on the fact that some frames have dependencies (such as B frames) on other frames. If frame X depends on frame Y, X cannot be fully decoded until Y has been decoded.
I'm not sure I fully understand your question but my take is that you are asking why Media SDK decoder does not output decoder frame immediately after being fed a compressed frame from the input stream? Does that sufficiently describe your question?
If you are using the sample_decode sample from the SDK, the answer is quite simple. There are two main reasons why the decoder does not output decoded frames immediately:
- Since sample_decode implements an asynchronous pipeline (for optimal performance), the application continues to feed frames into decoder until the allocated decode surfaces are all used up (sync required) or the decode frame call returns ERR_NONE indicating that the first frame has been decoded. So effectively what happens is that, while Media SDK works on decoding the first frame, the application keeps feeding additional frames into the decoder for improved performance. So, even though the first frame is a reference frame there will be a "perceived" delay. If you require immediate output of decoded frame you will have to sync after each frame, which naturally will impact performance.
- Another reason for delayed decoder output is based on the fact that some frames have dependencies (such as B frames) on other frames. If frame X depends on frame Y, X cannot be fully decoded until Y has been decoded.
Regards,
Petter
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page