[FFmpeg-user] Not able to get constant 25fps for H.264 HD Transport Stream after transcoding

Mrukant Popat mrukant at gmail.com
Tue Apr 29 07:15:20 CEST 2014


Dear All,

Below command line generates a Constant bitrate TS of 5000Kbps , but the
video elementary stream inside does not show 25 fps when using MediaInfo.
Infact when I play it with mplayer, it plays with 50fps. However, VLC plays
with 25fps.

Here is the command line

ffmpeg.exe -loglevel debug -i input.ts -pix_fmt yuv420p -r 25.0 -c:s copy
-c:v libx264 -preset slow -tune film  -x264opts
tff:fps=25.0:bitrate=4500:ref=3:threads=6:no-scenecut
:keyint=50:vbv-bufsize=180:vbv-maxrate=4500:videoformat=pal -c:a libfaac
 -ab 192000 -ar 48000 -f mpegts -mpegts_pmt_start_pid 0x64 -map 0:0 -map
0:1 -map 0:2 -
map 0:3 -streamid 0:1000 -streamid 1:1001 -streamid 2:1002 -streamid 3:1005
-muxrate 5M output.ts > c:\commandoutput.txt 2>&1



Here is the link to detailed output to this command --->
https://www.dropbox.com/s/qbb754cxaozxjik/commandoutput.txt


I am looking to get video with 25 fps and also the value of 25 fps set in
VUI of SEI inside H.264 stream.


Thank you,
Mrukant Popat


More information about the ffmpeg-user mailing list