I have been compiled x264 build 32 (2005.6.21) and ffmpeg CVS (20050702). ffmpeg show error message something like this. [root at viola sample_media]# ffmpeg -i chae.avi -vcodec h264 out.avi ffmpeg version 0.4.9-pre1, build 4757, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-x264 --enable-gpl built on Jul 2 2005 23:27:33, gcc: 3.4.1 (Haansoft 3.4.1-7) Input #0, avi, from 'chae.avi': Duration: 00:03:01.5, start: 0.000000, bitrate: 6312 kb/s Stream #0.0: Video: mpeg4, yuv420p, 704x410, 29.97 fps Stream #0.1: Audio: mp3, 48000 Hz, stereo, 256 kb/s File 'out.avi' already exists. Overwrite ? [y/N] y Output #0, avi, to 'out.avi': Stream #0.0: Video: h264, yuv420p, 704x410, 29.97 fps, q=2-31, 200 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [h264 @ 0x8349f4c]width % 16 != 0 or height % 16 != 0 (704x410) Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Chang Min Jeon wrote:
I have been compiled x264 build 32 (2005.6.21) and ffmpeg CVS (20050702). ffmpeg show error message something like this. [root at viola sample_media]# ffmpeg -i chae.avi -vcodec h264 out.avi ffmpeg version 0.4.9-pre1, build 4757, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-x264 --enable-gpl built on Jul 2 2005 23:27:33, gcc: 3.4.1 (Haansoft 3.4.1-7) Input #0, avi, from 'chae.avi': Duration: 00:03:01.5, start: 0.000000, bitrate: 6312 kb/s Stream #0.0: Video: mpeg4, yuv420p, 704x410, 29.97 fps Stream #0.1: Audio: mp3, 48000 Hz, stereo, 256 kb/s File 'out.avi' already exists. Overwrite ? [y/N] y Output #0, avi, to 'out.avi': Stream #0.0: Video: h264, yuv420p, 704x410, 29.97 fps, q=2-31, 200 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [h264 @ 0x8349f4c]width % 16 != 0 or height % 16 != 0 (704x410) Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
H.264 is complaining that the height isn't a multiple of 16. Try cropping or rescaling the video to 704x400. HTH Martin -- Martin B?hme Inst. f. Neuro- and Bioinformatics Ratzeburger Allee 160, D-23538 Luebeck Phone: +49 451 500 5514 Fax: +49 451 500 5502 boehme at inb.uni-luebeck.de
participants (2)
-
boehme@inb.uni-luebeck.de -
jcm1981@gmail.com