Category Archives: Android

Railscasts for Android

I realy like the railscasts screencast by Ryan Bates, but the video does not work on my new htc magic. So I encoded these with another codec suitable for viewing on an android phone. This feed will automatically updated if there are new episodes.

The new link to the rss feed:

Original railscasts site

Please report any problems about the video here.

The script to convert the screencast can be downloaded here.

The most interesting part is the call to mencoder to encode the video

mencoder -o dest.mp4 -of lavf -lavfopts format=mp4 -ss 1 -sws 2 -vf scale=480:320 -ovc x264 -x264encopts crf=30.0:nocabac:level_idc=30:global_header:threads=2 -ofps 30000/1001 -oac faac -faacopts mpeg=4:object=2:br=128:raw -channels 2 -srate 44100 -af volnorm