[FFmpeg-user] Is there a way to set 'closed_gop' in FFmpeg?
Mark Filipak
markfilipak.imdb at gmail.com
Tue Jun 4 16:31:52 EEST 2024
On 04/06/2024 08.04, Paul B Mahol wrote:
> On Mon, Jun 3, 2024 at 7:19 PM Mark Filipak <markfilipak.imdb at 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?
More information about the ffmpeg-user
mailing list