Log in

View Full Version : DVD (MPEG-2) extraction into .mp4 container?


ItsInTheCave
22nd February 2007, 09:12
I've been looking for a way to get standard DVDs imported with lossless quality for a while but to no avail... Unfortunetely when re-encoding the file into a new format the file size increases so this would not be feasible.

However seeing as MPEG-2s which are the files inside the DVD can be placed into an .mp4 container is there any way to simply import/rip/copy the files with a method like this?

Likewise this method might also be useful with HD backups seeing as HD-DVDs and Blu-Ray movies use either H.264, MPEG-2, or VC-1. Both H.264 and MPEG-2 can be placed into .mp4s so maybe this would be useful for backups with these formats?

My concern isn't with HD backups though (I haven't either format) but if someone could help me out with my thought on DVD imports then please help.

[EDIT] I've looked into this and I guess I'm looking for a way to transmux the vobs into an mp4.

Blue_MiSfit
22nd February 2007, 10:04
Well, if you just want to have an MP4 with the main movie in untouched MPEG-2, you could use DGIndex to demux the M2V and the AC3(s). AC3 can't be stored properly in MP4, so you would have to re-encode that.

Then you should theoretically be able to mux the M2V and the AAC. http://forum.doom9.org/showthread.php?t=74049 looks like it might have some insight. YAMB doesn't appear to directly support M2V input, but maybe the 3ivx muxer?

Good luck.
~MiSfit

bond
22nd February 2007, 20:27
mp4box and mp4creator should afaik both be able to mux mpeg-2 into mp4

Blue_MiSfit
23rd February 2007, 03:55
Confirmed. mp4box can do it, but there doesn't seem to be direct support in YAMB..

example:

MP4Box.exe -add "c:\1080i The Magic of Flight.demuxed.m2v" c:\movie.mp4


takes a 1080i m2v, and muxes it to an MP4.

It works, and is playable with VLC and MPlayer. MPC crashes, but that may be due to DirectShow evil.

~MiSfit

ItsInTheCave
23rd February 2007, 10:35
Thanks for the quick replies.

Just wondering, is there any GUI for these programs? I'm afraid I've no idea how to use the command-line interface...

If not (or if its easier) could someone please post the command that must be used in one of these programs to mux the .m2v the .ac3 and the .sub together?

If it helps I used PgcDemux to demux the DVD.

Kurtnoise
23rd February 2007, 20:27
Confirmed. mp4box can do it, but there doesn't seem to be direct support in YAMB..
Should be available for the next release. Anyway, VOB support is already there. So, no need to extract video stream...