[FFmpeg-user] ffmpeg -g option

Parag Goyal IMD, Applied Chemistry, IT-BHU, Varanasi (INDIA) parag.goyal.apc11 at itbhu.ac.in
Sat Jun 6 20:26:10 CEST 2015


Hello ,

I am just trying to get control over the video firmly . Nothing special
though.

Thanks for the help .

And regarding top-posting , is there any protocols to be followed while
posting on this mailing list . If yes , my apologies and please let me know
them.

Thanks ,
Parag

On Sat, Jun 6, 2015 at 11:21 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> Hi Parag,
> why are you top-posting?
>
> > As explained in the link (http://en.wikipedia.org/wiki/Group_of_pictures
> )
> >  that we  can specify the GOP structure by two variables M , N . But what
> > it seems from the -g option is that we can only specify the N (distance
> > between the two I frames) not M . So can we have other option to specify
> > completely the GOP structure in ffmpeg ?
>
> I found the documentation for "-g", it's in this section:
>
> https://www.ffmpeg.org/ffmpeg-all.html#Codec-Options
>
> N is specified by the "-bf" option:
>
>  ‘bf integer (encoding,video)’
>
>     Set max number of B frames between non-B-frames.
>
>     Must be an integer between -1 and 16. 0 means that B-frames are
>     disabled. If a value of -1 is used, it will choose an automatic value
>     depending on the encoder.
>
>     Default value is 0.
>
> I'm not sure this default value is valid for all codecs though. I would
> have thought libx264 defaults to using B-frames. libx264 also has much
> finer options to control the type of frames it produces.
>
> Parag, why do you ask? Just out of curiosity, or are you trying to
> achieve something special?
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list