Page Actions
Wiki Actions
User Actions
Submit This Story

ffmpeg为 老款 ipod 转码

新的都支持h264了,网上一大堆信息,我那个老款的只能这样转…

toipod.sh
#!/bin/sh
ffmpeg -i "$1" -f mp4 -vcodec libxvid -maxrate 720k -b 720k -qmin 3 -qmax 5 -bufsize 10240 -g 300 -acodec libfaac -ar 44100 -ab 192k -s 320x240 -aspect 4:3 "ipod.$1.mp4"

然而转rmvb一直是老大难问题,ffmpeg 对付rmvb似乎不能一步搞定,mencoder更适合那些讨厌的商业编码…

mtoipod.sh
#!/bin/sh
mencoder "$1" -vf scale=320:240 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=720000 -srate 44100 -af resample=44100:0:0 -oac mp3lame -o "iPod.$1.mp4"

实际效果也不怎么样,还在寻找合适的参数中…尽量少下rmvb的东西…

LINKBACK~~

Discussion

Nodin, 2012/01/06 11:14

Going to put this atcrile to good use now.

Enter your comment
 
 
blog/2009/9/ffmpeg为_老款_ipod_转码.txt · Last modified: 2009/09/01 00:00 (external edit)     Back to top
Recent changes RSS feed Creative Commons License Powered by PHP Driven by DokuWiki