Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

DVD9 > DVD5 guide

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
56 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

DVD9 > DVD5 guide

  • Quote

Post by iainvt » Sat Oct 30, 2004 6:01 am

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
Top
val
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Wed Jun 30, 2004 4:08 am
Contact:
Contact val
Website

  • Quote

Post by val » Sun Nov 14, 2004 1:08 am

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.
Top
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

  • Quote

Post by iainvt » Sun Nov 14, 2004 9:18 am

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

http://forums.gentoo.org/viewtopic.php? ... highlight=

I just wanted to see what was behind these.
iain
Top
originalbrownster
n00b
n00b
User avatar
Posts: 61
Joined: Tue Aug 26, 2003 12:47 pm
Location: Kent, UK

  • Quote

Post by originalbrownster » Sun Nov 14, 2004 4:45 pm

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.
Top
val
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Wed Jun 30, 2004 4:08 am
Contact:
Contact val
Website

  • Quote

Post by val » Sun Nov 14, 2004 6:04 pm

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.
Top
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

  • Quote

Post by iainvt » Mon Nov 15, 2004 9:52 am

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
Top
val
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Wed Jun 30, 2004 4:08 am
Contact:
Contact val
Website

  • Quote

Post by val » Mon Nov 15, 2004 5:41 pm

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.
Top
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

  • Quote

Post by iainvt » Mon Nov 15, 2004 6:07 pm

I cant see why not if the stand alone player id modified for all regions
iain
Top
val
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Wed Jun 30, 2004 4:08 am
Contact:
Contact val
Website

  • Quote

Post by val » Mon Nov 15, 2004 6:43 pm

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.
Top
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

  • Quote

Post by iainvt » Mon Nov 15, 2004 9:09 pm

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
Top
val
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Wed Jun 30, 2004 4:08 am
Contact:
Contact val
Website

  • Quote

Post by val » Tue Nov 23, 2004 9:55 am

How do you "imply an encoding"?

Anyway, this should have a warning that you need about 20G of free space to do it! 8O
My log saw what happened to Laura Palmer. Go ahead. Ask it.
Top
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

  • Quote

Post by iainvt » Tue Nov 23, 2004 10:09 am

eh 20gb, methinks you did sommit wrong dude
iain
Top
val
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Wed Jun 30, 2004 4:08 am
Contact:
Contact val
Website

  • Quote

Post by val » Tue Nov 23, 2004 10:15 am

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.
Top
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

  • Quote

Post by iainvt » Tue Nov 23, 2004 10:38 am

delete the original
iain
Top
Fungos Bauux
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Fri Aug 09, 2002 11:35 pm
Location: CWB
Contact:
Contact Fungos Bauux
Website

  • Quote

Post by Fungos Bauux » Tue Nov 23, 2004 7:14 pm

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...
Top
val
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Wed Jun 30, 2004 4:08 am
Contact:
Contact val
Website

  • Quote

Post by val » Tue Nov 23, 2004 7:32 pm

iainvt wrote:delete the original
GEE i WISH I THOUGHT OF THAT! :roll:

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.
Top
sleek
n00b
n00b
User avatar
Posts: 71
Joined: Thu Jan 09, 2003 5:24 am

  • Quote

Post by sleek » Wed Nov 24, 2004 5:27 am

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
Top
iainvt
Guru
Guru
Posts: 462
Joined: Sun Sep 12, 2004 8:03 pm
Location: UK

  • Quote

Post by iainvt » Wed Nov 24, 2004 8:44 am

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
Top
Ambys Shrink
n00b
n00b
Posts: 33
Joined: Sat Nov 13, 2004 6:35 pm
Contact:
Contact Ambys Shrink
Website

  • Quote

Post by Ambys Shrink » Thu Nov 25, 2004 5:11 pm

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 :D
~Robby
AIM: Ambys Shrink
ambysshrink@gmail.com

www.tunesonthemove.net
Top
LeTene
Guru
Guru
User avatar
Posts: 348
Joined: Tue Mar 02, 2004 12:43 pm
Location: Ah'll glass ye!

  • Quote

Post by LeTene » Thu Nov 25, 2004 8:23 pm

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.
Top
pactoo
Guru
Guru
User avatar
Posts: 553
Joined: Sun Jul 18, 2004 9:03 am

  • Quote

Post by pactoo » Fri Nov 26, 2004 10:15 am

What about simply a [l]dvd9to5 port if any one feels appointed ?

http://lakedaemon.netmindz.net/dvd9to5/

or

http://ldvd9to5.gff-clan.net/?project=ldvd9to5
Top
peabody12
n00b
n00b
Posts: 36
Joined: Wed Jul 17, 2002 3:42 am

libdvdcss removes region encoding

  • Quote

Post by peabody12 » Sat Dec 04, 2004 8:49 pm

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
Top
digitalb0y
n00b
n00b
User avatar
Posts: 55
Joined: Thu Jan 30, 2003 4:22 am
Location: Fburg, USA
Contact:
Contact digitalb0y
Website

  • Quote

Post by digitalb0y » Mon Dec 06, 2004 10:33 am

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
Top
Dick Hertz
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Thu Apr 17, 2003 6:39 am
Location: Pacific Northwest, USA

  • Quote

Post by Dick Hertz » Sat Dec 18, 2004 4:53 am

Code: Select all

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.
Top
LeTene
Guru
Guru
User avatar
Posts: 348
Joined: Tue Mar 02, 2004 12:43 pm
Location: Ah'll glass ye!

  • Quote

Post by LeTene » Sat Dec 18, 2004 7:42 pm

Dick Hertz wrote:

Code: Select all

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 :roll: . 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.
Top
Post Reply

56 posts
  • 1
  • 2
  • 3
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic