Tim\'s picture      Blogging Ottinger (tim)

2007-January-11

GP2X Users, FFMPEG is your Friend!

Filed under: Linux, OldTimeRadio, Angst, Fun

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.

Comments »

The URI to TrackBack this entry is: http://tottinge.blogsome.com/2007/01/11/gp2x-users-ffmpeg-is-your-friend/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome | Theme designs available here