Page 1 of 1

CLI creating "unplayable on ipod", GUI is fine

Posted: Sat Jun 30, 2007 7:26 pm
by robdew
I tried to translate the GUI Handbrake settings for ipod that I know work just fine.

These are the settings in the GUI version that work fine.


This is my equivalent cmd line:

Code: Select all

screen -d -m /home/robd/video/HandbrakeCLI -i $videoTSdir -o /home/robd/video/$movieName$i.ipod.mp4\
     -t $i -2 -B 160 -R 48 -E AAC -e x264b30 -f MP4 -m -b 1450 -x\ 
Is there something I am missing? Files encoded from dvd via the GUI setting above work just fine. The cmd line versions says "cannot copy to ipod because it's not playable"

I am doing the CLI encoding on an ubuntu box, but I've never had problems before with encoding via the CLI.

Posted: Sat Jun 30, 2007 8:06 pm
by jbrjake
The iPod can only play video that's been scaled down to a width of 640....

There's no need to specify -f MP4 if you already have .mp4 at the end of the filename. And AAC is the default audio encoder for .mp4, so there's no need to specify -E AAC either.

Posted: Sat Jun 30, 2007 9:55 pm
by robdew
Thanks for the quick reply.

Is there a way to specify the max width and tell the encoder to simply keep the aspect ratio so it will figure out the height on its own? Or do I have explicitly define both?

I looked over the options and it looks like the need to be explicit.

Posted: Sat Jun 30, 2007 10:02 pm
by jbrjake
If you specify a width ( -w 640 ) but not a height, it will use a height that keeps the aspect ratio.