Log in

View Full Version : How Does AVS audio in MeGUI Work?


TheBashar
3rd February 2006, 08:18
Can someone please explain or point me to where I can read how the AviSynth audio transcoding in MeGUI works? I've looked in this forum and at the new MeGUI guide, but I've not found anything that explains how it works.

I've got some slightly sophisticated AVS scripts that I use for my encodes that cut out opening titles in the middle of TV episodes. Similarly cutting the audio track and then muxing it into the video always introduces some synch issues. I was hoping using AviSynth audio processing in MeGUI (however it works) would allow me to use Trim statements on the audio as well - perhaps resulting in less synch problems.

But... ahh... I can't find any AVS script that MeGUI is using for the audio processing. So, I'm not sure how to tinker with it to insert some Trims. Can somebody clear up my confusion or at least point me to which lake I should jump in? Thanks!

Doom9
3rd February 2006, 10:05
But... ahh... I can't find any AVS script that MeGUI is using for the audio processing.That is because we do the whole thing inline without scripts. dimzon wrote a really elegant solution. He once opened the input for everything.. perhaps you can ask him if AviSynth scripts would also be a possible audio input source.
And the cutter for TV stuff is coming.. it will result in the exact same cuts being made to the audio as video. I can't give you an estimated release date though as I currently have a lot of other things on my mind (you gotta do what pays your bills first).

For the end user, except for the setup which the guide outlines, there are no changes to be made.. it's just a little radio button (which already defaults to avisynth), that allows you to switch between avisynth and besweet in a codec configuration dialog. Unless you change it, you're already using avisynth for audio encoding when using a recent megui build.

tebasuna51
3rd February 2006, 11:06
That is because we do the whole thing inline without scripts. dimzon wrote a really elegant solution. He once opened the input for everything.. perhaps you can ask him if AviSynth scripts would also be a possible audio input source.
Check the Dimzon's experimental tool BeHappy about audio management with AviSynth scripts at:
http://forum.doom9.org/showthread.php?t=104686

dimzon
17th February 2006, 08:45
perhaps you can ask him if AviSynth scripts would also be a possible audio input source.
Shure it's possible - it's by design :cool:

Rockaria
17th February 2006, 15:16
I've got some slightly sophisticated AVS scripts that I use for my encodes that cut out opening titles in the middle of TV episodes. The tool won't be any useful if you have non uniform script requirements. The original avs2wav is perfectly flexible to transcode audio if you can preview the avs script in MPC correctly. http://forum.doom9.org/showthread.php?t=103069
[edit] clarification : also we have good mux tools.

dimzon
17th February 2006, 15:28
MeGUI: how to encode with avisynth audio manipulation (http://forum.doom9.org/showthread.php?t=107353)

Rockaria
17th February 2006, 15:58
I am watching it and believe it's gonna be implemented perfectly flexible & transparent there.;)