Log in

View Full Version : Audio Encoding problem (Nero)


lolyondaime
18th May 2013, 00:58
I've looked around the forums and have noticed a lot of people with this error yet none of it seemed to help me with my error due to the situation seeming to be just slightly different. I'm getting this dreaded error:

--[Information] Output Decoder
[Information] Channels: 2
[Information] Bits per sample: 16
[Information] Sample rate: 192000
[Information] Commandline: E:\MeGUI_2341_x86\tools\eac3to\neroAacEnc.exe -ignorelength -lc -br 96000 -if - -of "E:\Videos\combo c9\got it\hurkadurr.mp4"
[Information] Encoder process started
[Error] An error occurred
[Error] Exception message: The pipe has been ended.
[Error] Stacktrace
[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
[Error] Inner exception: null

I'm not quite sure how to go about fixing it I'm relatively new and have been encoding my video/audio the same way for the last 7 months without problem but for some reason this decided to start happening today without (to my knowledge) anything changing from how it usually is. Here's the rest of the logs if it helps.

[Error] Log
[Information] Versions
[Information] MeGUI: 2341
[Information] Operating System: Windows 7 Premium Edition x64 SP1 (6.1.65536.7601)
[Information] .Net Framework: 4.0 (4.0.30319)
[Information] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
[Information] AvisynthWrapper: 1/2/2009 8:34:04 PM
[Information] Haali Matroska Splitter: 1.13.138.14 (4/14/2013 10:00:32 AM)
[Information] Haali DSS2: 4/14/2013 9:59:06 AM
[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (8/7/2008 8:31:12 PM)
[Information] LinqBridge: 1.0.0.0 (5/28/2009 1:24:34 AM)
[Information] MediaInfo: 0.7.62.0 (2/22/2013 10:32:55 AM)
[Information] MediaInfoWrapper: 0.7.61.0 (1/6/2013 2:47:15 PM)
[Information] MessageBoxExLib: 1.0.2218.28317 (12/19/2008 8:53:04 PM)
[Information] SevenZipSharp: 0.64.3890.29348 (1/2/2011 10:59:32 AM)
[Information] 7z: 9.20 (11/18/2010 4:27:34 PM)
[Information] Update detection
[Information] Connecting to server: http://megui.org/auto/stable/
[Information] All files are up to date
[Error] Log for job14 (audio, hurkadurr.avi -> hurkadurr.mp4)
[Information] Started handling job
[Information] Preprocessing
[Information] Encoding started
[Information] MediaInfo
[Information] File: E:\Videos\combo c9\got it\hurkadurr.avi
[Information] General
[Information] Format: AVI
[Information] FormatString: AVI
[Information] FileSize: 1492929256
[Information] PlayTime: 00:00:40.200
[Information] Video
[Information] ID: 0
[Information] StreamOrder: 0
[Information] Width: 1600
[Information] Height: 900
[Information] FrameCount: 1206
[Information] FrameRate: 30.000
[Information] FrameRateOriginal:
[Information] FrameRateMode:
[Information] ScanType:
[Information] Codec: FPS1
[Information] CodecString: FRAPS
[Information] Format: Fraps
[Information] AspectRatio: 1.778
[Information] AspectRatioString: 16:9
[Information] Delay: 0
[Information] Title:
[Information] Language:
[Information] LanguageString:
[Information] Default:
[Information] DefaultString:
[Information] Forced:
[Information] ForcedString:
[Information] Audio
[Information] ID: 1
[Information] StreamOrder: 1
[Information] Format: PCM
[Information] FormatProfile:
[Information] FormatSettingsSBR:
[Information] FormatSettingsPS:
[Information] SamplingRate: 192000
[Information] SamplingRateString: 192 KHz
[Information] Channels: 2
[Information] ChannelsString: 2 channels
[Information] ChannelPositionsString2:
[Information] BitRateMode: CBR
[Information] Delay: 0
[Information] Title:
[Information] Language:
[Information] LanguageString:
[Information] Default:
[Information] DefaultString:
[Information] Forced:
[Information] ForcedString:
[Information] Trying to open the file with NicAudio
[Information] Successfully opened the file with NicAudio
[Information] no channel positions found. Downmix result may be wrong.
[Information] ignoring downmix as there are only 2 channels
[Information] Avisynth script
[NoImage] AVISource("E:\Videos\combo c9\got it\hurkadurr.avi", audio=true)
[NoImage] EnsureVBRMP3Sync()
[NoImage] Trim(0,0)
[NoImage] # detected channels: 2 channels
[NoImage] Normalize()
[NoImage] return last
[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
[NoImage] function c6_stereo(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] lf = GetChannel(a, 4)
[NoImage] sl = GetChannel(a, 5)
[NoImage] sr = GetChannel(a, 6)
[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
[NoImage] function c5_stereo(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] sl = GetChannel(a, 4)
[NoImage] sr = GetChannel(a, 5)
[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
[NoImage] function c52_stereo(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] lf = GetChannel(a, 4)
[NoImage] bc = GetChannel(a, 5)
[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
[NoImage] function c4_stereo(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] sl = GetChannel(a, 3)
[NoImage] sr = GetChannel(a, 4)
[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
[NoImage] function c42_stereo(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] lf = GetChannel(a, 4)
[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
[NoImage] function c3_stereo(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
[NoImage] function c6_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] sl = GetChannel(a, 5)
[NoImage] sr = GetChannel(a, 6)
[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
[NoImage] function c5_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] sl = GetChannel(a, 4)
[NoImage] sr = GetChannel(a, 5)
[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
[NoImage] function c52_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] sl = GetChannel(a, 4)
[NoImage] sr = GetChannel(a, 5)
[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
[NoImage] function c53_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] bc = GetChannel(a, 5)
[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
[NoImage] function c4_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] sl = GetChannel(a, 3)
[NoImage] sr = GetChannel(a, 4)
[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
[NoImage] function c42_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] bc = GetChannel(a, 4)
[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
[NoImage] function c43_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] bc = GetChannel(a, 4)
[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
[NoImage] function c3_dpl(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] bc = GetChannel(a, 3)
[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
[NoImage] function c6_dpl2(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] sl = GetChannel(a, 5)
[NoImage] sr = GetChannel(a, 6)
[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
[NoImage] function c5_dpl2(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] fc = GetChannel(a, 3)
[NoImage] sl = GetChannel(a, 4)
[NoImage] sr = GetChannel(a, 5)
[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
[NoImage] function c52_dpl2(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] sl = GetChannel(a, 4)
[NoImage] sr = GetChannel(a, 5)
[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
[NoImage] function c4_dpl2(clip a)
[NoImage] {
[NoImage] fl = GetChannel(a, 1)
[NoImage] fr = GetChannel(a, 2)
[NoImage] sl = GetChannel(a, 3)
[NoImage] sr = GetChannel(a, 4)
[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
[NoImage] return MergeChannels(l, r)
[NoImage] }
[Information] Commandline used: -ignorelength -lc -br 96000 -if - -of "{0}"
[Information] Avisynth script environment opened
[Information] Script loaded
[Information] Output Decoder
[Information] Channels: 2
[Information] Bits per sample: 16
[Information] Sample rate: 192000
[Information] Commandline: E:\MeGUI_2341_x86\tools\eac3to\neroAacEnc.exe -ignorelength -lc -br 96000 -if - -of "E:\Videos\combo c9\got it\hurkadurr.mp4"
[Information] Encoder process started
[Error] An error occurred
[Error] Exception message: The pipe has been ended.
[Error] Stacktrace
[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
[Error] Inner exception: null
[Information] Output from encoder via stderr
[Information] Output from encoder via stdout: ERROR: could not open AAC encoder

**took time/date/nero part at the end out for space's sake

tebasuna51
18th May 2013, 02:27
Maybe the problem is:

[Information] Output from encoder via stdout: ERROR: could not open AAC encoder

E:\MeGUI_2341_x86\tools\eac3to\neroAacEnc.exe exist?

lolyondaime
28th May 2013, 00:30
Hello sorry for the late reply, yes its there.

i have:

avcodec-54.dll
avutil-52.dll
changelog.txt
eac3to.exe
hdcd.dll
HookSurcode.dll
libAften.dll
libFLAC.dll
libMatrix.dll
libSsrc.dll
license.txt
neroAacDec.exe
neroAacEnc.exe
neroAacTag.exe
r8b.dll

all located in my E:\MeGUI_2341_x86\tools\eac3to\

tebasuna51
28th May 2013, 09:06
I found the problem, sorry to don't see first time:

[Information] Sample rate: 192000

This samplerate is not supported by NeroAacEnc, use Sample rate: Change to 48000 Hz, at Nero AAC configuration dialog

lolyondaime
28th May 2013, 17:34
Yep you nailed it. Thanks man.

Any idea why that would just suddenly start to happen? I've never had to touch that setting before and it's always worked. It was always on "keep original" for the sample rate previously I believe.

tebasuna51
29th May 2013, 00:47
192 KHz is a high quality samplerate used in audio studios but not usual to listen.