LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-06-2013, 05:26 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Merging two video DVDs


Anybody have experience with this? I received some used movie DVDs. Some of them are two-disk sets. I had no problem copying to ISO images and playing in xbmc, but not having to interrupt the movie to play "disk 2" would be nicer.

I presume after extracting the contents of each ISO image I rename the vob files of the second ISO. Then what?
 
Old 08-06-2013, 05:57 PM   #2
Raveriux
Member
 
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 75

Rep: Reputation: Disabled
Quote:
Originally Posted by Woodsman View Post
Anybody have experience with this? I received some used movie DVDs. Some of them are two-disk sets. I had no problem copying to ISO images and playing in xbmc, but not having to interrupt the movie to play "disk 2" would be nicer.

I presume after extracting the contents of each ISO image I rename the vob files of the second ISO. Then what?
its a toll called VOBMerge, but it's for windows only. Maybe runs good in wine.http://www.evilmaster.net/?page=tools
 
Old 08-06-2013, 07:56 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Hmm. Even if I wanted to use Windows, and I don't , looks like that program converts vob files into one file. I want to merge the vob files from a two disk set into a single disk, not single file.
 
Old 08-07-2013, 12:57 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,642

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Authoring a new DVD : dvdauthor → 'Q DVD Author', 'DVD Styler', etc.
http://dvdauthor.sourceforge.net/

http://en.wikipedia.org/wiki/List_of...g_applications
< http://en.wikipedia.org/wiki/DVD_authoring


-

Last edited by knudfl; 08-07-2013 at 01:25 AM.
 
Old 08-07-2013, 11:35 AM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
I don't think dvdauthor is the key. The key is merging the two separate collections of vob files such that when a person creates the new single disk DVD the vob files work seamlessly. I tried renaming the vob files from the second disk (sequentially renumbered after the vob of the first disk) and then copying the renamed files to the first disks file tree. Didn't work. I suspect something is needed to create new IFO files.
 
Old 08-07-2013, 04:04 PM   #6
cmyster
Member
 
Registered: Oct 2004
Location: Israel
Distribution: Slackware64-current
Posts: 37

Rep: Reputation: 0
From my experience, an authoring program is the best way to do it (I dual boot so I have windows stuff for it). No matter how the original is set or split, eventually the program will read all the media files, you set it up however you want it to be, and you export the final result into something. That something may be a final DVD project with any number of vobs (depends on how you set it) or you can export it to a media file such as avi.
I suggest that you research a little about authoring DVDs in Linux to find the perfect tool for the job.
 
Old 08-07-2013, 04:45 PM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
If merging a dual disk set was so straightforward likely I'd find numberous tutorials on the web. I don't.

I'm not interesting in converting vob files to avi or any other format. I want to merge a dual disk set into one disk.
 
Old 08-07-2013, 07:18 PM   #8
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 257

Rep: Reputation: 58
I haven't tried to do that particular thing, but I'd think that a combination of vobcopy and mencoder would work.
I'm sure some of this will tell you what you already know, but IMHO it's better to give too much information than too little, so...

Also, most of my experience with it is on CentOS, which probably uses slightly older versions of everything.


Sometimes, vobcopy requires the disk be mounted, so first, mount the first DVD somewhere, /mnt is good. (Othertimes, vobcopy will just automatically find it, whether it's mounted or not, but this way, you're sure)

Code:
vobcopy -l -i /mnt
The -l is for large, otherwise, vobcopy won't make a file over 2 gigs.
This should create a file MY_VIDEO.VOB or something similar. Then, do the same with the second disk, so you have something like
myvideo.vob and myvideo1.vob.

Now you should be able to combine them with mencoder. At its simplest
Code:
mencoder -o newfile.vob -oac copy -ovc copy myvideo.vob myvideo1.vob
In other examples, I've seen people add -noodml to the command to avoid writing OpenDML index, but (in combining avi files), I've left it out without problems. Sometimes, you'll get an error, and it will suggest using -oac pcm instead of copy. (Or run mencoder -oac help to see available audio codecs to use).

Once this is done, in theory, you should have newfile.vob which will be what you want. Assuming you need to put it back onto a DVD it would be mkisofs -o myvideo.iso myvideo.vob and then burn it to disk with growisofs -Z -dvd-compat -Z /dev/scd0=myvideo.iso

Again, I've never done this exact thing, but it seems as if it should work.
 
Old 08-07-2013, 07:35 PM   #9
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 249

Rep: Reputation: 26
I did the following to create mp4

dvdbackup -i /dev/sr0 -M -o .
cat VTS_01_0.VOB VTS_01_1.VOB VTS_01_2.VOB VTS_01_3.VOB > movie.vob
ffmpeg -i movie.vob -strict -2 -y -acodec aac -vcodec libx264 -s svga -crf 24 -threads 0 movie.mp4

so if the above cat was for dvd 1, do the same for dvd 2 then rename dvd 2 vobs and cat those as in
cat VTS_01_0.VOB VTS_01_1.VOB VTS_02_0.VOB VTS_02_1.VOB > movie.vob

then do what scottro11 says to create dvd
mkisofs -o movie.iso movie.vob and then burn it to disk with growisofs -Z -dvd-compat -Z /dev/sr0=movie.iso

not sure about how large this would all be and how to handle it
 
Old 08-07-2013, 08:13 PM   #10
croxen
Member
 
Registered: May 2002
Posts: 80

Rep: Reputation: 22
A simple tool like Devede has added settings options which will allow you to

1) build your new single-disk .iso by simply repacking the existing .vob files (rather than the usual transcoding of them to another format with quality loss); and

2) Prepare an iso file in which title 2 (formerly .vob no. 2) will start automatically when title 1 (formerly .vob no. 1) has finished, rather than going to a menu or some such.

This appears to be what you want to do. The iso file which you prepare by repacking the vob files will naturally be a bit bigger than the sum total size of the two vobs, which may make the iso too big to fit on a single DVD. The oversize iso file will still play properly in vlc (or XBMC), of course.
 
Old 08-07-2013, 09:17 PM   #11
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
I did the following to create mp4
I don't want to create an mp4 or avi, I want to merge a two disk set into one disk.

Quote:
A simple tool like Devede has added settings options which will allow you to
I'm not sure but I'll look.

Quote:
Again, I've never done this exact thing, but it seems as if it should work.
Hmm. I don't know either.

Here is a general picture:

Disk 1:

VIDEO_TS/VIDEO_TS.BUP
VIDEO_TS/VIDEO_TS.IFO
VIDEO_TS/VIDEO_TS.VOB
VIDEO_TS/VTS_01_0.BUP
VIDEO_TS/VTS_01_0.IFO
VIDEO_TS/VTS_01_0.VOB
VIDEO_TS/VTS_01_1.VOB
VIDEO_TS/VTS_01_2.VOB
VIDEO_TS/VTS_01_3.VOB
VIDEO_TS/VTS_01_4.VOB

Disk 2:

VIDEO_TS/VIDEO_TS.BUP
VIDEO_TS/VIDEO_TS.IFO
VIDEO_TS/VIDEO_TS.VOB
VIDEO_TS/VTS_01_0.BUP
VIDEO_TS/VTS_01_0.IFO
VIDEO_TS/VTS_01_0.VOB
VIDEO_TS/VTS_01_1.VOB
VIDEO_TS/VTS_01_2.VOB
VIDEO_TS/VTS_01_3.VOB
VIDEO_TS/VTS_01_4.VOB

To make this work, the VOB files in disk 2 need to be renumbered, starting with something like VTS_01_5.VOB, or perhaps the files from the second disk need to be renumbered as VTS_02_0.VOB, etc. I really don't know and I need to look at other disks to see how they are numbered.

Yet that leave the following files from disk 2 and those files can't be renamed:

VIDEO_TS/VIDEO_TS.BUP
VIDEO_TS/VIDEO_TS.IFO
VIDEO_TS/VIDEO_TS.VOB

Perhaps once the vob files are pulled from each disk devede might be able to "stitch" everything together. I don't know.
 
Old 08-07-2013, 10:36 PM   #12
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 257

Rep: Reputation: 58
What I've found is that vobcopy will usually take the main title from a DVD. This _might_ give you all you needed, depending upon the DVD, even if it has a layout like the one you show.

I would at least try running vobcopy and seeing if the vob file you get has all that you need.

Another, longer way around would be to do what you said you don't want to do, and stick it all into mkv containers. The syntax would be

makemkvcon mkv disc:0 all mymkvs

where mykmvs is a directory that you've created. Then, all the titles from the disk will be in there as title00.mkv title001.mkv and so on.
You can then run mkvmerge -o new.mkv title00.mkv + title001.mkv

which will give you all the files on the disk, though you won't be able to naviagate a menu, you'd only be able to play it. Then you could do the same for the second disk, calling the output file new1.mkv then merge them with mkvmerge -o newest.mkv new.mkv + new1.mkv, and then run mkisofs and growisofs as previously described.

I know you don't want to convert, but though that would take a bit of work, putting something in an mkv container is pretty quick, as is merging it. Still, IMHO, it's worth trying the vobcopy first to see if the resulting vob has all that you need.

For what it's worth, I have a page on dealing with multimedia. It's pretty basic, and doesn't cover your specific situation, but one never knows, it might give you other ideas.


http://home.roadrunner.com/~computertaijutsu/dvds.html

Last edited by scottro11; 08-07-2013 at 10:38 PM.
 
  


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
How to synchronize audio and video for merging? colucix Linux - Software 6 06-01-2009 10:01 AM
Playing audio and video cd or dvds in redhat 5.0 NagarajuGosu Linux - Newbie 1 07-02-2008 11:12 PM
Audio Video sync off while playing DVDs JCDenton513 Arch 3 09-05-2006 03:03 PM
Burning video dvds Inexactitude Linux - Software 3 05-21-2004 10:37 PM
Playing Video DVDs from HDD p4t0z3u Linux - Software 1 08-02-2003 06:22 PM


All times are GMT -5. The time now is 03:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration