On Mon, Jun 17, 2024 at 3:16 AM Mark Filipak <markfilipak.i...@gmail.com> wrote:
> To expand on my idea: > > The video is this: > I P B B P B B P B B I P B B.. > I want to change it to this: > I B B P B B P B B P I B B P.. > If this is what I think it is, your are wasting your time. Its nonsense to change order of encoded frames, no manipulation of clock can fix that. When doing concat you can not concat in middle of group of frames. Each beginning and end frame must be the key-frame. > > To do that, I reckon I need to, > 1, move the packets that contain P-frames, > 2, insert revised 'program_clock_reference_base's and > 'program_clock_reference_extension's into each > of them to account for the new order, and > 3, do some packet fixup (maybe). > > Is that possible with FFmpeg? > > --Mark. > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".