[FFmpeg-user] fps in March 13 git: -r 29.97 = 2997 tbn ???
sean darcy
seandarcy2 at gmail.com
Sat Apr 2 03:47:16 CEST 2011
Converting to an android playable file, I can't seem to set the fps. The
input is 29.97. I tried setting -r to 29.97:
+ ffmpeg -i ffv1.avi -an -pass 1 -r 29.97 -vcodec libx264 -level 30
-vpre slow_firstpass -bufsize 10000000 -maxrate 10000000 -b 10000000
-threads 0 OUTPUT1.m4v
FFmpeg version git-0e6a3ee, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 13 2011 12:25:45 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
............
Input #0, avi, from 'ffv1.avi':
Metadata:
encoder : Lavf52.102.0
Duration: 01:02:39.18, start: 0.000000, bitrate: 39880 kb/s
Stream #0.0: Video: ffv1, yuv411p, 720x480, PAR 8:9 DAR 4:3, 29.97
tbr, 29.97 tbn, 29.97 tbc
Stream #0.1: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s
............
Output #0, ipod, to 'OUTPUT1.m4v':
Metadata:
encoder : Lavf52.102.0
Stream #0.0: Video: libx264, yuv420p, 720x480 [PAR 8:9 DAR 4:3],
q=0-69, pass 1, 10000 kb/s, 2997 tbn, 29.97 tbc
........
Then I tried setting -r to 30000/1001:
ffmpeg -i ffv1.avi -an -pass 1 -r 30000/1001 -vcodec libx264 -level 30
-vpre slow_firstpass -bufsize 10000000 -maxrate 10000000 -b 10000000
-threads 0 OUTPUT1.m4v
...................
Output #0, ipod, to 'OUTPUT1.m4v':
Metadata:
encoder : Lavf52.102.0
Stream #0.0: Video: libx264, yuv420p, 720x480 [PAR 8:9 DAR 4:3],
q=0-69, pass 1, 10000 kb/s, 30k tbn, 29.97 tbc
Which also happens if I don't set the fps:
Output #0, ipod, to 'OUTPUT1.m4v':
Metadata:
encoder : Lavf52.102.0
Stream #0.0: Video: libx264, yuv420p, 720x480 [PAR 8:9 DAR 4:3],
q=0-69, pass 1, 10000 kb/s, 30k tbn, 29.97 tbc
tbn is the framerate for the AVStream of the container, as I gather from
google. It seems that -r affects tbn of the output. But really oddly.
How do I set fps of the output?
Thanks.
sean
More information about the ffmpeg-user
mailing list