Log in

View Full Version : How to demux/mux streams without re-encoding


dwallersv
10th January 2006, 15:13
I'm having a great time learning about and playing with GKnot, VirtualDubMod, DGIndex, AVISynth, etc. etc. etc. What a cool set of tools developed by the enthusiast community!

Last night I transcoded a movie to 320 pixels wide to watch on my TREO. Used the advanced features of Xvid -- qpels, adaptive quantization, global motion compensation, etc. The video results are superb! However, I muxed in the wrong audio track :angry:

So, now I simply want to demux the streams in the AVI, and mux the video back together with the right audio -- don't need to do any video encoding.

I can't figure out how to do this with the above tools, but I'm sure there's an easy (and fast) way to do it. Suggestions please!

Thanks!

unskinnyboy
10th January 2006, 15:28
Basically, you need to load the current avi into VirtualDubMoD, disable the current audio stream, load the new audio stream and save back as a new avi. Done.

Go here (http://www.doom9.org/virtualdub_procedures.htm) for details.

setarip_old
10th January 2006, 19:49
@dwallersv

Hi!

A small addendum to the method provided by "unskinnyboy" - In VirtualDubMOD, set "Video" to "Direct Stream Copy"...

dwallersv
10th January 2006, 21:39
Worked like a charm... Thanks guys.

What I'm up to here is ripping some of my DVD's and recoding them for a form-factor that is viewable on my TREO 650 so I can watch them when I'm traveling.

I used PocketDVDStudio before, and it produces marginal results, with lost frames, etc. AutoGK does a much nicer job, but now that I've got my feet wet with GK, Xvid, and the other various tools common around here, I think I'll be leaving AutoGK behind now.

The results with the ASP@L5 profile in Xvid, with qpels, adaptive quantization, and other advanced features turned on is just fabulous. I squeezed Starship Troopers down to 250MB for the 320 pixel wide TREO screen, and it plays beautifully. Only problem was, I accidentally transcoded and muxed in the director's commentary audio stream (DOH!). Hence my question in this thread.