當使用winff時遇到unknown codec "libfaac"
可能解決方式如下
Indeed, the package you are after is libavcodec-extra-52. Perhaps run through the steps again, first add Medibuntu:Then install ffmpeg and the libavcodec package from Medibuntu:Code:sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet updateAnd this should set you up correctly...Code:sudo apt-get install ffmpeg libavcodec-extra-52
Andrew
Edit: Mind you looks like you might have to manually 'Force' the Medibuntu libavcodec-extra-52 at the moment.
而winff預設的preset裡並不會有psp的規格
在/usr/share/winff/資料夾中有其他的preset,其中"presets-libavcodec52-v5.xml"就有psp的preset
方法有二,直接更改/usr/share/winff/中的preset,並砍掉/home/user/.winff/presets.xml然後開啟winff即可使用更改後的preset,當然,這樣子是system wide的改法
開啟terminal
cd /usr/share/winff/
sudo mv preset.xml preset.xml.bak
sudo cp presets-libavcodec52-v5.xml preset.xml
rm ~/.winff/preset.xml
然後開啟winff即可
另外,如果僅更改/home/user/.winff/preset.xml就是單純的更改其user的winff preset
cp /usr/share/winff/presets-libavcodec52-v5.xml ~/.winff/preset.xml
PS.剛剛發現presets-libavcodec52-v5.xml的psp格式中的widescreen只使用480x272,但是bitrate使用1.25k,相當的奢侈,故可以直接改成720x480而birtate可以在開啟winff的時候依照轉換的檔案指定大小,反正現在的psp可以接受720x480的檔案了。
打開presets.xml尋找psp widescreen可以找到以下的東西,解析度改成720x480,-b(bitrate) 則依個人喜好更改,一般轉換普通的卡通可以使用384~512就很足夠了,但是電影真的就如他所設定的1.25k會比較好。
-f mp4 -r 29.97 -vcodec libx264 -s 720x480 -aspect 16:9 -b 1250kb -maxrate 4M -bufsize 4M -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method umh -subq 6 -trellis 1 -refs 2 -bf 1 -coder 1 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1250k -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 25 -acodec libfaac -ab 128kb -ar 48000 -ac 2
參考資源:
[ubuntu] FFmpeg-extra / libfaac support
winff wiki of preset and presetinstall
沒有留言:
張貼留言