LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2010, 03:01 PM   #1
chutsu
Member
 
Registered: Nov 2003
Location: UK
Distribution: Debian Lenny
Posts: 255

Rep: Reputation: 31
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

Last edited by chutsu; 03-27-2010 at 03:03 PM.
 
Old 03-27-2010, 05:56 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i get good results with these parameters;
http://www.linuxquestions.org/questi...4/#post3522600
 
Old 03-28-2010, 04:59 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert multiple VOB files to one AVI mrant0 Linux - Software 2 05-26-2007 12:05 PM
convert avi, wmv to .vob madmax1143 Linux - Software 4 07-16-2006 01:29 AM
transcode vob to avi - audio sync problem Steve Riley Linux - General 5 07-05-2006 08:28 AM
converting .vob to avi on linux cranium2004 Linux - Software 3 02-18-2006 05:58 AM
is there any way convert a .vob file to a .avi? jackstoage Linux - Software 8 10-05-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration