[FFmpeg-user] How to set "fixed_frame_rate_flag" using ffmpeg?

André Weidemann Andre.Weidemann at web.de
Thu May 8 09:22:30 CEST 2014


Hi,

I would very much like to create an h.264 MPEG-TS stream using ffmpeg, 
where the fixed_frame_rate_flag is set to 1.

My current command line looks like this:

ffmpeg -y -threads 8 -i input1.ts -c:s copy -b:v 3000k -c:a copy -ss 
00:05:00 -t 00:01:00 -c:v libx264 -vpre video -vbsf h264_mp4toannexb -f 
mpegts output1.ts

...with the following contents in the video preset file:

coder=1
flags=+loop+mv4+aic
partitions=+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8
me_method=tesa
subq=9
me_range=32
g=12
keyint_min=12
sc_threshold=40
i_qfactor=0.71
b_strategy=2
qcomp=0.6
qmin=10
qmax=51
qdiff=4
bf=4
refs=16
trellis=2
cmp=2
subcmp=2
mbd=rd

How can I set the fixed_frame_rate_flag?

Thanks in advance
  André


More information about the ffmpeg-user mailing list