Deyan <[email protected]> added the comment:
Hello,
> I meant you to test without "-vcodec" and I would recommend to use "-t 1
> -qscale
> 20" instead of "-b".
If I try with the follwing command line, I get an error:
[r...@spare Videos]# ffmpeg -y -i VTS_01_4-VFR.mp4 -an -t 1 -qscale 20
/tmp/out.mp4
FFmpeg version SVN-r25944, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 14 2010 15:39:24 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration: --prefix=/usr/local/ffmpeg --enable-libfaac --enable-libgsm
--enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug
--disable-stripping --enable-nonfree --enable-libtheora --enable-swscale
--enable-doc
libavutil 50.34. 0 / 50.34. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.99. 1 / 52.99. 1
libavformat 52.88. 0 / 52.88. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.69. 0 / 1.69. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 180000.00
(180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'VTS_01_4-VFR.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
creation_time : 2010-12-14 10:46:20
encoder : HandBrake svn3703 2010121001
Duration: 00:08:24.88, start: 0.000000, bitrate: 872 kb/s
Stream #0.0(und): Video: h264, yuv420p, 720x480 [PAR 32:27 DAR 16:9], 706
kb/s, 23.93 fps, 90k tbr, 90k tbn, 180k tbc
Metadata:
creation_time : 2010-12-14 10:46:20
Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 160 kb/s
Metadata:
creation_time : 2010-12-14 10:46:20
[buffer @ 0x104083f0] w:720 h:480 pixfmt:yuv420p
[mpeg4 @ 0x10407020] removing common factors from framerate
[mpeg4 @ 0x10407020] timebase not supported by mpeg 4 standard
Output #0, mp4, to '/tmp/out.mp4':
Stream #0.0(und): Video: mpeg4, yuv420p, 720x480 [PAR 32:27 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 90k tbc
Metadata:
creation_time : 2010-12-14 10:46:20
Stream mapping:
Stream #0.0 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect parameters
such as bit_rate, rate, width or height
Regards,
Deyan
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2423>
________________________________________________