5800용 인코딩을 위해서 우분투 9.10에서 추가해줘야 하는 일.
By SeukWon Kang
HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoding in FFmpeg - Ubuntu Forums
sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list –output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get -q update && sudo apt-get –yes -q –allow-unauthenticated install medibuntu-keyring && sudo apt-get -q update
sudo apt-get install ffmpeg libavcodec-extra-52
요는
faac 지원이 법적인 문제로 9.10의 ffmpeg에서 빠졌기때문에 추가 레포지토리를 등록해서 설치해야 한다는거.
변환 스크립트는
mencoder -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:acodec=libfaac:abitrate=128:vcodec=mpeg4:keyint=25 -af lavcresample=44100 -vf harddup,scale=640:360 -mc 0 -noskip “$FILE” -o “${FILE}_5800.mp4”
과 같이 사용하면 된다는거.
스크립트 출처는
http://ubuntu.or.kr/viewtopic.php?f=9&t=9685