View Full Version : BeHappy - AviSynth based audio transcoding tool (UPD 19-07-2006)
Kostarum Rex Persia
6th May 2006, 01:24
Very very nice, Dimzon.
Can you give me download link to newest BeHappy beta with this new ND AAC dialog? Direct link, if possible.
Thank you.
tebasuna51
6th May 2006, 01:48
To avoid the problem for wav's > 4GB and neroAacEnc
http://forum.doom9.org/showthread.php?p=823985#post823985
"I check wav's > 4GB with any value in DataLength and +36 in RiffLength and always work with neroAacEnc -ignorelength, then the problem is use same value for the two fields.
For BeHappy the solution is fill DataLength with 0xFFFFFEDC (0xFFFFFF00 - 36)."
dimzon
6th May 2006, 06:31
Very very nice, Dimzon.
Can you give me download link to newest BeHappy beta with this new ND AAC dialog? Direct link, if possible.
Thank you.
It is not complete yet, wait for 1-2 week...
shon3i
7th May 2006, 12:42
@dimzon i founded one small bug into enc_aacPlus.exe. When use LC-AAC and MP4 container i get fake SBR which have 88.2kHz instead 44kHz and in foobar says that is SBR present but insn't when i remuxed this file with YAMB everything is fine, that is probably because you forgot to clear switch -sbr in mp4box comandline for LC-AAC.
tebasuna51
7th May 2006, 15:44
@Dimzon
Good news at http://forum.doom9.org/showthread.php?p=824472#post824472
New ffmpeg CVS_2006-04-28 works with BeHappy and preserve the 100% original wav volume. In my first test new ffmpeg is better than HeadAC3he v0.24-a13 with 6 db gain.
thuongshoo
8th May 2006, 08:37
HI dimzon! http://img135.imageshack.us/img135/2531/neroheaac6qk.th.png (http://img135.imageshack.us/my.php?image=neroheaac6qk.png). No program can know He-AAC
jjseth
8th May 2006, 10:12
Here is a simply and basic BeHappy MusePack extension.
http://d.turboupload.com/d/584079/mpcextension.rar.html
The extension and the mppenc.exe from www.musepack.net must be in the BeHappy folder of course.
@dimzon:
Maybe you want improve the extension (change the uniqueID, or add a logo), or reject it ;)
shon3i
8th May 2006, 10:21
HI dimzon! http://img135.imageshack.us/img135/2531/neroheaac6qk.th.png (http://img135.imageshack.us/my.php?image=neroheaac6qk.png). No program can know He-AAC
That is everything fine, that is MP4 container bug.
tebasuna51
8th May 2006, 11:24
Here is a simply and basic BeHappy MusePack extension.
...
Hi Shet!. Nice to meet you here.
Thanks for your contribution. Works fine, and also .mpc decode is well supported by BassAudio.
jjseth
8th May 2006, 11:37
Hi Shet!. Nice to meet you here.
Thanks for your contribution. Works fine, and also .mpc decode is well supported by BassAudio.
Hi tebasuna51!!! Nice to meet you too.
My posts in Doom9 are a rara avis cause my english is ¿?¡?¿T?¿¡()((... but i'm an "always on" reader.:D
NorthPole
9th May 2006, 02:08
If You need some fix/improvement please let me know ASAP!
Just had a couple of suggestions if you have a chance.
Anyway to get a "Clear All Jobs" on the job control page.
(now you have to delete jobs one at a time)
Also, have the destination filename change to match the source filename anytime it changes after the inital selection.
(I usually convert 3 - 5 files at a time.)
Otherwise, I like it the way it is now. Thanks again.
NorthPole
9th May 2006, 02:10
New ffmpeg CVS_2006-04-28 works with BeHappy and preserve the 100% original wav volume. In my first test new ffmpeg is better than HeadAC3he v0.24-a13 with 6 db gain.
Thanks for the tip.
thuongshoo
9th May 2006, 05:56
That is everything fine, that is MP4 container bug. really ? shon3i! What do you base on when you say that ? :D
I regret a thing that I dont know any program which can read AAC files except Gspot. Zen( author of MediaInfo) says that reading AAC files is a request :D
buzzqw
10th May 2006, 13:22
Hi Dimzon !
I would like to know if there is any update to BePipe ! i would use it in my mkvmagic (if you agree)
thanks
BHH
buzzqw
10th May 2006, 19:27
sorry to bother but i have some problem with enc_AudX_CLI.exe
C:\Programmi\PureBasic\Prove>BePipe.exe --script "import(^test.avs^)" | enc_AudX_CLI.exe - qqq.mp3
--q 2
##################################################################
Aud-X multichannel encoder CLI frontend
this algorithm has been prepared by: [Aud-X Team www.aud-x.com]
##################################################################
***************************************
BePipe by dimzon
***************************************
Script used:
# BEGIN
import("test.avs")
# END
Scanning for Audio Stream...
Found Audio Stream
Channels=6, BitsPerSample=32, SampleRate=48000Hz
Writing Header...
Writing Data...
0% System.NotSupportedException: Il flusso non supporta la ricerca. ---> "stream doesn't support seek" i can translate
in System.IO.__Error.SeekNotSupported()
in System.IO.__ConsoleStream.get_Position()
in enc_AudX_CLI.WaveFormat.ReadWavHeader(BinaryReader reader)
in enc_AudX_CLI.Main(String[] args)
Done!
C:\Programmi\PureBasic\Prove>
this is my test.avs
loadplugin("C:\Programmi\PureBasic\Prove\exe\filter\nicaudio.dll")
nicac3source("C:\Programmi\PureBasic\Prove\aaa.ac3")
the same script is fine wth oggenc/lame/neroaacenc.exe
any suggestion ?
thanks
BHH
Edit: typos
shon3i
10th May 2006, 19:54
Did you have installed lastest Aud-X codec.
buzzqw
10th May 2006, 20:19
i use audxlib.dll and enc_AudX_CLI.exe present in enc_AudX_CLI.zip on dimzon gotnet page.
need i something other ?
BHH
tebasuna51
11th May 2006, 00:44
The last alpha Bepipe still have the bug writing wav headers detected for BeHappy in my post:
http://forum.doom9.org/showthread.php?p=758076#post758076
Maybe enc_AudX_CLI.exe detect the error and abort. See the routine name in log:
" in enc_AudX_CLI.WaveFormat.ReadWavHeader"
Others encoders may ignore the error (isn't a important parameter).
In any case, I agree with buzzqw, Bepipe can be used in others app. (see NeroAacEnc thread) and may need a update.
buzzqw
11th May 2006, 07:11
@tebasuna51
Thanks for the info.
since avs2wav isn't so good i will hope in bepipe update !
BHH
dimzon
13th May 2006, 19:00
@Dimzon
Good news at http://forum.doom9.org/showthread.php?p=824472#post824472
New ffmpeg CVS_2006-04-28 works with BeHappy and preserve the 100% original wav volume. In my first test new ffmpeg is better than HeadAC3he v0.24-a13 with 6 db gain.
WOW! Really good news! Thanx a lot!
enc_AudX_CLI.exe bug will be fixed a little later...
shon3i
13th May 2006, 19:03
@dimzon you finaly back, can you check aslo this bug in encaacplus.exe
@dimzon i founded one small bug into enc_aacPlus.exe. When use LC-AAC and MP4 container i get fake SBR which have 88.2kHz instead 44kHz and in foobar says that is SBR present but insn't when i remuxed this file with YAMB everything is fine, that is probably because you forgot to clear switch -sbr in mp4box comandline for LC-AAC.
dimzon
13th May 2006, 19:08
@dimzon you finaly back, can you check aslo this bug in encaacplus.exe
Just one question - does anybody still need this encoder since 100% free and legal solution from Nero are avaluable?
shon3i
13th May 2006, 19:11
Just one question - does anybody still need this encoder since 100% free and legal solution from Nero are avaluable?
I think just me ;)
NorthPole
13th May 2006, 19:46
Just one question - does anybody still need this encoder since 100% free and legal solution from Nero are avaluable?
Not me! Using either the free nero encoder or the new ffmpeg encoder.
dimzon
15th May 2006, 14:37
@dimzon you finaly back, can you check aslo this bug in encaacplus.exe
done ;)
dimzon
15th May 2006, 15:02
Ok, second name for this Effect is Wavesharper
There are big amount of such formulas
http://musicdsp.org/archive.php?classid=4#207
http://www.google.com/search?lr=&ie=UTF-8&oe=UTF-8&q=Waveshaper
and finally found good approximation
http://img217.imageshack.us/img217/1803/testnew6pc.png
yellow is tera
pink is .55 * Math.Atan(6*x)
Some code from LigH
http://www.ligh.de/software/booster.zip
const
HalfPi = Pi/2;
function BoostStrong(Value: Single): Single;
begin
Result := TanH(Value);
end;
function BoostMedium(Value: Single): Single;
begin
Result := ArcTan(Value*HalfPi)*HalfPi;
end;
function BoostSoft(Value: Single): Single;
begin
Result := Value/(Abs(Value)+1);
end;
Another good news is BeHappy is now @ third place
http://img169.imageshack.us/img169/650/bh33zw.th.png (http://img169.imageshack.us/my.php?image=bh33zw.png)
shon3i
15th May 2006, 16:30
done ;)
Nice, everything work pefertly now. Thanks
dimzon
16th May 2006, 01:30
new UNSTABLE version is out
get it @ BeHappy workspace at Your own risk
http://img226.imageshack.us/img226/1974/14oa1.png
http://img226.imageshack.us/img226/222/20mg.png
http://img226.imageshack.us/img226/2333/33ut.png
http://img55.imageshack.us/img55/4022/48vn.png
Yama4050242
16th May 2006, 02:48
both BeHappy & megui do not support nero 2pass? why?
buzzqw
16th May 2006, 07:15
Using avisynth isn't possibile to do a 2 pass encoding (with piping).
Behappy should first dump the wav file then do the 2 pass encoding... it's a quite long process
BHH
shon3i
16th May 2006, 11:38
@dimzon, one question:
did you include new CT dialog or not
and can you use mp4 for default extesion insted m4a
buzzqw
16th May 2006, 12:18
and can you use mp4 for default extesion insted m4a
afaik mp4 mean m4a muxed into mp4 container... so is different from m4a
BHH
dimzon
16th May 2006, 12:38
afaik mp4 mean m4a muxed into mp4 container... so is different from m4a
Wrong! m4a is AAC in MP4 container. So it's just mp4 renamed to m4a
@dimzon, one question:
did you include new CT dialog or not
Not yet.
and can you use mp4 for default extesion insted m4a
Personally I prefer m4a for audio-only and mp4 for audio+video
bcz I'm using foobar2000 to play m4a (via file association) and MPC to play mp4 (via file association)...
Actually I believe that different extension for audio-only media is good way:
RIFF: WAV & AVI
ASF: WMA & WMV
Matroska: MKA & MKV
MP4: M4A & MP4
OGM: OGG & OGM
shon3i
16th May 2006, 12:55
Personally I prefer m4a for audio-only and mp4 for audio+video
damn, i just prefer mp4 for both audio and video, can you in next release show nero and ct encoders as extension, so than i can change this manunaly, if that possible
Not yet.approx.
dimzon
16th May 2006, 13:16
damn, i just prefer mp4 for both audio and video, can you in next release show nero and ct encoders as extension, so than i can change this manunaly, if that possible
approx.
Hmm... Maybe I will add ability to use last used extension by default instead first from the list.
Kurtnoise
16th May 2006, 13:33
@Dimzon : looking at the Lame picture, the window title is wrong I think. ;)
m4a is AAC in MP4 container
We can store also mp3 and alac into the m4a. :)
dimzon
16th May 2006, 13:49
@Dimzon : looking at the Lame picture, the window title is wrong I think. ;)
Copy/Paste - the greatest programming paradigm ;)
We can store also mp3 and alac into the m4a. :)
Agreed
Rockaria
16th May 2006, 15:53
Another good news is BeHappy is now @ third place
http://img169.imageshack.us/img169/650/bh33zw.th.png (http://img169.imageshack.us/my.php?image=bh33zw.png)
Also do you agree that you don't need to (& should not) use my id in your project as I said long ago? It is not only reflecting the reality wrongfully, I am not feeling any honered by those kind of fixture at all.
It's not a simple idea, but a complete set of my philosophy through my own career. I have been independant since very long ago, so should it be reflected as such.
SirLamer
17th May 2006, 02:32
I am having trouble getting this to run. I know I am doing something dumb, but... I need help! heh
When I try to convert from an AC3 into AAC using BeHappy, I get this error log:
Starting job VTS_01_1 01 en-English 3_2ch 448Kbps DELAY 0ms.ac3->moulin rouge audio.mp4
Error: BeHappy.AviSynthException: Script error: there is no function named "NicAc3Source"
at BeHappy.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at BeHappy.Encoder.encode()
I have put NicAudio.dll in the MeGUI folder (where I put BeHappy as well) and AviSynth's plugins folder. Does anyone have any ideas?
Also, I am curious - while I know AAC supports 96kHz sample rates, does it also support 24bit fidelity? I have found nothing that says it is either 16bit or 24bit. Does anyone know?
SirLamer
17th May 2006, 05:17
Hey,
I found out that the error is because the generated AviSynth script is missing a line of code:
LoadPlugin("NicAudio.dll")
It sould appear before the nic script is called.
dimzon
17th May 2006, 06:11
Also, I am curious - while I know AAC supports 96kHz sample rates, does it also support 24bit fidelity? I have found nothing that says it is either 16bit or 24bit. Does anyone know?
ATM BeHappy doesnt support anything except 16 bit
Hey,
I found out that the error is because the generated AviSynth script is missing a line of code:
LoadPlugin("NicAudio.dll")
It sould appear before the nic script is called.
No. Just place NicAudio.dll into AviSynth plugin folder
SirLamer
17th May 2006, 18:04
Well I did that, and it wasn't sufficient.
Adding the line of code made it work suddenly.
dimzon
17th May 2006, 18:18
Well I did that, and it wasn't sufficient.
Adding the line of code made it work suddenly.
impossible
SirLamer
18th May 2006, 01:19
Okay, then don't believe me. You could focus on a possible bug in your program, or you can claim it to be fantasy, it is your choice.
I don't have AviSynth installed in the default location. I will try reinstalling it in the default folder and see if that fixes things.
By the way, it would be nice if one were able to export AAC in a .mp4 container, since it has support with more media players.
UPDATE: Indeed, installing AviSynth at its default location corrected the error.
ANOTHER UPDATE: I had StaxRip installed, and it's possible that it decided to swap the registry link from the AviSynth folder I installed to its own plugins folder.
dimzon
18th May 2006, 08:41
new unstable development build out!
New CT AAC encoder GUI
New TimeStretch encoder GUI
dimzon
18th May 2006, 08:44
Okay, then don't believe me. You could focus on a possible bug in your program, or you can claim it to be fantasy, it is your choice.
I don't have AviSynth installed in the default location. I will try reinstalling it in the default folder and see if that fixes things.
By the way, it would be nice if one were able to export AAC in a .mp4 container, since it has support with more media players.
UPDATE: Indeed, installing AviSynth at its default location corrected the error.
ANOTHER UPDATE: I had StaxRip installed, and it's possible that it decided to swap the registry link from the AviSynth folder I installed to its own plugins folder.
So this is not a bug in BeHappy application as I said before. You just placed NicAudio.dll in wrong folder.
shon3i
18th May 2006, 10:41
new unstable development build out!
New CT AAC encoder GUI
New TimeStretch encoder GUI
Nice, Thank You.
stax76
18th May 2006, 13:41
Any chance adding COM automation suport?
dimzon
18th May 2006, 13:51
Any chance adding COM automation suport?
Any reason to ask about it? :rolleyes:
stax76
18th May 2006, 14:39
In my case I'm interested to use BeHappy for audio encoding with StaxRip. A CLI might even be better since StaxRip has already generic CLI support. Generally scripting and CLI is always a good thing, don't you think?
There is always a feature missing and scripting is often the rescue here. I've extened dozens of applications for personal use including most of my media apps like MediaMonkey, iTunes, DVBViewer, they all got a huge scripting SDK.
BeHappy would then be usable from the command prompt, batch files, and all serious programming and scripting languages. It can already be hacked easily from .NET but it's nicer to use a real SDK, late binding etc. instead of reflection on private code.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.