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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-04-2010, 03:26 AM
|
#1
|
|
Member
Registered: Mar 2007
Distribution: Ubuntu 12.04, Mint 12 LXDE
Posts: 384
Rep:
|
Converting VOB to XVID (using ffmpeg)?
I have some VOB files taken from a DVD and I want to convert them to XVID or DIVX files. There is an existing thread on LinuxQuestions asking this question, but I have tried its suggestion and manage to convert a very poor quality copy:
http://www.linuxquestions.org/questi...ffmpeg-508303/
I have tried the thread's suggestions on bitrate options, but still no change. Could anyone suggest a suitable command line to use with ffmpeg that would give comparable quality results to the original VOB file? I know I am inviting a rebuke of "RTFM", but the man pages of ffmpeg are rather complex to a beginner! Especially when you're only looking for one particular thing.
If anyone has any experience in video format conversion (perhaps ffmpeg is not the best utility for this purpose?), and could give advice on a suitable conversion command with higher quality than the default, I would be grateful.
I also cannot specify xvid codec as it appears not available. This site https://wiki.ubuntu.com/ffmpeg explains that this may be for legal reasons, and advocates building ffmpeg from source. Is there an easier way to enable/download the appropriate codec, once ffmpeg is installed?
Thank you for any advice you can give.
Steve
|
|
|
|
12-04-2010, 04:08 AM
|
#2
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,594
|
I have written a guide on how to do it and preserve quality:
http://draconishinobi.50webs.com/linux/encoding.html
Does it have to play on a Divx DVD player ?
I recently wrote a script to do this automatically, but it's a bit experimental ATM, if you want I can post it.
EDIT:
I have uploaded the script to the site, it is on the page linked above.
Last edited by H_TeXMeX_H; 12-04-2010 at 10:44 AM.
|
|
|
|
12-04-2010, 11:05 AM
|
#3
|
|
Member
Registered: Mar 2007
Distribution: Ubuntu 12.04, Mint 12 LXDE
Posts: 384
Original Poster
Rep:
|
Ah, thank you. That looks very comprehensive; I shall give it a go and post back if I have any queries or difficulties. And yes, it will be playing back on a DIVX/XVID DVD player: a Philips model with a USB port on the front, so I can play stuff back direct from a flash drive and not have to write to DVD/CD first.
|
|
|
|
12-04-2010, 11:55 AM
|
#4
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,594
|
Ok, I would check the manual and see if it says up to what bitrate it supports. In theory, if it is certified, the average bitrate can be up to 4000 kbps with peak of 10000. In reality, none of my players can handle that. Mine can handle maybe up to 1500 or 1600. Also see maximum resolution, because there are often restrictions. Really since you have a USB interface you can test things much more easily than I can.
|
|
|
|
12-10-2010, 04:09 AM
|
#5
|
|
Member
Registered: Mar 2007
Distribution: Ubuntu 12.04, Mint 12 LXDE
Posts: 384
Original Poster
Rep:
|
After having a bit of a fiddle and having trouble accessing the right libraries like libxvid and libmp3lame, I have installed an application called Avidemux, which provides a graphic interface and can convert lots of different formats from one thing to another. DivX/Xvid is one of the formats it can cope with, so with any luck, problem solved. Having run up and down the various settings available, the only thing I need to do now is pick a suitable resolution, as some of the videos I have converted so far do not play on the USB DVD player because that particular resolution is not supported.
Avidemux appears to do lots of different things with regard to editing and stuff, so hopefully I can treat it as a complete video package for future use.
Thank you for your assistance; I shall keep the link to your guide for future use.
Steve
|
|
|
|
12-10-2010, 09:54 AM
|
#6
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,594
|
I recommend scaling to 640x???, this seems to work best and keeps the bitrate in bounds. I also recommend VBR, because it decreases the size of the video. However, I'm not sure if avidemux has this option.
With my script run:
Code:
xenc input.vob 5 640
and it should produce good output. In fact, I recommend comparing this to constant bitrate from avidemux.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:34 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|