-
Notifications
You must be signed in to change notification settings - Fork 406
added coded_picture_number property to VideoFrame #582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for this. Looking at the FFmpeg code though, I can't find where this is actually set except in h.264. Do you know how reliable this is globally? |
Looking at these:
It only looks like |
In the case with As for |
Those are container formats, and it is the codec that sets that attribute. DVDs are MPEG2 IIRC, so that makes sense. |
I don't have much knowledge in this domain area. If you would describe specific cases for verification, I can check, and if necessary, add tests. |
@mikeboers |
This needs unit tests. |
This PR is so basic, and nothing has happened for so long. I don't think it's worth keeping it open anymore. |
@WyattBlue please note that code is wrong anyway as the underlying stuff got deprecated. FFmpeg/FFmpeg@2296078 |
Added information about picture number in bitstream order. Some times frames can be in broken order, for example 1, 2, 3...12, 14, 13, 15, 16.... And
coded_picture_number
possible way to detect it.