[FFmpeg-user] ffmpeg: Setting GOP (i-frame interval)

johnnydepp prince_goyal_1987 at yahoo.com
Thu Sep 15 15:33:14 CEST 2011


I am converting one video format (.vob format) to another format (.ts
segments having h264 video).

Using this command:

ffmpeg -ss 0:0:0 -i "D:\sample videos\input9.vob" -ac 2 -f mpegts 
-acodec libmp3lame -ar 48000 -ab 64000 -s 720x408 -vcodec libx264 -b 1200k 
-flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 
-trellis 0 -refs 1 -coder 0 -me_range 16  -keyint_min 1 -sc_threshold 40 
-i_qfactor 0.71 -bt 1300k -bufsize 524288 -qmin 2 -qmax 48 -aspect 1.7647059 
-g 10 -r 30 -async 2  out.ts


I want out.ts to have "i-frames at intervals of 10 frames' 

Problem: Output file contains i-frames at the interval of 126 frames. 

Am I missing some command line parameter? 

(For the record, with previous versions of ffmpeg its perfectly putting
i-frames at required interval. But with new version only its creating
problem) .




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/ffmpeg-Setting-GOP-i-frame-interval-tp3815575p3815575.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list