Thursday, March 30, 2006

The 409 � Convert Google Video FLV’s into AVI, MPG, etc…in LINUX

Recently I've been browsing for some 80' goodies and I must say they have a lot of them (here's my favourite). Nevertheless, watching the videos inside the browser in my case sucks because of lack of sunc between video and audio. Here's an nice link how to convert streaming flash used on into something more usable:

ffmpeg -i video.flv -ab 56 -ar 22050 -b 500 -s 320x240 test.mpg

This results in MPEG file and if you want to convert it into AVI (like me, to be able to display it on my GP2X), you can use following:

mencoder file.mpg -ovc lavc -lavcopts vcodec=msmpeg4:vpass=1 -oac copy -o movie.avi
mencoder file.mpg -ovc lavc -lavcopts vcodec=msmpeg4:vpass=2 -oac copy -o movie.avi

This re-encodes MPEG into DivX 3 and GP2X can display it!