Content

Ipad Tricks

Transcoding for the iPad

Keywords: h264, transcoding, ipad, vlc, free, video

I recently got myself an iPad, and had some trouble transcoding videos to it for high resolutions. After googling a lot, I only found commercial solutions, and I had to test out quite a number of different settings to come up with the following.

First, install VLC. VLC is mostly used to play videos, but it can also transcode, and that is what we will be doing.

Open up a text editor (e.g., notepad), and create a file called "ipad-transcode.bat" with the following content:

"C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy %1 ^
--sout=#transcode{vcodec=h264,^
venc=x264{profile=baseline,level=3.0,nocabac,nobframes,ref=1},^
deinterlace,vb=1560,scale=1,^
aspect=4:3,padd=true,vfilter=canvas{width=1024,height=768},^
acodec=mp4a,ab=128,channels=2}^
:duplicate{dst=std{access=file,mux=mp4,dst=%1.mp4}} ^
vlc://quit

You can now use this bat script to transcode videos for the iPad. Try

ipad-transcode.bat my_movie.avi

and you should end up with a new file called my_movie.avi.mp4 in the same directory. This file should play nicely on your iPad.

Comments are welcome: Andre.Brodtkorb@ifi.uio.no

Log In Page last modified on May 15, 2010, at 11:06 AM