LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VOB -> AVI - with mencoder, pixlated... what should I do? (https://www.linuxquestions.org/questions/linux-software-2/vob-avi-with-mencoder-pixlated-what-should-i-do-798295/)

chutsu 03-27-2010 03:01 PM

VOB -> AVI - with mencoder, pixlated... what should I do?
 
Hi,

I tried using mencoder to convert a VOB file to AVI, however the resultant video is quiet pixlated. Here is my commandline options:


Code:

mencoder $1 \
    -o $2 \
    -ovc lavc \
    -lavcopts vcodec=mpeg4\
    :mbd=2\
    :mv0\
    :trell\
    :v4mv\
    :cbp\
    :last_pred=3\
    :predia=2\
    :dia=2\
    :vmax_b_frames=2\
    :vb_strategy=1\
    :precmp=2\
    :cmp=2\
    :subcmp=2\
    :preme=2\
    :qns=2\
    -oac copy


What am I doing wrong?
Thanks
Chris

schneidz 03-27-2010 05:56 PM

i get good results with these parameters;
http://www.linuxquestions.org/questi...4/#post3522600

H_TeXMeX_H 03-28-2010 04:59 AM

I prefer ffmpeg for this, and I would use:

Code:

ffmpeg -i input.vob -vcodec libxvid -qscale 5 -s 640x272 -r 23.976 -aspect 40:17 -g 240 -bf 2 -acodec libmp3lame -ab 160k -ar 48000 -async 48000 -ac 2 -pass 1 -an -f rawvideo -y /dev/null
ffmpeg -i input.vob -vcodec libxvid -qscale 5 -s 640x272 -r 23.976 -aspect 40:17 -g 240 -bf 2 -acodec libmp3lame -ab 160k -ar 48000 -async 48000 -ac 2 -pass 2 -f avi output.avi

Changing the parameters as needed. The GOP '-g' should be 10 x FPS, a lower qscale gives better quality, but higher bitrate and size, it's rare to ever use 3 or less as this may not play on most standalone players because of high bitrate, 5 is a good number.


All times are GMT -5. The time now is 06:09 AM.