GP2X Users, FFMPEG is your Friend!
I spent too much time angry about how a lot of my old B movies don’t play on the gp2x. I knew it was format incompatibilities, but I didn’t know why. Last night I discovered there were lots of reasons, and I learned them trial-and-error. It took a fair amount of google searching and manpage reading for a leisure activity, but I have my old movies playing.
For me the secret was FFMPEG. I get pretty good results for the gamepark holding’s media player if I do it like this:
ffmpeg -i $inputfile -s 320x240 -vcodec mpeg4 -f avi -vtag xvid $outputfile
I understand some of it, and the rest was lost in my broken slumber, but it seems to do a good job. Of course, I am working in Linux (Ubuntu Edgy Eft) and installed it with apt-get. Instead of doing a copy, I use /path/of/sd/card/$INPUTFILE.avi as my output filename and it puts the video right were it belongs. I may be doing some stupid or slow things here, but it is working so far. I hope that’s helpful.
Now I have to figure out why so many OTR mp3 files play at half-speed.
By the way, I’ve quit using ffmpeg in favor of mencoder. It seems to work better, more often. I had a number of files not make it through ffmpeg.


