View previous topic :: View next topic |
Author |
Message |
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Sat Oct 30, 2004 6:01 am Post subject: DVD9 > DVD5 guide |
|
|
This guide lets you rip a DVD (all titles or just the main movie) and burn it on a DVD-R (4.7) that will play on your standalone player.
Tools needed: DVD:Rip / dvdauthor / transcode / mjpegtools / k3b
Optional: Kavi2svcd /QDVDAuthor or Klvemkdvd.
1) Rip the DVD title(s) to harddisk with DVD:RIP in a project folder. This will create VOB files of tthe chosen title in that folder containing the movie and the soundtrack you picked.
2) Most of the time you will get around 5 or 6 numbered VOB's from a ripped title in your project folder.
Concatenate (merge)those VOB files into one by running in a console:
cat *.vob > movie.vob
3) You now have 1 VOB file. We need to demutliplex it and get the M2V and AC3 files out of there. From the folder, again using the console run:
tcextract -i movie.vob -t vob -x mpeg2 > movie.m2v
tcextract -i movie.vob -a 0 -x ac3 -t vob > movie.ac3
They will run one after the other, don't worry and will produce an M2V and an AC3 file.
4) To requantize (shrink like DVDShrink on Windoze) your movie so it will fit on a single DVD-R (4.7) do as such:
tcrequant -i movie.m2v -o shrink ed.m2v -f 1.5
The 1.5 at the end is the shrink factor if you like. 1 keeps the movie the same (just a reference) and 2.0 would reduce it to 50% of its size. So 1.5 seems reasonable as it equals 75% of the original size once processed.
If you prefer you can calculate the exact factor yourself with this formula:
requant_factor = (video_size / (4700000000 - audio_size)) * 1.04
If you are including more that one audio stream or a subtitle stream, those file sizes must also be subtracted from the maximum dvd image size.
All sizes are in bits.
5) Now we need to re multiplex those 2 files into a compliant DVDauthor file:
mplex -f 8 -o final.mpg shrink ed.m2v video.ac3
Note: mplex will detect if a pulldown is necessary and do it.
6) You can now add the mpg to QDVDAuthor or Klvemkdvd authoring programs and create your DVD or use dvdauthor from the command line as such:
dvddirgen -o newdvd (create a dvd structure in a folder named newdvd)
- Populate de filesystem like so:
dvdauthor -o newdvd final.mpg
- Create DVD information (IFO) files:
dvdauthor -o newdvd -T
7)Burn the Video_TS and Audio_TS created with K3B DVD Video mode. _________________ iain |
|
Back to top |
|
|
val Apprentice
Joined: 30 Jun 2004 Posts: 234
|
Posted: Sun Nov 14, 2004 1:08 am Post subject: |
|
|
Thank you for your guide.
Can you explain a little more what each step is for?
Why do we need to concatenate the vobs? Why do we need to remove the m2v and the ac3?
Will this process make the dvd regionless? _________________ My log saw what happened to Laura Palmer. Go ahead. Ask it. |
|
Back to top |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Sun Nov 14, 2004 9:18 am Post subject: |
|
|
This was just an experiment of mine to see what I cold do,
m2v is an mpeg 2 vid stream and ac3 is dolby digital
http://www.afterdawn.com/glossary/terms/m2v.cfm
the reason they are removed is that they are there for each vob, for this to work I found a single vob was the way forward, just like in dvd:rip, so making the vobs into one single one ensures that each vid stream runs one after the other.
There are simpler ways to backup whole disks as in my tutorial
here at the bottom of the page
https://forums.gentoo.org/viewtopic.php?t=174989&highlight=
I just wanted to see what was behind these. _________________ iain |
|
Back to top |
|
|
originalbrownster n00b
Joined: 26 Aug 2003 Posts: 61 Location: Kent, UK
|
Posted: Sun Nov 14, 2004 4:45 pm Post subject: |
|
|
Hi,
Thanks for the guide, I'll give it a try.
So far I just use 'lxdvdrip' because it's easy to shrink dvd-9 to dvd-5 with it (single command) but it does just the main feature.
It would be nice to get the whole lot sometimes.
OB. |
|
Back to top |
|
|
val Apprentice
Joined: 30 Jun 2004 Posts: 234
|
Posted: Sun Nov 14, 2004 6:04 pm Post subject: |
|
|
I've been using lxdvdrip also but I have disk it's not working with right now. Maybe because the disk is corrupted. I'm also trying to remove the region encoding because it's region 2. _________________ My log saw what happened to Laura Palmer. Go ahead. Ask it. |
|
Back to top |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Mon Nov 15, 2004 9:52 am Post subject: |
|
|
the region encoding should not matter with css, as this cracks all keys, sometimes I get disks that start and then stall, the passion of christ is one of them. _________________ iain |
|
Back to top |
|
|
val Apprentice
Joined: 30 Jun 2004 Posts: 234
|
Posted: Mon Nov 15, 2004 5:41 pm Post subject: |
|
|
Well, what I mean is, will I be able to play the dvd in any stand alone player? _________________ My log saw what happened to Laura Palmer. Go ahead. Ask it. |
|
Back to top |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Mon Nov 15, 2004 6:07 pm Post subject: |
|
|
I cant see why not if the stand alone player id modified for all regions _________________ iain |
|
Back to top |
|
|
val Apprentice
Joined: 30 Jun 2004 Posts: 234
|
Posted: Mon Nov 15, 2004 6:43 pm Post subject: |
|
|
Right, but what if the player is not modified? I want to burn a dvd for a friend and I don't want to tell him that he has to modify his player to play this one dvd.
Basically what I want to know is: does this process remove the region encoding from the actual dvd disk. _________________ My log saw what happened to Laura Palmer. Go ahead. Ask it. |
|
Back to top |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Mon Nov 15, 2004 9:09 pm Post subject: |
|
|
no, but to make sure you could use the dvd shrink process I give, you can shrink and imply any encoding you want region 2 included. _________________ iain |
|
Back to top |
|
|
val Apprentice
Joined: 30 Jun 2004 Posts: 234
|
Posted: Tue Nov 23, 2004 9:55 am Post subject: |
|
|
How do you "imply an encoding"?
Anyway, this should have a warning that you need about 20G of free space to do it! _________________ My log saw what happened to Laura Palmer. Go ahead. Ask it. |
|
Back to top |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Tue Nov 23, 2004 10:09 am Post subject: |
|
|
eh 20gb, methinks you did sommit wrong dude _________________ iain |
|
Back to top |
|
|
val Apprentice
Joined: 30 Jun 2004 Posts: 234
|
Posted: Tue Nov 23, 2004 10:15 am Post subject: |
|
|
If you rip a 9Gb dvd, then concatinate all the vobs into all into another vob, it's going to be approximately another 9Gb. You would need 18Gb to hold both copies....
My file was about 6.5Gb, so I would have still needed 13Gb to follow your method.
I didn't do anything wrong. _________________ My log saw what happened to Laura Palmer. Go ahead. Ask it. |
|
Back to top |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Tue Nov 23, 2004 10:38 am Post subject: |
|
|
delete the original _________________ iain |
|
Back to top |
|
|
Fungos Bauux Tux's lil' helper
Joined: 09 Aug 2002 Posts: 98 Location: CWB
|
Posted: Tue Nov 23, 2004 7:14 pm Post subject: |
|
|
I have done a dd if=/dev/dvd of=movie.img and then: ogle movie.img
and all features are there.. menus, extras and everything.. but i think that it was luck, this dvd havent region code neither css keys... but I think that its a good try for some movies... I will try to do a dd if=movie.img of=/dev/dvd soon to see what will happen.. I think that it will work fine... |
|
Back to top |
|
|
val Apprentice
Joined: 30 Jun 2004 Posts: 234
|
Posted: Tue Nov 23, 2004 7:32 pm Post subject: |
|
|
iainvt wrote: | delete the original |
GEE i WISH I THOUGHT OF THAT!
That will free up space after you copy, obviously, but in order to make the copy in the first place, you still need enough space for both to begin with.
Whatever, I'm sticking to lxdvdrip... _________________ My log saw what happened to Laura Palmer. Go ahead. Ask it. |
|
Back to top |
|
|
sleek n00b
Joined: 09 Jan 2003 Posts: 71
|
Posted: Wed Nov 24, 2004 5:27 am Post subject: |
|
|
I'm having problems using 'lxdvdrip'. When it is done with the rip and the multiplexing stuff, I can preview the movie using xine. However, since the dvd was bigger than the 4.7GB size limit, there are no menus, etc. which is fine. The problem is that the video and the audio stream are not in sync at all. They are way off by at least 5-10 seconds. Is there anything I can do to prevent this from happening? Thanks _________________ Yesterday was the deadline for all complaints |
|
Back to top |
|
|
iainvt Guru
Joined: 12 Sep 2004 Posts: 462 Location: UK
|
Posted: Wed Nov 24, 2004 8:44 am Post subject: |
|
|
OK OK I only tried to help with an info post, if you dont like it do not use it, just tried to show the whole process can be done in command line, appologies. I am getting pretty tired of sharing knowledge only to be flamed at. I just tried to give something back rather than just taking from the forums. _________________ iain |
|
Back to top |
|
|
Ambys Shrink n00b
Joined: 13 Nov 2004 Posts: 33
|
Posted: Thu Nov 25, 2004 5:11 pm Post subject: |
|
|
iainvt wrote: | OK OK I only tried to help with an info post, if you dont like it do not use it, just tried to show the whole process can be done in command line, appologies. I am getting pretty tired of sharing knowledge only to be flamed at. I just tried to give something back rather than just taking from the forums. |
Personally, I appreciate the guide. Thanks _________________ ~Robby
AIM: Ambys Shrink
ambysshrink@gmail.com
www.tunesonthemove.net |
|
Back to top |
|
|
LeTene Guru
Joined: 02 Mar 2004 Posts: 348 Location: Ah'll glass ye!
|
Posted: Thu Nov 25, 2004 8:23 pm Post subject: |
|
|
I think it's a bloody good guide...and it plugged in the last gap in my DVD ripping quest, burning back to DVD. I could already rip DVDs, convert to AVI for PC-watching, etc all through my own scripts (using transcode & friends). It's always the Gentoo Way (tm) in my opinion to know what's going on under the hood, and more satisfying when you finally twig onto what's going on. _________________ Docs, Tips & Tricks at the Gentoo Wiki page. |
|
Back to top |
|
|
pactoo Guru
Joined: 18 Jul 2004 Posts: 553
|
|
Back to top |
|
|
peabody12 n00b
Joined: 17 Jul 2002 Posts: 36
|
Posted: Sat Dec 04, 2004 8:49 pm Post subject: libdvdcss removes region encoding |
|
|
region encoding is part of the css key system... whenever you extract a dvd and burn it back you will remove the region encoding. the key is stored in a part of the dvd you can't burn to which is why you have to decrypt it, but you burn it back w/o a key or region demand. _________________ YEAH!!!!! -- Lil Jon |
|
Back to top |
|
|
digitalb0y n00b
Joined: 30 Jan 2003 Posts: 55 Location: Fburg, USA
|
Posted: Mon Dec 06, 2004 10:33 am Post subject: |
|
|
Thanks for the info, its nice to see how it can be done at on the command line _________________ - Linux. The choice of a GNU generation.
Like Linux DVR's Check out http://Mythtvtalk.com |
|
Back to top |
|
|
Dick Hertz Tux's lil' helper
Joined: 17 Apr 2003 Posts: 98 Location: Pacific Northwest, USA
|
Posted: Sat Dec 18, 2004 4:53 am Post subject: |
|
|
Code: |
tcrequant -i movie.m2v -o shrink ed.m2v -f 1.5 |
It doesn't work, all I get is a "shrink" file. And dvdrip is a PoS. Like most "free" software, it's half-assed, amateur built. |
|
Back to top |
|
|
LeTene Guru
Joined: 02 Mar 2004 Posts: 348 Location: Ah'll glass ye!
|
Posted: Sat Dec 18, 2004 7:42 pm Post subject: |
|
|
Dick Hertz wrote: | Code: |
tcrequant -i movie.m2v -o shrink ed.m2v -f 1.5 |
It doesn't work, all I get is a "shrink" file. And dvdrip is a PoS. Like most "free" software, it's half-assed, amateur built. |
See the -o part? That's the output file name...there's an extra space put in there by error - it should say "shrinked.m2v".
Buy XP, use DVD-Shrink - whinging sorted . As always, I say to people who make such comments "write a better one!", and claiming not to be a coder doesn't cut it...
And by the way, DVD Shrink is free software... _________________ Docs, Tips & Tricks at the Gentoo Wiki page. |
|
Back to top |
|
|
|