How to convert the VOBS of VIDEO_TS to a single AVI ?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The simplest approach would be to use transcoding software that uses the 'command line' stuff as a backend. Two that work are:
Handbrake will let you select the videos by title and then take care of the partitioned video on the DVD. It is focused on the MP4 container as the AVI one is a bit long in the tooth. You can just point Handbrake to the ISO.
Avidemux will also concatenate the VOB files if you open one that is part of a series. With it, you can select the container and codecs for audio and video streams to transcode to. You'll need to mount the ISO to be able to open the VOB file.
The multiple VOB's are to keep file sizes down - a reminder of just how old that technology is!
sh /tmp/tee VTS_01_2
MEncoder 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
-x264encopts is not an MEncoder option
Exiting... (error parsing command line)
MEncoder 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
-x264encopts is not an MEncoder option
Exiting... (error parsing command line)
Why don't you try to walk before you run. Something a little simpler.
Since the dvd vobs are on the hard drive instead of the dvd, you'll have to specify the path where the dvd data is, lets say ~/movie just for this example. I'll also assume that title 1 is the title that you want. You've got 5 titles on that dvd.
That will make you a movie with copied audio and mpeg video in an .avi container. This is a simple form.
If you want to crop black lines off of the picture then look at -vf crop= If your movie has a different aspect ratio than 1.78:1 then change that. If you want to encode audio instead of copy then do that. etc.
There's nothing hard about using mencoder or ffmpeg once you've learned a little sytax and have a little experience.
That's audio copy, x264 video at 2500 kbs. If you want to do any cropping then add it with -vf crop=
thank you so much.
The problem is that working on dvd://1 is rather slow. It would be simpler to copy whole DVD on disk, eject, and then work on the folder VIDEO_TS which is located onto the hdd...
The problem is that working on dvd://1 is rather slow. It would be simpler to copy whole DVD on disk, eject, and then work on the folder VIDEO_TS which is located onto the hdd...
That's not been my experience. You'll have less problems, and only have to do it once with something like
Otherwise you'll sometimes get the wrong language, if french for example is the default on the DVD,
The chapters can be mixed up, part of DVD copy protection, etc.
This is how I rip my dvds that I owned and it works for me. The example below is ripping from a dvd drive. If you want to rip from a folder with a dvd-like structure i.e VOB files
replace dvd:// with -dvd-device and the path to your folder.
First, determine which titles you want to rip using lsdvd or VLC. You can use VLC to see the current title playing. Note: VLC can also rip titles too.
Next, Rip the title from the dvd with mencoder or mplayer. An example with title 1.
mencoder -o movie.vob -ovc copy -oac copy dvd://1
Or
mplayer -dumpfile movie.vob -dumpstream dvd://1
Note: Sometimes mencoder/mplayer will rip an audio stream language you do not want. For example, I once rip a dvd and the audio was in french. To rip the audio in english in this example add one of these options to the command above.
-aid 128 or -alang en
To determine the actual ID of the audio to rip, type
mplayer -identify -vo dummy -ao dummy dvd://1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.