[FFmpeg-user] ffmpeg -g option

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


Hello ,

Thanks for the explanation .

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 ?

Thanks,
Parag

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

> Hi Parag,
>
> On Sat, Jun 06, 2015 at 10:26:19 +0530, Parag Goyal IMD, Applied
> Chemistry, IT-BHU, Varanasi (INDIA) wrote:
> > I was reading the ffmpeg's documentation and in that they have used
> >  ffmpeg -g 3 -r 3 -t 10 -b:v 50k -s qcif -f rv10 /tmp/b.rm
> > under tips section . Please help me understand what -g is used for .
>
> As Kieran said, it defines the size of a GOP (group of pictures) in
> number of frames. It's basically the interval between I-frames.
>
> I believe you have found a documentation bug. I too failed to find this
> option documented, though it is well known, and used in many examples.
>
> 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