我已经使用 ffmpeginstaller 进行了安装。
This is the version installed:
ffmpeg version N-54523-ga71832f-syslint
built on Jul 7 2013 12:16:34 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthread s --enable-libopencore-amrnb --enable-decoder=liba52 --enable- libopencore-amrwb --enable-libfaac --enable- libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/l ocal/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 11.101 / 55. 11.101
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 78.103 / 3. 78.103
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
这有效:
ffmpeg -i FreeScreenVideoRecorderVideo.avi -ar 22050 -ab 32 -f mp4 -s 1280x720 video3.mp4
使用编解码器不起作用:
ffmpeg -y -i FreeScreenVideoRecorderVideo.avi -r 30000/1001 -b 2M -bt 4M -vcodec libx264 -pass 1 -vpre fastfirstpass -an output.mp4
我做错了什么?