- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DecodeFrameAsync returns frames in display order. This means, that when I have B frames in the GOP, the P frame won't be returned (even though it has already been decoded), until after the B frames.
I would like to get the frames as soon as they are decoded! I can handle the reordering myself. Is there any way to achieve this?
Thanks,
Andras
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andras,
Decoded frames are YUV frames, P frames memory presence as reference frames, I think it has not been decoded already prior to its actual sequence, only providing info as reference.
You might want to locate the next key frame, following the media seek approach, and process it as well.
Best regards,
Tamer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure what YUV or the next key frame has anything to do with what I asked.
All I want is for the decoded frames to come out in the order they are decoded, and not in display order.
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