View Full Version : on-the-fly remuxing? m2v w/ vob
soulstace
1st July 2006, 18:28
Hi all.
I apologize if this has been asked before. I did a quick search and read thru the faq but didn't find the info I was looking for.
After preparing and encoding some files with DVD-RB, I opened up the first m2v file of my movie in media player classic. It plays, but I have no audio.
Is there a way to remux the audio stream (say, only for the first m2v file) so I can preview part of my dvd without having to completely encode/rebuild it? I am comparing different encoders and settings, and it would be nice to have audio when I preview my results.
Also, why is it sometimes when demuxing mpeg2 with other programs I end up with m2v file with audio in it?
Thanks in advance for your help.
Gehenna
1st July 2006, 18:44
An .m2v file is VIDEO only,their should be no Audio.
You can Multiplex the audio back in ,without re-encoding
http://forum.doom9.org/showthread.php?t=112251&highlight=multiplex+m2v
Checkout Neuron2`s first post for a multiplexer
On why sometimes you get audio:
I think this is because Media Player Classic will play the audio+video combined, if it finds a duplicate video/audio file name in the same folder..ie myvideo.m2v & myaudio.wav = video & audio playback(even though you selected the m2v)
soulstace
1st July 2006, 18:53
The problem is that I don't have the audio source. It is still in the original .vob file. The program he linked to does not accept .vob as a source.
Also, I have demuxed mpeg2 before (with ?) and ended up with m2v with audio in it. It doesn't appear to be VIDEO only in all cases.
On why sometimes you get audio:
I think this is because Media Player Classic will play the audio+video combined, if it finds a duplicate video/audio file name in the same folder..ie myvideo.m2v & myaudio.wav = video & audio playback(even though you selected the m2v)
I could've sworn I renamed or deleted the audio file to test out this theory. But perhaps I am mistaken.
Guest
1st July 2006, 19:55
The problem is that I don't have the audio source. It is still in the original .vob file. The program he linked to does not accept .vob as a source. Then demux the audio from the VOB with DGIndex.
Also, I have demuxed mpeg2 before (with dgmpgdec) and ended up with m2v with audio in it. It doesn't appear to be VIDEO only in all cases. An M2V demuxed by DGIndex cannot have audio in it. Provide a sample if you don't believe me.
soulstace
1st July 2006, 20:05
Then demux the audio from the VOB with DGIndex.
Isn't there some type of on-the-fly solution? I mean, how does DVD-RB do it? DVD-RB seems to be able to remux m2v with audio from the vob. Is that an internal method or does it use dgindex or avisynth to do this?
An M2V demuxed by DGIndex cannot have audio in it. Provide a sample if you don't believe me.
I believe you neuron2. It must have been another program's output (I have tried many), or that I was simply mistaken.
jdobbs
1st July 2006, 21:12
DVD Rebuilder has it's own authoring engine built in. It doesn't use DGINDEX at all -- it uses AVISYNTH and DGDECODE for frame serving only during encoding (or viewing in the Viewer/Editor).
The problem with your request/question is that the M2V files aren't meant for playback. In fact they are really meant for end-user access at all. They are there only as an intermediate file that can be used during REBUILD. What exactly are you trying to do?
soulstace
1st July 2006, 21:16
Interesting! Thanks for the response jdobbs.
Well my temporary solution was to demux the first vob of the original source with vobedit v0.6, then rename the .ac3 file to match that of the first .m2v. I double-clicked the .m2v and it loads up in Media Player Classic with sound!
I was hoping for a more elegant solution, but perhaps this will do. The only flaw so far is that dragging the search bar around makes the audio stop.
What exactly are you trying to do?
Preview the output (with sound) after I've encoded only a small portion of it. This means I complete the prepare step, but stop the encoding process before its finished encoding the whole movie.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.