[FFmpeg-user] ffmpeg -g option

Moritz Barsnick barsnick at gmx.net
Sat Jun 6 14:25:43 CEST 2015


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


More information about the ffmpeg-user mailing list