2014-07-21 25 views
0

我正在使用ffmpeg-20140717-git-fa6716c-win64-共享最新的一個,他們提到了 --enable-libvirbose。如何在ffmpeg窗口中啓用libvorbis編解碼器?以及如何從.mov轉換爲.webm

但一旦我運行命令轉換.MOV到.webm那麼它說未知的編碼器libvorbis

我無法啓用的ffmpeg窗口libvorbis。

什麼命令啓用任何編解碼器。

,我想轉換.MOV到.webm格式,此命令

ffmpeg -i input.mov -codec:v libvpx -quality good -cpu-used 0 -b:v 225k -qmin 10 -qmax 42 -maxrate 300k -bufsize 1000k -threads 2 -vf scale=-1:560 -codec:a libvorbis -b:a 128k -pass 2 -f webm output.webm 

,但其具有的錯誤:

Unable to parse option value "-1" as pixel format 

Error setting option pix_fmt to value -1 

,甚至在命令我加入了一些-pix_fmt價值像

1] -pix_fmt yuv420p 2] -pix_fmt yuv422p 和更多,但仍然給我提及相同的錯誤...

和我的.mov文件是非常高的高清文件。

請指導我寫什麼

謝謝。

+0

夥計們需要幫助.. !!請幫助我 –

回答

0

類型ffmpeg.exe -h並尋找--enable-libvorbis像下面一樣。如果你不能看到--enable-libvorbis,則應該從Zeranoe FFmpeg - Builds

Ë下載libvorbis啓用的ffmpeg:\ ffmpeg的\ ffmpeg.exe -h 的ffmpeg版本N-62699-gc7b0890版權所有(C )2000-2014 FFmpeg開發者 構建於2014年4月25日03:07:38使用gcc 4.8.2(GCC) 配置:--enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enabl e-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-的DeckLink --enable-ZLIB

通用轉換器參數應該工作,如果它的工作原理,一步一步嘗試其他參數。 (-b:256k失敗,錯誤參數爲192k OK)

ffmpeg -i input.mov -c:v libvpx -b:v 2000k -c:a libvorbis -b:a 128k -f webm輸出。WEBM

的ffmpeg -i input.mov -c:v libvpx -b:v 2000K -vf規模= -1:560 -c:一個libvorbis -b:一個128K -f WEBM output.webm

ffmpeg -i input.mov -c:v libvpx -b:v 2000k -bufsize 4000k -muxrate 4000k -vf scale = -1:560 -c:a libvorbis -b:a 128k -f webm output.webm

二傳

通1

FFMPEG -i input.mov -pass 1 -passlogfile 「C:\ pass1.log」 -c:v libvpx -b:v 2000K -f WEBM -sn -an output.webm

通行證2

ffmpeg -i input.mov -pass 2 -passlogfile「c:\ pass1.log」-c:v libvpx -b:v 2000k -f webm -sn -c:a libvorbis -b:128k output.webm

兩遍與單個命令行

的ffmpeg -i input.mov -pass 1 -passlogfile 「C:\ pass1.log」 -c:v libv px -b:v 2000k -f webm -sn -an output.webm & & ffmpeg -i input.mov -pass 2 -passlogfile「c:\ pass1.log」-c:v libvpx -b:v 2000k -f webm -sn -c:a libvorbis -b:128k output.webm

也增加-bufsize(-bufsize 4000k)可能會有幫助。

+0

謝謝你可貴的答案.. 我做了你所說的,但它已經提到--enable-libvorbis 我有一個最新版本 –

+0

其實我的關注是如果我們得到任何錯誤,如 發現未知的編碼器:「libfaac」 那麼如何添加編碼器明確 像我運行一個命令那裏我得到關於libfaac 錯誤,以便怎麼說libfaac PS我使用添加最新版本的ffmpeg –

相關問題