Делаю так<br><br>ffmpeg -i "/home/soso/video_reg/cam1/07-03052011-164601.avi" -b 500k -r 15.0 -s 512x384 -vcodec libx264 -acodec copy "/home/soso/video_reg/cam1/test.mp4"<br><br>получаю<br><br>FFmpeg version 0.6-alt0.svn24911.M50P.1, Copyright (c) 2000-2010 the FFmpeg developers<br>
built on Nov 19 2010 13:24:46 with gcc 4.4.1 20090725 (ALT Linux 4.4.1-alt3)<br> configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-gpl --enable-postproc --enable-pthreads --enable-shared --enable-static --enable-libvorbis --disable-libfaac --enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libgsm --enable-libdc1394 --enable-zlib --disable-mpegaudio-hp --enable-mmx --disable-iwmmxt --disable-memalign-hack --enable-ffserver --enable-ffplay --disable-libdirac --enable-libschroedinger --enable-avfilter --disable-avisynth --disable-libnut --enable-libtheora --enable-version3 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-hardcoded-tables --enable-runtime-cpudetect --enable-x11grab --enable-bzlib --disable-ffprobe --enable-libvpx --enable-libv4l2 --disable-nonfree --enable-librtmp --disable-debug --extra-cflags='-pipe -Wall -O2 -march=i586 -mtune=i686 -frename-registers -DRUNTIME_CPUDETECT' --extra-version=alt0.svn24911.M50P.1<br>
All the errors with this package you should report <br>to ALT Linux bugzilla (<a href="https://bugzilla.altlinux.org">https://bugzilla.altlinux.org</a>)!<br> libavutil 50.24. 0 / 50.24. 0<br> libavcore 0. 6. 0 / 0. 6. 0<br>
libavcodec 52.86. 1 / 52.86. 1<br> libavformat 52.78. 3 / 52.78. 3<br> libavdevice 52. 2. 1 / 52. 2. 1<br> libavfilter 1.38. 1 / 1.38. 1<br> libswscale 0.11. 0 / 0.11. 0<br> libpostproc 51. 2. 0 / 51. 2. 0<br>
Input #0, avi, from '/home/soso/video_reg/cam1/07-03052011-164601.avi':<br> Metadata:<br> ISFT : Lavf52.78.3<br> Duration: 00:09:58.86, start: 0.000000, bitrate: 505 kb/s<br> Stream #0.0: Video: mpeg4, yuv420p, 512x384 [PAR 1:1 DAR 4:3], 15 tbr, 15 tbn, 15 tbc<br>
File '/home/soso/video_reg/cam1/test.mp4' already exists. Overwrite ? [y/N] y<br>[buffer @ 0x8083d70] w:512 h:384 pixfmt:yuv420p<br><b><span style="color: rgb(255, 0, 0);">[libx264 @ 0x8083730] broken ffmpeg default settings detected</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">[libx264 @ 0x8083730] use an encoding preset (vpre)</span></b><br>Output #0, mp4, to '/home/soso/video_reg/cam1/test.mp4':<br> Stream #0.0: Video: libx264, yuv420p, 512x384 [PAR 1:1 DAR 4:3], q=2-31, 500 kb/s, 90k tbn, 15 tbc<br>
Stream mapping:<br> Stream #0.0 -> #0.0<br>Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height<br><br>ЧЯДНТ?<br><br><br>