Log in

View Full Version : MeGUI encoding to AAC and other - Inner exception: null problem??


Undead Sega
15th September 2009, 15:53
I dont know fi any others have been getting this problem but this kind of new to me and i cant see what could be the problem.

i am just basically taking an AAC file to downmix it to AAC or ven to AC3 or MP3 and i always get this kind of log with it ending with Inner exception: null:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1056
--[NoImage] OS : Windows Seven x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 2.0 (2.0.50727.1)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
-[Error] Log for job1 (audio,track2.aac -> stereo.aac)
--[Information] [15/09/2009 15:48:33] Started handling job
--[Information] [15/09/2009 15:48:33] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("C:\track2.aac")
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] 6<=Audiochannels(last)?x_stereo1deee45a77624f2aae66df31fb51d945(ConvertAudioToFloat(last)):last
---[NoImage] SSRC(48000)
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] function x_stereo1deee45a77624f2aae66df31fb51d945(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 448 --mpeg-vers 4 -o "{0}" -
--[Information] [15/09/2009 15:48:37] Encode thread started
--[Information] [15/09/2009 15:48:37] Encoding started
--[Information] [15/09/2009 15:48:37] Avisynth script environment opened
--[Error] An error occurred
---[NoImage] Exception message
----[NoImage] DirectShowSource: Could not open as video or audio.
----[NoImage] Video returned: "DirectShowSource: couldn't open file C:\track2.aac:
----[NoImage] Pins cannot connect due to not supporting the same transport."
----[NoImage] Audio returned: "DirectShowSource: couldn't open file C:\track2.aac:
----[NoImage] Pins cannot connect due to not supporting the same transport."
---[NoImage] Stacktrace
----[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [15/09/2009 15:48:38] Job completed

i have Avisynth 2.5, all the latest updates on MeGUI, and strangely the MP4 that this contained doesnt open up in something simple as TMPEG Xpress which usually loads up. can anyone help me on this?

poisondeathray
15th September 2009, 16:10
You're probably missing a directshow aac source filter

Are you feeding the aac directly? Can you render the aac in graphstudio?

Instead of installing one, another option is to feed the aac in mp4 , and if you have a directshow mp4 splitter installed it should work

Undead Sega
15th September 2009, 16:14
i am feeling the aac directly to MeGUI, but i do have ffdshow of course, is that what i needed? or is it something else may i ask?

poisondeathray
15th September 2009, 16:17
No, your directshow filter chain is probably broken (pins don't connect). Render it in graphedit / graphstudio and you will see what I mean

You probably don't have a directshow mp4 splitter installed, that's why it doesn't work in the mp4 container either

You can install DCBassSource.ax for example, as an AAC directshow source filter (register it with radlight filter manager)

Undead Sega
15th September 2009, 16:25
ohh i see, well i will graphedit very soon, however ive just imported the MP4 file itself into MeGUI and right now it seems tob e Pre-processing, im hoping it will work.

but i really would prefer it if i could hve taken the file directly which is actually my problem. THus where can i get DCBassSource.ax? and where do i install it? is there somesort of package i need to download and install?

poisondeathray
15th September 2009, 16:28
----[NoImage] DirectShowSource: Could not open as video or audio.
----[NoImage] Video returned: "DirectShowSource: couldn't open file C:\track2.aac:
----[NoImage] Pins cannot connect due to not supporting the same transport."


http://www.free-codecs.com/download/DC-Bass_Source_Filter.htm
you can register it with radlight filter manager

if it works with the mp4 , then your directshow filter chain for mp4 must be working correctly

Undead Sega
3rd October 2009, 14:19
Hi, sorry for bringing this up again, but i really appreciated the help u were obtaining me, but if u say that the directshow filter is working correctly, then why is it still i cannot input the audio files directly?

also, one of the main reasons ive brought this back up, is because ive encountered another problem, and this is from inputting the mp4 file (that contains an AC3 source i want to transcode to AAC) i get an error called: RenderFile, the filter graph manager won't talk to me

i am confused at this part here, i dont understand why this is happening, can anyone help me on this?

poisondeathray
3rd October 2009, 16:03
Hi, sorry for bringing this up again, but i really appreciated the help u were obtaining me, but if u say that the directshow filter is working correctly, then why is it still i cannot input the audio files directly?



yes, working for aac in mp4 container, but you still need a source filter to use aac audio directly as already mentioned.

For your second problem, you need a directshow mp4 splitter that accepts ac3 in mp4. You can register the one from here which works, or the one from MPCHC project as a standalone filter

http://sourceforge.net/projects/guliverkli2/files/DirectShow%20Filters/#

Another option is to use a different script and forget about directshow filters eg. ffms2
FFMpegSource2("video.mp4", atrack=-1)