I'm using MEncoder 1.0rc1-4.1.2 to encode
http://www.jhepple.com/support/SampleMovies/AVI_DivX.avi just as a test to see if I can view it on my 1st generation nano. I read through the mpegplayer wiki
http://www.rockbox.org/twiki/bin/view/Main/PluginMpegplayer and have been trying things like:
mencoder AVI_DivX.avi -of mpeg -oac lavc -lavcopts acodec=mp2:abitrate=96:vmax_b_frames=16:vb_strategy=2 -af resample=44100:0:0 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=96 -vf scale=176:132,harddup -ofps 24 -o testout.mpg
The resulting testout.mpg plays fine using mplayer on my Debian system. If I copy it to my nano and play it using mpegplayer, then the audio plays great throughout the expected duration of the file, and the video plays great for a short fraction of a second, but then it just displays one frame as a still for the rest of it. It fits perfectly in the screen and the image is of great quality, just unfortunately the display seems to stop somehow.
I just installed Rockbox a couple days ago and am finding it to be totally awesome. I just wanna see if I can get the video to work. In reality I understand very little about video and some of those numbers in the above mencoder line I pulled out of the air (but most of it is from the wiki), so it's possible that I'm just encoding it in a way that isn't appropriate for mpegplayer. For comparison here's the original suggested line from the wiki, where I'm replacing the angled brackets with square brackets to avoid unintended parsing by the forum software:
mencoder [input] -of mpeg -oac lavc -lavcopts acodec=mp2:abitrate=96:vmax_b_frames=16:vb_strategy=2 -af resample=44100:0:0 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=[bitrate] -vf scale=[width]:[height],harddup -ofps 25 -o [filename].mpg
Any suggestions would be appreciated.