On 04/06/2024 08.04, Paul B Mahol wrote:
> On Mon, Jun 3, 2024 at 7:19 PM Mark Filipak <markfilipak.i...@gmail.com>
> wrote:

>> Is there a way to set 'closed_gop' in FFmpeg?
>> Is there a way to set 'closed_gop' for an individual GOP?
>
> Not possible, use something more efficient, less buggy and far more useful
> tooling.

Hmmm... Maybe this isn't so bad...

open Bs
from 1st
segment    I from 2nd segment
  \  \    /
   B  B  I
  _¦__¦_/
 / ¦  ¦
I  B  B

Drop the final open B

   B     I
  _¦____/
 / ¦
I  B

Then 'move' the I-PTS.

   B  I
  _¦_/
 / ¦
I  B

The problem is, what if the physical stream is in DTS-order? In that case, the I-frame has to be physically moved. How?

_______________________________________________
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".

Reply via email to