Hello!
As written in another topic, I used VOB2MPEG to extract the original mpeg2 files from a couple of Dvd.
The problem is that some of these files have corrupted audio (or audio that is gone near the half or end of the video) so I would extract audio (demux) and remux with another audio track taken directly from VOB files.
I tried DGINDEX but convert mpeg to d2v
TPMPEG recodes the video
the quickstream fix function on videoredo doesn't work , and I doesn't need that
How I can demux and remux a mpeg file without any loss of quality?
+ Reply to Thread
Results 1 to 18 of 18
-
-
Nonsense. By default when going File->Save Project you get the audio and a D2V project file usually used in AviSynth scripts. Nothing is converted to anything. You can delete the D2V. If you want both the M2V video file as well as the audio file (and another D2V for you to delete) go File->Save Project and Demux Video.
Did you ever try MPG2Cut2 as suggested in the other thread?
https://www.videohelp.com/tools/Mpg2Cut2
Once you've demuxed the M2V and the audio, you can remux using the free ImagoMPEG-Muxer.
https://www.videohelp.com/tools/ImagoMPEG-Muxer -
And my guess is that VOB2MPEG was probably utilized after a prior (and poorly done) join. Like ripping and then combining the vobs via binary.
After decrypting, using a feature similar to DVDDecrypter's rejoining of vob segments into a single file will go a long way toward avoiding problems (and ensuing necessarily corrections) down the line. Another reason why I still find that app invaluable, as old as it is.
Scott -
I can't join the VOBS because the mpeg that I want to extract is only a part of the dvd, not all the dvd. (the dvd is composed by two gigs)
so we have:
MPG2CUT2
ImagoMpeg Muxer
PGC demux
muxman
what's the best? for ''the best'' I mean when there's not a any loss of quality in the final mpeg remuxed (the same as the originale, same bitrate, same kb ecc..) -
Nothing you mentioned reencodes or changes the audio and video in any way.
If you want only a part of the video then PGCDemux won't do you much good. But the final result will have a very slightly different KB from the source. The muxing overhead is different among the apps mentioned as compared to whatever was used originally.
ImagoMPEG-Muxer is for making an MPG, which is what I thought you wanted. Muxman makes DVDs (VOBs, IFOs, BUPs).
Of course, if your audio is really corrupt there's a fair chance nothing will get it for you. You could have at least tried by now. -
I tried even VIDEOREDO.
File - Onen file from a dvd - automatic quickstream fix - mpeg file.
I obtained a mpeg file with normal audio, then I loaded this video on virtualdubmod in order to get info about bitrate: it was negative (-5678 kbps). What is that negative number? -
-
So it sounds to me like you think what I said doesn't apply to you so you chose not to try it and are still having trouble.
OTOH, you could FOLLOW what I suggested, get a correct single VOB/MPG of the whole show, then do a cut with MPG2Cut2 from it, and probably have not audio problems at all.
2kb? Are you serious. That's nothing when talking about MB or GB-sized Video files. That could just be some extraneous header being stripped.
Of course, this is all conjecture since you don't provide MediaInfo outputs nor sample clips from either the original or intermediate or final files.
Scott -
No, you don't join after the fact, you join during the ripping process, like I've already mentioned. Stated another way, when each vob in a title is read, the structure is checked to see if it is a terminal vob or not, and if not, the next vob is appended to it when writing to HDD. This gives you a SINGLE contiguous VOB.
Then use VOB2MPG.
Then use MPG2Cut2.
Sheesh!
Scott -
No, you can open all the VOBs at once in MPEG2Cut2 (Shift/Down Arrow) and then you'll get a single MPEG as output. You can even open a single VOB and then use File->Append File to add more if, for example, your VOBs are from different DVDs. Doing that, though, there's the possibility of some garbage frames at the join point.
From either the VOBs all opened at once or the final MPEG, using DGIndex you can extract the audio. You can also extract the audio using MPEG2Cut2 by going File->Unmux All Clips->Audio (or All Streams). -
No. While some may tell you it's the same, a VOB is NOT identical to an MPG. Under ANY circumstance. They are from the same family (so they are often readable in the same way, leading to the aforementioned false conclusion) but they are different enough to mess up certain processes. Possibly such as what you've been attempting.
Example:
you can put LPCM audio (aka uncompressed WAV) into a VOB, but you cannot in an MPG.
VOBs include streams in PES's, not in a single PS.
VOBs allow for picture-based subtitles, MPG doesn't.
See what I mean!
Scott -
So the best way is estract the original mpeg2 file with VOB2MPEG2 from a DVD decrypted in a single VOB.
Then split audio and video with MPEG2CUT2 and mux them with ImagoMPEGMUXER.
On this way I obtain the same mpeg2 video used when DVD was authored.
There's only a little problem.... the audio file demuxed with MPEG2CUT2 is not allowed on Imago, so I use DGIndex to catch an ac3 file and Mpeg2Cut2 for the video -
Using the combination of single vob + dgindex I obtain a file LARGER than the original one!! xD
Is strange, isn't it?
And I extract the audio not from the mpeg2 file, but from the dvd
EDIT: even the bitrate is larger! maybe because the muxing fixed a number of frames?Last edited by Creed92; 9th May 2013 at 08:38.
Similar Threads
-
Remux audio with MPEG Streamclip
By dgerson76 in forum MacReplies: 7Last Post: 29th Jul 2012, 02:29 -
Audio/video out of sync after demux-remux
By CarryNL in forum SubtitleReplies: 0Last Post: 14th Sep 2011, 14:31 -
Capture out of sync after demux/remux (framedropping)
By Bingo-days in forum Capturing and VCRReplies: 3Last Post: 13th Jan 2010, 08:41 -
Demux mkv -> remux Divx
By nsx3000 in forum Video ConversionReplies: 4Last Post: 15th Sep 2009, 09:12 -
can not remux after demux
By volam in forum EditingReplies: 2Last Post: 19th Mar 2009, 15:36