[Comm] Как с помощью ffmpeg перекодировать в h264
alt user
scriptgame на ya.ru
Вт Май 3 13:11:41 UTC 2011
Делаю так
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"
получаю
FFmpeg version 0.6-alt0.svn24911.M50P.1, Copyright (c) 2000-2010 the FFmpeg
developers
built on Nov 19 2010 13:24:46 with gcc 4.4.1 20090725 (ALT Linux
4.4.1-alt3)
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
All the errors with this package you should report
to ALT Linux bugzilla (https://bugzilla.altlinux.org)!
libavutil 50.24. 0 / 50.24. 0
libavcore 0. 6. 0 / 0. 6. 0
libavcodec 52.86. 1 / 52.86. 1
libavformat 52.78. 3 / 52.78. 3
libavdevice 52. 2. 1 / 52. 2. 1
libavfilter 1.38. 1 / 1.38. 1
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from '/home/soso/video_reg/cam1/07-03052011-164601.avi':
Metadata:
ISFT : Lavf52.78.3
Duration: 00:09:58.86, start: 0.000000, bitrate: 505 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 512x384 [PAR 1:1 DAR 4:3], 15 tbr,
15 tbn, 15 tbc
File '/home/soso/video_reg/cam1/test.mp4' already exists. Overwrite ? [y/N]
y
[buffer @ 0x8083d70] w:512 h:384 pixfmt:yuv420p
*[libx264 @ 0x8083730] broken ffmpeg default settings detected
[libx264 @ 0x8083730] use an encoding preset (vpre)*
Output #0, mp4, to '/home/soso/video_reg/cam1/test.mp4':
Stream #0.0: Video: libx264, yuv420p, 512x384 [PAR 1:1 DAR 4:3], q=2-31,
500 kb/s, 90k tbn, 15 tbc
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
ЧЯДНТ?
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/community/attachments/20110503/a8c25fcb/attachment.html>
Подробная информация о списке рассылки community