View Full Version : Mux m2v and ac3 to avi?
DeNiro
28th March 2006, 17:51
Hi all. I demuxed a DVD down to a .m2v and .ac3 files (video and audio) to do some corrections to the audio. Now i want to mux it together again, but this time as an avi container. I tried with VirtualDub/VirtualDubMod, both in direct stream copy and full processing mode, but it wont accept my video stream. Is there any other solutions/software i can use to accomplish this?
Best regards.
Eastermeyer
28th March 2006, 18:31
I tested with ffmpeg and it works.
ffmpeg -i "C:\test.m2v" -i "C:\test.ac3" -acodec copy -vcodec copy -vtag "MPG2" -f avi "C:\test.avi"
You should replace the FourCC with a Codec which can decode this.
(Maybe some MPEG2-I-Frame Codecs.)
setarip_old
28th March 2006, 18:57
@DeNiro
Did VirtualDubMOD generate an error message when you tried to load in the .M2V file? If so, what was the specific message?
DeNiro
28th March 2006, 19:22
Eastermeyer: Thank you for the useful hint, i´ll check that out.:thanks:
setarip_old: No error message when loading the m2v or ac3, but when i try "Save as..." and type in the name of the avi i want to make, the error message: "The source video stream uses a compression algorithm which is not compatible with AVI files. Direct stream copy can not be used with this video stream." The problem seems to be limited to Direct stream copy though, using Full processing mode seems to work, but on the other hand it produces an avi of gigantic size, 4.2 gb of video/audio material went up to 56 gb, then i ran outta diskspace on that drive :D
Fast/Normal reprocess also seems to work OK using the latest Xvid 1.1 stable. Direct stream copy is a "no show".
setarip_old
28th March 2006, 19:31
Use "Full processing mode" - and from the "Video" dropdown menu, select a codec such as DivX, so that your .AVI file can be compressed...
DeNiro
28th March 2006, 19:47
Use "Full processing mode" - and from the "Video" dropdown menu, select a codec such as DivX, so that your .AVI file can be compressed...
That is a very good idea, and i feel a bit ashamed over not figuring that out myself. :eek: Thank you once again!
setarip_old
28th March 2006, 20:41
Thank you once again!As always, my pleasure ;>}
DeNiro
28th March 2006, 21:42
Eastermeyer: I tried ffmpeg and it seems to work as you said, but the result is not playable. I guess it has to do with the FourCC so i tried to change it with Nic´s FourCC Changer, but no luck. Do you have any suggestions what specified codec to decode this and how to change the FourCC to that?
setarip_old: Also your suggestion seems to work, but the aspect ratio/resolution gets a bit screwed up as it looks. Source is 720x480 (NTSC) with 16:9, any idea how to configure the Xvid codec to get it correct?
manono
29th March 2006, 05:12
Your M2V is MPEG-2. You want MPEG-4 (AVI). You have to reencode. Since you don't know what you're doing, I'd suggest decrypting the original movie from the DVD using DVD Decrypter in IFO Mode (Mode->IFO, up at the top), and then letting AutoGK take it from there. Either that or find a guide that will teach you how to do it:
http://forum.doom9.org/showthread.php?p=630688#post630688
http://www.doom9.org/divx-encoding.htm
Source is 720x480 (NTSC) with 16:9, any idea how to configure the Xvid codec to get it correct?
You don't ordinarily configure the codec for that (unless you want to make anamorphic encodes which your player will then resize). Ordinarily you crop and resize in VDubMod or, even better, within the AviSynth script file which is then opened in VDubMod for encoding to your chosen codec. If all that sounds like gibberish, then give AutoGK a try.
DeNiro
29th March 2006, 06:25
Your M2V is MPEG-2. You want MPEG-4 (AVI). You have to reencode. Since you don't know what you're doing, I'd suggest decrypting the original movie from the DVD using DVD Decrypter in IFO Mode (Mode->IFO, up at the top), and then letting AutoGK take it from there. Either that or find a guide that will teach you how to do it:
http://forum.doom9.org/showthread.php?p=630688#post630688
http://www.doom9.org/divx-encoding.htm
Source is 720x480 (NTSC) with 16:9, any idea how to configure the Xvid codec to get it correct?
You don't ordinarily configure the codec for that (unless you want to make anamorphic encodes which your player will then resize). Ordinarily you crop and resize in VDubMod or, even better, within the AviSynth script file which is then opened in VDubMod for encoding to your chosen codec. If all that sounds like gibberish, then give AutoGK a try.
I´ll give AutoGK a shot, might be the tooll im looking for. Thanks for help.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.