MplayerEncoder

Using Mencoder Converting Video for Nokia Tablet

Mencoder is part of the MPlayer package

Example command lines:

$ mencoder dvd:// -dvd-device /dev/hdd -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -vf scale=400:240 -ffourcc DIVX -ofps 25 -o my_video.avi

Just the first 30 seconds

$ mencoder dvd:// -dvd-device /dev/hdd -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -vf scale=400:240 -ffourcc DIVX -ofps 25 -o my_video.avi -endpos 30

Adjust the volume

$ mencoder dvd:// -dvd-device /dev/hdd -oac mp3lame -lameopts vol=3 -ovc lavc -lavcopts vcodec=mpeg4 -vf scale=400:240 -ffourcc DIVX -ofps 25 -o my_video.avi

For help with an option, e.g.:

$ mencoder -vf help

Using ffmpeg to encode video for Quicktime

Starting at 30 seconds, for 60 seconds duration:

$ ffmpeg -ac 2 -i input.avi -ss 30 -t 60 output.mp4

Debian Multi Media Repository

Add the following to your /etc/apt/sources.list to include the Debian Multi-Media Repository

deb http://www.debian-multimedia.org lenny main

-- Frank Dean - 13 Nov 2009