Log in

View Full Version : MeGui for me no audio what so ever


harnarn
19th June 2009, 21:14
Hey Guys..
A small problem for me here..

First what have i done...

1. installed and uninstalled Megui avisynth cleaned out installed apps. with Your Uninstaller restarted comp several times but no luck..( all things been done under administrators right)

2.I can encode video no problems works great.

3. Audio no, if i forced let say mp3 trough directshow option on config i get a file with super slow speech....

None forcing the job, the job will not go to cue on megui...
and if it try to load the job after loading the avs.script i cant load the audio enc witch ever encoder i choose ( and the paths are set completely right on options tab)..

And last if i want to terminate the megui i must go into process manager...( and this has be going on for over 4 months now)

Here is one log for a try of many..

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1044
--[NoImage] OS : Windows Vista Ultimate Edition x86 SP1 (6.0.65536.6001)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3074)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
-[Information] Log for job2 (audio, t4 T80 3_0ch 320Kbps DELAY 0ms.ac3 -> t4 T80 3_0ch 320Kbps DELAY 0ms.mp3)
--[Information] [2009-06-19 14:37:45] Started handling job
--[Information] [2009-06-19 14:37:45] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.ac3")
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] 6<=Audiochannels(last)?x_stereodf43cf68d3b741198e16f1576779e78f(ConvertAudioToFloat(last)):last
---[NoImage] SSRC(44100)
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] function x_stereodf43cf68d3b741198e16f1576779e78f(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[NoImage] Commandline used: -b 128 --cbr -h --silent - "{0}"
--[Information] [2009-06-19 14:37:46] Encoding started
--[Information] [2009-06-19 14:37:46] Encode thread started
--[Information] [2009-06-19 14:37:46] Avisynth script environment opened
--[Information] [2009-06-19 14:37:46] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 2
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 44100
--[NoImage] Commandline: C:\Program Files\megui\tools\lame\lame.exe -b 128 --cbr -h --silent - "I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.mp3"
--[Information] [2009-06-19 14:37:46] Encoder process started
--[Information] [2009-06-19 14:44:28] Postprocessing
---[Information] Deleting intermediate files
--[Information] [2009-06-19 14:44:28] Job completed
-[Error] Log for job2 (audio, t4 T80 3_0ch 320Kbps DELAY 0ms.ac3 -> t4 T80 3_0ch 320Kbps DELAY 0ms.mp3)
--[Information] [2009-06-19 14:45:17] Started handling job
--[Information] [2009-06-19 14:45:17] Preprocessing
--[NoImage] Avisynth script
---[NoImage] NicAc3Source("I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.ac3")
---[NoImage] 6<=Audiochannels(last)?x_stereo9c6bb1019e6344f1a2116a5c89e49b47(ConvertAudioToFloat(last)):last
---[NoImage] SSRC(44100)
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] function x_stereo9c6bb1019e6344f1a2116a5c89e49b47(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[NoImage] Commandline used: -b 128 --cbr -h --silent - "{0}"
--[Information] [2009-06-19 14:45:17] Encode thread started
--[Information] [2009-06-19 14:45:17] Encoding started
--[Information] [2009-06-19 14:45:17] Avisynth script environment opened
--[Information] [2009-06-19 14:45:17] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 4
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 44100
--[NoImage] Commandline: C:\Program Files\megui\tools\lame\lame.exe -b 128 --cbr -h --silent - "I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.mp3"
--[Information] [2009-06-19 14:45:17] Encoder process started
--[Error] An error occurred
---[NoImage] Exception message: Denna pipe har avslutats.
---[NoImage] Stacktrace
----[NoImage] vid System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] vid System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] vid System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] vid MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [2009-06-19 14:48:55] Job completed

tebasuna51
19th June 2009, 23:48
NicAc3Source("I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.ac3")
6<=Audiochannels(last)?x_stereot(last):last
SSRC(44100)
Normalize()
32==Audiobits(last)?ConvertAudioTo16bit(last):last


A 3.0 channel isn't converted to the stereo needed by Lame (only 6 or more channels was downmixed).

Use an .avs file, like MeGUI input, with this content:
NicAc3Source("I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.ac3", 2)
to use the NicAudio internal downmix to 2 channels.

harnarn
20th June 2009, 05:06
A 3.0 channel isn't converted to the stereo needed by Lame (only 6 or more channels was downmixed).

Use an .avs file, like MeGUI input, with this content:
NicAc3Source("I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.ac3", 2)
to use the NicAudio internal downmix to 2 channels.

Thanks m8 for you answer..
1. if i don't downmix will this work ( keep original channels),,,,i have my own answer .no after trying a different ways..
2. there do i put in such a script ( bare with me this is your territory not mine)::::

tebasuna51
20th June 2009, 12:33
Sorry if don't understand your questions, my english is very bad.
1. if i don't downmix will this work ( keep original channels)
If you don't want downmix you can preserve the the original track.
But if you want a low bitrate you can't use a simple AviSynth method to transcode because AviSynth can't preserve the MaskChannel and your 3.0 stream can be traslated to a 2/1.0 stream (the Center channel to Surround channel)

EDIT: You can use BeHappy and encode to a low bitrate ac3, but you need check the 'Cmask' and put the value: 7, that mean a 3.0 (Front left, Front right an Center)
2. there do i put in such a script
If you make (with Notepad for instance) a script.avs with this content:
NicAc3Source("I:\MeGui\t4 T80 3_0ch 320Kbps DELAY 0ms.ac3", 2)
You must put the script.avs in 'Audio Input' instead the ac3 file.