Preparing Videos for Nokia E63 using Linux/Ubuntu

To watch videos with Nokia E63 one wishes to downsample video and sound quality. In Ubuntu Lucid (10.04 LTS) you can do it with Handbrake.
Following settings downsample only the video, not audio:


HandBrakeCLI -i $1 -o $2 -q 30.0 -e x264 -b 700 -a 1 -E faac -B 160 -6 dpl2 \
-R Auto -D 0.0 -f mp4 -I -X 320 -m \
-x level=30:bframes=0:weightp=0:cabac=0:ref=1:vbv-maxrate=768:vbv-bufsize=2000:analyse=all:me=umh:no-fast-pskip=1:subme=6:8x8dct=0:trellis=0

The resulting video is viewable with the native video player of the phone.


Updated 24-JUL-2011 / Matti Lattu