[FFmpeg-user] How do I encode in H264 Baseline but change the GOP?

Etienne Buira etienne.buira.lists at free.fr
Sat May 28 09:25:01 CEST 2011


On Fri, May 27, 2011 at 10:04:07PM +0100, Carl Partridge wrote:
> On 27 May 2011 16:21, Etienne Buira <etienne.buira.lists at free.fr> wrote:
> 
> > > With what you said, I think you also need -flags -cgop
> >
> > Oops, I meant -flags +cgop
> >
> 
> Thanks Etienne, if I specify "-flags +cgop"   and   "-x264opts keyint=100"
> will this override the baseline profile defaults enforced by "-profile
> baseline"  ?

Yes, at least on a recent enough version to support -x264opts.
You can check with the summary line x264 gives at the beginning of an
encode. +cgop leads to open_gop=0, and keyint to keyint.


More information about the ffmpeg-user mailing list