On Thu, Feb 4, 2010 at 12:32 PM, Andrew Daviel <advax at triumf.ca> wrote: > > My daughter recently got an iPod Nano, which is supposed to be able to play > movies. Unlike my Nokia N810, the only format it seems to play is the one > generated by its own camera. > > Does anyone have mencoder parameters to transcode movies for the Nano ? > From playing back one of the captures, the format seems to be > Audio: FAAD 44100 Hz, 2 ch, s16le > Video: FFmpeg H.264 640x480 24bpp 30.083 fps > but I'm not sure how to turn that into the right parameters. > If I am not mistaken it will take x264, ,peg4, xvid, 320x240, 480x270, 480x320 and 640x480, bitrate 256, 512, 768, 1000, 1500, 2000 , frame rate 8, 10, 12, 15, 23.976, 24, 25, 29.97 and 30fps, aac 32-320, , 48, 44.1. 32, 24, 22.05, 11.025, 8Khz, 1 or 2 channel. At least this is what my reference tells me. You may have to specify certain profile parameters, though, which is what I found a lot for these devices. Here is an example of a command line which should work: -mc 0 -af volnorm -vf scale=320:-2,expand=:240:::,crop=320:240,harddup -srate 44100 -ofps 25 -oac faac -faacopts br=160:mpeg=4:object=2 -ovc x264 -ffourcc H264 -x264encopts bitrate=512:level_idc=13:nocabac:no8x8dct:ref=2:me=umh:bframes=0:subq=6:trellis=0 If you need more details for a specific encode, let me know and I'll give you the command line... /re