Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > General > Audio encoding

Thread Tools Search this Thread Display Modes
Old 15th January 2010, 20:43   #1  |  Link
Registered User
Join Date: Aug 2007
Posts: 112
BeHappy + normalize: "protected memory" error

I have ripped two DTS-HD Master Audio 5.1 audio tracks from two blu-rays using eAC3to. I am feeding them into BeHappy with NicDtsSource, processing them with "Downmix - Stereo" and "Normalize to 100%". Here's what it says every time:

Starting job 1_3_audio.dts->1_3_audio.mp3
Found Audio Stream
Channels=2, BitsPerSample=32 int, SampleRate=48000Hz
encoder\lame.exe -b 128  -h -S --silent - "D:\...\1_3_audio.mp3"
Writing RIFF header to encoder's StdIn
Writing PCM data to encoder's StdIn
Error: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at BeHappy.AviSynthClip.dimzon_avs_getaframe(IntPtr avs, IntPtr buf, Int64 sampleNo, Int64 sampleCount)
   at BeHappy.Encoder.encode()
The machine is 6 months old, with 6GB RAM, and I have encoded a number of other DTS/AC3 blu-ray tracks with no problems. These two tracks, however, consistently give this result (and consistently 2-2.5 mins after starting the operation). As such, I doubt it's a memory problem.

I ran the same encode without normalizing, and it works fine.

Any help would be appreciated
djloewen is offline   Reply With Quote
Old 15th January 2010, 21:24   #2  |  Link
tebasuna51's Avatar
Join Date: Feb 2005
Location: Spain
Posts: 6,462
I think is a problem with second pass (normalize) with special conditions.
Thanks for the report, is in my TODO list.
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 14:05.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.