Install ffmpeg, libfaac RPMs
VOB to MP4
$ ffmpeg -y -i VTS_21_2.VOB -s 320×240 -vcodec mpeg4 -b 576k -acodec libfaac -ac 2 -ar 44100 -ab 220k -f psp Plumping1.mp4
MPG to XVID
$ ffmpeg -y -i cnnx.mpg -title “cnn” -timestamp “2005-04-08 03:12:36” -bitexact 1 -vcodec libxvid -s 320×240 -r 29.97 -b 1500 -acodec libfaac -ac 2 -ar 24000 -ab 65535 -f psp video.mp4
VOB to 3GP
ffmpeg -i VTS_21_1.VOB -s 176×144 -ar 8000 -ac 2 -acodec libfaac -ab 12.2k plumping2.3gp
MP4 to FLV
$ mencoder mov.mp4 -ofps 15 -o hostel2.flv -of lavf -oac mp3lame -lameopts abr:br=64 -srate 22050 -ovc lavc -lavcopts vcodec=flv:keyint=50:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale 320:240
You can merge VOB files using the cat f1 f2 > f3 command.