Madsdyd’s Weblog

June 18, 2009

Encoding for a no-name mp4 player

Filed under: Uncategorized — madsdyd @ 7:51 pm

My kid just got a used AtiPix mp4 player 1GB. It only supports playback of “avi” videos in 320×240. Took a lot of fiddling around, running the windows program in wine, and help from Dark_Shikari in #ffmpeg on irc.freenode.org to figure this ffmpeg command line out:

ffmpeg -i input.mpeg -vcodec libxvid -s 320x240 -b 528000 -aspect 4:3 -r 20 -vtag XVID -acodec mp2 -ab 128000 output.avi

The key would seem to be -vcodec libxvid AND -vtag XVID.

Its a sucky player, but whatever it takes to make the kid happy…

Blog at WordPress.com.