[FFmpeg-user] mpeg2video encode gop structure
Gyan Doshi
gyandoshi at gmail.com
Thu Mar 15 06:37:55 EET 2018
On 3/15/2018 3:13 AM, Dan Bridges wrote:
>
> 1. Here is the order of frames before sorting. I presume this is how
> they're stored in the stream.
>
> I B B P B B P B B P I B B P
> B B P B B P I B B P
>
>
> 2. Here is the order of frames after sorting on coded_picture_number. I
> presume this is the order the frames need to be decoded in:
>
> I P B B P B B P B B I P B B
> P B B P B B I P B B
>
The other way around. The latter is how they are stored, and represents
encoding order.
You can also include pkt_pos in show entries to see position in file.
Regards,
Gyan
More information about the ffmpeg-user
mailing list