This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dslab:distributedipod [2010/12/27 19:50] – hps1 | dslab:distributedipod [2010/12/27 19:56] (current) – wedge | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This is a page for a new project I'm thinking about. I want to use the video wall computers to encode video files into ipod touch compatible video files. This would make the process of batch converting many videos much faster. I'm going to throw a bunch of resources/ | ||
+ | ====== Getting mp4ize ====== | ||
+ | |||
+ | * mp4ize url: http:// | ||
+ | * mp4ize script: (can't upload this for some reason, will try again later) | ||
+ | |||
+ | Add apt source: | ||
+ | deb http:// | ||
+ | |||
+ | sudo aptitude update | ||
+ | sudo aptitude reinstall libavcodec52 | ||
+ | |||
+ | |||
+ | ====== Compiling ffmpeg ====== | ||
+ | |||
+ | <wrap class=' | ||
+ | |||
+ | < | ||
+ | sudo apt-get install build-essential devscripts ubuntu-dev-tools dh-make module-assistant cdbs debconf-utils fakeroot | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | sudo apt-get install libopencore-amrnb-dev libopencore-amrwb-dev liba52-dev libdts-dev libgsm1-dev libvorbis-dev libxvidcore4 libxvidcore-dev libdc1394-22-dev libfaac-dev libmp3lame-dev libx264-dev libfaad-dev libtheora-dev libsdl1.2-dev | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | mkdir ffmpeg-src | ||
+ | cd ffmpeg-src | ||
+ | sudo apt-get source ffmpeg | ||
+ | |||
+ | cd ffmpeg-0.5.1 | ||
+ | sudo apt-get install build-dep ffmpeg | ||
+ | |||
+ | sudo ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab | ||
+ | |||
+ | |||
+ | make | ||
+ | |||
+ | sudo checkinstall | ||
+ | </ | ||
+ | |||
+ | |||
+ | Script parameters | ||
+ | |||
+ | Ipod touch resolution: | ||
+ | width: 960px | ||
+ | height: 640px | ||
+ | |||
+ | video bitrate: not entirely sure, need to experiment with this. I'm going to start with around 700, maybe try 768. | ||
+ | audio bitrate: seems to max out at 160kbs? the default in the mp4ize script is 128k. I think I'll leave it at that for now. | ||
+ | |||
+ | ignore all the stuff above about mp4ize, this is an easier way to do it I think: | ||
+ | alternatively I could modify mp4ize to use this command: | ||
+ | |||
+ | ffmpeg command: | ||
+ | ffmpeg -i INPUT.avi -acodec libfaac -ab 128k -s 960x640 -vcodec libx264 -vpre / | ||
+ | |||
+ | ======Existing Projects====== | ||
+ | If you haven' | ||
+ | |||
+ | * [[http:// | ||
+ | * http:// |