Log in

View Full Version : BeHappy - AviSynth based audio transcoding tool (UPD 19-07-2006)


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27

tebasuna51
25th January 2008, 05:02
Dear friends! I decide to continue BeHappy development.
Hi, dimzon!
You are welcome back. You need explain us your 'holidays' :rolleyes:

If You want to participate post Your CodePlex nick's here, I will add You to this project.
2 tebasuna51 I trust You, so do You want to be BeHappy project coordinator?
Thanks for your trust, of course if can help to BeHappy project you can add my CodePlex nick (always tebasuna51).

And, I think, the project coordinator job is not so hard like you can see by the thread activity. Or you have new ideas about?
For me BeHappy is near perfect and only need some update when AviSynth/decoders/encoders change.

Actually the free soft audio development seems focused to decode new audio formats of HD/BD specs. Maybe (also for Megui) we need new AviSynth decoders for eac3, TrueHD, ...

And about 'mods' don't worry, I think the more important is only delete some code in AviSynthWrapper to take advantage of the new AviSinth 2.5.7 about 32 bit float output.

The last sources are in the second post of this thread. Do you want talk about these finish sources or one per one with all the 'moders'?

patul
25th January 2008, 05:50
OMG Dimzon, I am very glad you're back... where have you been? :D :D Nice to see you again, buddy...

You know, meanwhile you were off, tebasuna51, Chumbo and shon3i were doing very good job to add quite a lot of updates, kudos for them.

I agree with tebasuna51 that BeHappy is nearly perfect and my wish is just keep it as simple as it can be, it will help n00b like me a LOT...

I'm looking forward for updates :D :D

dimzon
25th January 2008, 15:01
Hi 2 all!
I was extremely busy in my real life. Unfortunately I still doesn't have much free time now too...
I'm very surprised (really, I was shocked after quick look at this thread after 2 years) for Your updates e.t.c. But Why You doesn't create project hosting on some service like CodePlex / SourceForge / GoogleCode? File exchange via FileFactory is a really ugly solution for project management...

now talking about "mods"
first of all I have commited latest (2007-10-16) BeHappy sources onto CodePlex. it doesn't include custom avisynth filters etc.
I think we must create different project for AviSynth filters (one for all or one project per filter) bcz they can be used without BeHappy itself.

Now about float processing into AviSynth wrapper ( http://www.codeplex.com/AvisynthWrapper ). I don't like current solution bcz it can broke compatibility. I think we must keep dimzon_avs_init as is and add new dimzon_avs_init_2 and use it. Don't take me wrong, I really want to avoid all possible Version/Fork Hell.

Now about binary releases. I think somebody can combine full package with installer and upload it onto CodePlex.

2 tebasuna51 - You are BeHappy/AvisynthWrapper coordinator now, welcome! Feel free to add new developers to this projects.

tebasuna51
25th January 2008, 21:23
first of all I have commited latest (2007-10-16) BeHappy sources onto CodePlex. it doesn't include custom avisynth filters etc.
Thanks, I see.

I think we must create different project for AviSynth filters (one for all or one project per filter) bcz they can be used without BeHappy itself.
Is true, there are not only for BeHappy, maybe:
- AviSynthWrapper (MeGUI, ...)
- enc_aacPlus (WinampAAC) (command-line or with Foobar, eac3to, ...)
- enc_AudX_CLI (command-line or with Foobar, eac3to, ...)
- Bepipe (command-line used to automate jobs)
- WavSplit (can work in comand-line or with Foobar)
- BassAudio (AviSynth input filter)
- RaWav (AviSynth input filter)

Now about float processing into AviSynth wrapper ( http://www.codeplex.com/AvisynthWrapper ). I don't like current solution bcz it can broke compatibility. I think we must keep dimzon_avs_init as is and add new dimzon_avs_init_2 and use it.
No problem, we can use dimzon_avs_init_2() in AvisynthWrapper.cs and the AvisynthWrapper.dll can remain unique

Now about binary releases. I think somebody can combine full package with installer and upload it onto CodePlex.
Yes, Shon3i was make this job until now.
I think we can make a release after the AvisynthWrapper change and enc_aacPlus solution (actually there are a little bug, but maybe there are also other problems).
Please check the enc_aacPlus thread (http://forum.doom9.org/showthread.php?p=977901#post977901) and open the WinampAAC project with a unified code.

You are BeHappy/AvisynthWrapper coordinator now, welcome! Feel free to add new developers to this projects.
Thanks, first I must learn how CodePlex work.

Chumbo
26th January 2008, 02:59
Hey guys,
What's the best way to get this mod into the project? I think this is a useful UI "fix" for the DSP stuff. I had added it to the last test mod I did.

+ Updated the DSP Move buttons to behave according to selection and position.

I'll have to check how CodePlex works too.

tebasuna51
26th January 2008, 14:13
Hey guys,
What's the best way to get this mod into the project? I think this is a useful UI "fix" for the DSP stuff. I had added it to the last test mod I did.

+ Updated the DSP Move buttons to behave according to selection and position.

I'll have to check how CodePlex works too.

First you need register in CodePlex, after you can say me the nick (if other than Chumbo) and I can add you to the project like developer.

BTW, I don't know what do your recent update (Updated the DSP Move buttons ...) for me work fine with old version.

Chumbo
26th January 2008, 15:13
First you need register in CodePlex, after you can say me the nick (if other than Chumbo) and I can add you to the project like developer.

BTW, I don't know what do your recent update (Updated the DSP Move buttons ...) for me work fine with old version.
Okay, sounds good. Yes it worked fine, but things like when you select the first item the Move Up shouldn't be active, likewise, when you select the last item the Move Down shouldn't be active. And if you have none selected, then none of the Move buttons should be active and so on. Just a way to keep the user from getting in trouble and more intuitive. :)

[EDIT]Okay, I registered over there using Chumbo.

tebasuna51
26th January 2008, 16:17
Okay, I registered over there using Chumbo.

Now you are BeHappy project developer.
At Source Code tab visit the CodePlex Client project

Chumbo
27th January 2008, 00:56
Now you are BeHappy project developer.
At Source Code tab visit the CodePlex Client project
Okay, I've checked out everything using TortoiseSVN and made the modifications. How do you want me to check it back in? You want me to commit the changes or branch it to a new repository? Or something else? I may have a few more questions until we solidfy developer protocol. Thanks much.

[EDIT] Okay, it was easy enough to figure out. The CodePlex Client will be easy enough to use, so I won't use the SVN stuff. I checked in the update and created a hidden maintenance mod under the Releases tab with a status of Planned. It only contains my latest .exe compiled release build. You can decide on making it an official release or not. I included the changes in the Description too.

shon3i
27th January 2008, 23:17
Yes, Shon3i was make this job until now.
I think we can make a release after the AvisynthWrapper change and enc_aacPlus solution (actually there are a little bug, but maybe there are also other problems).
Please check the enc_aacPlus thread and open the WinampAAC project with a unified code.i will continue to release packages, and aslo to update enc_aacplus. Currently i am busy until next month, when i will release new package and fixed enc_aacplus like you suggest

Chumbo
28th January 2008, 01:41
tebasuna,
When you have a minute. I moved my last build to the Planned stage. If you can check it out and then decide if you want to make it a release so when shon3i is ready the new package can include it. :) Thanks much.

tebasuna51
28th January 2008, 13:27
I wait until AviSynthWrapper and enc_aacplus are modified to do a new release. Thanks.

grennis
29th January 2008, 20:46
What happened to BePipe?

tebasuna51
1st February 2008, 13:54
@Dimzon
I know you are busy, I try to do the job I can:
- There are a new AviSynthWrapper release (init_2 and strncpy_s), BeHappy work like with the old_one (only 16 bit output) then don't be used yet until the mod to call init_2 (I'm over this).

But we need you about the enc_aacplus project and, maybe, with Bepipe project:
- The last bepipe binary have little bugs and can be improved but the sources in old GotDotNet are from a pre-alpha build (.NET v1.1). Do you have the last sources?

dimzon
1st February 2008, 15:35
@Dimzon
I know you are busy, I try to do the job I can:
- There are a new AviSynthWrapper release (init_2 and strncpy_s), BeHappy work like with the old_one (only 16 bit output) then don't be used yet until the mod to call init_2 (I'm over this).
fine

But we need you about the enc_aacplus project
It's easy, I will create it @ CodePlex and make You coordinator
http://www.codeplex.com/aacPlusCLI


The last bepipe binary have little bugs and can be improved but the sources in old GotDotNet are from a pre-alpha build (.NET v1.1). Do you have the last sources?
No. Actually BePipe was very easy application, it's possible to recreate it by striping down BeHappy ;) Does anybody really need BePipe?

tebasuna51
5th February 2008, 18:10
Well, I hope all sources and binaries needed for BeHappy can be obtained from:

BeHappy - Home (http://www.codeplex.com/BeHappy)
AvisynthWrapper - Home (http://www.codeplex.com/AvisynthWrapper)
aacPlusCLI - Home (http://www.codeplex.com/aacPlusCLI)

Shon3i and Alwa, like recent collaborators, are explicitly invited to work like developers but any suggestion are welcome.

@Chumbo, your mod are included (read my message in your Planned build)

Chumbo
5th February 2008, 19:44
Well, I hope all sources and binaries needed for BeHappy can be obtained from:

BeHappy - Home (http://www.codeplex.com/BeHappy)
AvisynthWrapper - Home (http://www.codeplex.com/AvisynthWrapper)
aacPlusCLI - Home (http://www.codeplex.com/aacPlusCLI)

Shon3i and Alwa, like recent collaborators, are explicitly invited to work like developers but any suggestion are welcome.

@Chumbo, your mod are included (read my message in your Planned build)
Yep, no problem.

alwa
6th February 2008, 17:46
Add me, name is alwa. Thanks. :)

shon3i
6th February 2008, 20:10
Add me, name is alwa. Thanks. :)
Me to, as shon3i :)

@tebasuna51, did you compile last enc_aacplus?

tebasuna51
6th February 2008, 20:49
Add me, name is alwa. Thanks. :)

Done

@shon3i, first you must register your name in CodePlex.

And yes, I make a compile from the actual source (many warnings about deprecated functions but seems work). There are any problem?
I'm not a expert C programmer and I need your help.

NorthPole
8th February 2008, 00:12
No. Actually BePipe was very easy application, it's possible to recreate it by striping down BeHappy ;) Does anybody really need BePipe?

Actually, I still use Bepipe...(Probably the only one). Although I did made a couple of minor, local mods to the code which I can't seem to remember right now. Works good for my needs.

Dimzon, Glad to have your back!

NorthPole
8th February 2008, 00:19
The last bepipe binary have little bugs and can be improved but the sources in old GotDotNet are from a pre-alpha build (.NET v1.1). Do you have the last sources?

@tebasuna51

I have the original code from November 2005 if you are interested. (Probably the same as your).

tebasuna51
8th February 2008, 03:21
I have the original code from November 2005 if you are interested. (Probably the same as your).

Yes from 2005-11-25, but I think is not the last.

Bepipe is useful for command line usage and I see some GUI's than use Bepipe also. BTW we can use also Wavi and SoundOut for avs script's.

NorthPole
15th February 2008, 20:43
Has anyone had success using the TTA encoder with BeHappy/Bepipe. http://tta.sourceforge.net/

I can't seem to get the pipe to work. I can get it to encode correctly using the command line with a wav file but not with the pipe.

Thanks.

NorthPole
15th February 2008, 22:26
Update:

Found a working patched version here http://etree.org/shnutils/shntool/

Seems to work OK with BeHappy.

tebasuna51
16th February 2008, 01:02
Found a working patched version here http://etree.org/shnutils/shntool/

Seems to work OK with BeHappy.

Yep, with this version and a ttaenc.extension file like:
<?xml version="1.0"?>
<BeHappy.Extension xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://workspaces.gotdotnet.com/behappy">
<AudioEncoder Name="TTAenc 3.4.1" UniqueID="e482a270-dc16-11dc-95ff-0800200c9a66">
<ExecutableFileName>ttaenc.exe</ExecutableFileName>
<Script>32==Audiobits(last)?ConvertAudioTo24bit(last):last</Script>
<ExecutableArguments>-e -o "{0}" -</ExecutableArguments>
<SupportedFileExtension>tta</SupportedFileExtension>
</AudioEncoder>
</BeHappy.Extension>

we can support output lossless tta files.

NorthPole
16th February 2008, 22:07
@tebasuna51,

Thanks for the extension... saved me the work!

tebasuna51
16th April 2008, 02:16
New BeHappy 0.1.9.50201 (http://www.codeplex.com/BeHappy) release, include:

- NicAudio v2.0.1 (http://www.codeplex.com/NicAudio)
- BassAudio for Bass 2.4 libraries. Now seems work with multichannel aac and others formats.
- enc_aacPlus (http://www.codeplex.com/aacPlusCLI)
- TTA support and other minor changes.

Geleodor
16th April 2008, 09:33
BassAudio seems to make incorrect channel mapping, when I decode .ac3 to mono .wavs. I have just got FL, but it is central channel; BR, but it is LFE....and so on
NicAudio make it correctly...

tebasuna51
16th April 2008, 10:50
BassAudio seems to make incorrect channel mapping, when I decode .ac3 to mono .wavs. I have just got FL, but it is central channel; BR, but it is LFE....and so on
NicAudio make it correctly...

You are right, like you can read in the plugins/readme.txt I don't recommend bass_ac3 for ac3 decode because there are problems with channelmapping for some acmod-lfeon options.

Always use NicAudio v2 (with this acmod-lfeon options revised) for ac3, dts, mpeg, lpcm and other uncompresed formats.

For aac, ogg, wma, flac, and others you can use BassAudio.

mob
17th April 2008, 01:07
Hey guys,

I got BeHappy from http://www.codeplex.com/BeHappy/ and it is very good!

So I have a question about how it is adding a switch to the command line of LAME.

When I set it up to do VBR 5 it give this command:

lame.exe -v -V 5 --nohist --vbr-new -S --silent - "C:\test.mp3"

So why is it -v -V 5? Instead it should be only -V 5 right?

And also, another question. In the LAME encoder configuration, what is that setting: comply as much as possible to ISO MPEG spec?

Thanks! :)

tebasuna51
17th April 2008, 03:15
Hey guys,

I got BeHappy from http://www.codeplex.com/BeHappy/ and it is very good!

So I have a question about how it is adding a switch to the command line of LAME.

When I set it up to do VBR 5 it give this command:

lame.exe -v -V 5 --nohist --vbr-new -S --silent - "C:\test.mp3"

So why is it -v -V 5? Instead it should be only -V 5 right?

And also, another question. In the LAME encoder configuration, what is that setting: comply as much as possible to ISO MPEG spec?

Thanks! :)
Yes, maybe we need some update :

-v -V 5 --vbr-new

actually is enough use only -V 5 because the default is --vbr-new and -v is superfluous.

'comply as much as possible to ISO MPEG spec'

do nothing because the corresponding parameter:
--strictly-enforce-ISO
is not included, BTW I don't know if anybody need this.

mob
17th April 2008, 05:04
Yes, maybe we need some update :

-v -V 5 --vbr-new

actually is enough use only -V 5 because the default is --vbr-new and -v is superfluous.

'comply as much as possible to ISO MPEG spec'

do nothing because the corresponding parameter:
--strictly-enforce-ISO
is not included, BTW I don't know if anybody need this.

Yeah I knew something had to be wrong because I always check the hydrogenaudio for the best settings for LAME: http://wiki.hydrogenaudio.org/index.php?title=LAME#Recommended_encoder_settings

and they never use that -v switch. Only -V as in -V 4 --vbr-new

Well, perhaps you can add a feature so we can use our own commandline switches. Sometimes I like to just use my own commandline switches without using the dialog with all the options. It gives more control if you let the user make his own commandline options. Can this be added maybe?

Geleodor
17th April 2008, 10:06
What settings should I use to encode multichannel AAC from multichannel.wav? Or multichannel AAC can be just as input, not output ?

tebasuna51
17th April 2008, 12:08
and they never use that -v switch. Only -V as in -V 4 --vbr-new
Don't worry about this. Using more parameters we guarantee compatibility with old and beta versions because the defaults can change. See that:
VBR options: 3.97
-v use variable bitrate (VBR) (--vbr-old)
--vbr-old use old variable bitrate (VBR) routine
--vbr-new use new variable bitrate (VBR) routine
-V n quality setting for VBR. default n=4
0=high quality,bigger files. 9=smaller files

VBR options: 3.98 beta 7
-V n quality setting for VBR. default n=4
0=high quality,bigger files. 9=smaller files
-v the same as -V 4
--vbr-old use old variable bitrate (VBR) routine
--vbr-new use new variable bitrate (VBR) routine (default)
The syntax:
-v -V 5 --vbr-new
work fine with 3.96, 3.97 and 3.98 beta Lame versions.

Well, perhaps you can add a feature so we can use our own commandline switches. Sometimes I like to just use my own commandline switches without using the dialog with all the options. It gives more control if you let the user make his own commandline options. Can this be added maybe?
What is your BeHappy version?
Only the bitrate, with the allowed values, are forced in the dialog.
There are a window to add your commandline switches, I always add at least -h.

tebasuna51
17th April 2008, 12:41
...multichannel AAC can be just as input, not output ?
Maybe a input if you select BassAudioSource (BassAudio.dll, Bass.dll and bass_aac.dll required in ...AviSynth 2.5\plugins folder) or DirectShowSource with some DS filter to decode aac well configured.

And can be a output if you have the encoders. BeHappy can work with:
- Nero Digitall AAC (NeroAacEnc.exe in BeHappy folder or encoder subfolder)
- Coding Technologies aacPlus (enc_aacPlus.exe, enc_aacplus.dll and nscrt.dll in BeHappy folder or encoder subfolder)

What settings should I use to encode multichannel AAC from multichannel.wav?

1) With NeroAacEnc I recommend you use:
- VariableBitRate with quality between 2.5 and 4 (is your choice)
- Aac Profile: Automatic
- The rest unchecked
The output is always in m4a/mp4 container.

2) With CT only CBR is allowed and for multichannel:
- Profile LC-AAC with bitrates between 224-320 Kb/s
- Or Profile HE-AAC for bitrates between 192-223 Kb/s
- Ignore the Channel Mode valid only for stereo.
- The rest unchecked
The output is .aac if you need m4a/mp4 container you need also Mp4Box.exe in BeHappy folder or encoder subfolder.

mob
17th April 2008, 21:38
Hey tebasuna51, try to test it out like I did and see how it happens:

I used any MP3 file for testing. I input the MP3 file to BeHappy and I want to transcode it with -V 2 --vbr-new so I set it up like this with the dialog:

http://img378.imageshack.us/img378/5493/95187853mk0.th.jpg (http://img378.imageshack.us/my.php?image=95187853mk0.jpg)

But then it sends the MP3 to LAME with this command instead: -v -V 2 --nohist --vbr-new -S --silent

Now, you said this going to be working fine for all the versions of LAME, but I find that this is not true.

I am using LAME 3.97 from: http://rarewares.org/dancer/dancer.php?f=lame-current

And when I pass my test MP3 file to the LAME commandline encoder (without using BeHappy) then I get a totally different file. So BeHappy is adding unwanted command options and it's causing the encode to be different. Take a look at my findings:

_____________________________________

test.mp3 -> BeHappy -> output.mp3 with these settings:

http://img378.imageshack.us/img378/5493/95187853mk0.th.jpg (http://img378.imageshack.us/my.php?image=95187853mk0.jpg)

Gives me: output.mp3 (5.94 MB) CRC: d4502ba8

_____________________________________


But if I only use LAME encoder in the commandline:

test.mp3 -> LAME.exe -> output.mp3 with these settings:

-V 2 --vbr-new

Gives me: output.mp3 (6.21 MB) CRC: d4238540

_____________________________________


So you can see, using BeHappy is not accurate because you are adding switches that are confusing it.

That is why I need an advanced option so I can disable all the things that BeHappy is adding to the commandline and then I'll use my own commandline switches.

btw, I'm using the same version/build of LAME for BeHappy in my test. So the output should come out as the same file. But it is different as you can see. Try to do the test also and see how it happens. This is why you should allow the people to make their own switches. If you add switches to their commands then it will mess up the output :(

tebasuna51
18th April 2008, 00:20
Believe me! :)
The parameters are ok.

Your test is not correct, you can't compare this:

1.mp3 -> Lame Decoder -> Lame Encoder -> 11.mp3

with:

1.mp3 -> NicMPG123/BassAudio decoder (32 float) -> 32 int conversion -> Lame Encoder -> 12.mp3

When BeHappy decode a file use the max precision (32 bits float here) to allow operations like stretch, resample, ... without lose quality.

Unfortunately Lame don't accept 32 bits float and we need convert to 32 int before send the data to Lame.

Like you see the process is different. But you can do the test using a uncompressed wav file. I get a wav file (ripped from CD) and I make the test (with -V 2):

1.wav -> Lame.exe -> 11.mp3 4.196.754 bytes
1.wav -> BeHappy -> 12.mp3 4.196.754 bytes

And bitidentical (Total Commander) of course.
Make the test yourself. :rolleyes:

mob
18th April 2008, 00:58
LOL tebasuna51 :)

So maybe I don't know much about all of this stuff. But if you say it is good then I believe you because you know a lot more about this kind of stuff then me :)

Anyway, see my whole problem is that I am going to convert a PAL mp3 to a NTSC mp3 and I found BeHappy to be the best one to do the job.

I need to do this PAL -> NTSC conversion because the PAL audio is messed up with a high pitch sound. I need to get it back to 23.976 and get it back to the original sound.

So I do a timestretch with BeHappy and I select the option Rate for the Rate Control:

http://img443.imageshack.us/img443/8636/sdf1ie2.th.jpg (http://img443.imageshack.us/my.php?image=sdf1ie2.jpg)

This gives me the exact kind of conversion that I need. And BeHappy really makes me Happy :)

Except now I found this is what they say about Timestretch on the AviSynth website:

Timestretch() by the nature of the algorithm used causes noticeable distortion in the result, generally use it for speech only, never for high quality music.

So is it true? Is it really causing "noticeable distortion" and bad artifacts? Maybe there is a method of doing the conversion that will not cause noticeable distortion?

tebasuna51
18th April 2008, 02:19
Anyway, see my whole problem is that I am going to convert a PAL mp3 to a NTSC mp3 and I found BeHappy to be the best one to do the job.

I need to do this PAL -> NTSC conversion because the PAL audio is messed up with a high pitch sound. I need to get it back to 23.976 and get it back to the original sound.

So I do a timestretch with BeHappy and I select the option Rate for the Rate Control

Please don't use with audio:
"convert a PAL mp3 to a NTSC mp3"
because the audio is the same in PAL or NTSC systems.

The correct way to do a PAL -> NTSC conversion is modify the video and let untouched the audio.

Seems you have a 25 fps video and want play this video at 23.976, without conversion the duration is greater and you need enlarge also the audio to match the new video duration. Like the initial audio have high pitch (maybe by the inverse conversion) the desired method is Rate.

Then you are lucky because this method don't produce "noticeable distortion or bad artifacts". Is a simple change of samplerate.

Only when we need change the duration preserving the pitch (or change the pitch without change the duration) the conversion can't be perfect.

mob
18th April 2008, 02:35
Seems you have a 25 fps video and want play this video at 23.976
Yep that's exactly what I have to do. I already got the video from 25fps -> 23.976. My only trouble now is to get the audio to match it.

And the only reason I need to do it is because when they made the PAL version of my DVD, they speed up the audio and it sounds too high pitch. If I slow it back down to the normal 23.976fps then it will sound normal again. They make the PAL DVDs so bad like this :(

Like the initial audio have high pitch (maybe by the inverse conversion) the desired method is Rate.

Then you are lucky because this method don't produce "noticeable distortion or bad artifacts". Is a simple change of samplerate.

Yep! I used the Rate method like you see in this screenshot:

http://img443.imageshack.us/img443/8636/sdf1ie2.th.jpg (http://img443.imageshack.us/my.php?image=sdf1ie2.jpg)

So you mean, with this method I can be safe because it doesn't have the distortion problem?

If yes, than that's good. And it fixes all my problems :)

tebasuna51
18th April 2008, 03:20
So you mean, with this method I can be safe because it doesn't have the distortion problem?

Yep, the process is change the samplerate from 48000 Hz to 50050 Hz then there are more samples, and after play the audio at 48000 Hz then the duration grow and the pitch decrease.

mob
18th April 2008, 06:21
Yep, the process is change the samplerate from 48000 Hz to 50050 Hz then there are more samples, and after play the audio at 48000 Hz then the duration grow and the pitch decrease.

WOW :)

This is perfect!

BeHappy really makes me Happy hehe

...but tebasuna51 makes me smart. :)

Thanks for helping me and explaining everything to me. I really appreciate it man :)

:thanks:

adrianmak
29th April 2008, 13:52
the gui looks complex.

How do I use it to convert a 5.1 ac3 to 6 individual wave file ?

tebasuna51
29th April 2008, 19:32
How do I use it to convert a 5.1 ac3 to 6 individual wave file ?
System requirements
* Microsoft .NET Framework Version 2.0
* Avisynth v2.57

Install
1) From the BeHappy package uncompress the following files/subfolders in a folder at your choice:
AvisynthWrapper.dll
BeHappy.exe
encoder
extensions
plugins

2) Copy nicaudio.dll from plugins subfolder to your AviSynth 2.5/plugins subfolder.

Process
Run BeHappy.exe and in New Job Tab:

1) Select the [1] Source method NicAc3Source and [...] Configure. I suggest you don't use DRC.
Select [...] your source ac3 file.

2) Select the desired [2] Tweak functions.
Maybe you need include a Delay detected in your source.

3) Select the desired [3] Digital Signal Processing functions. Each function can be Configured and Moved Up/Down because are executed in descending order.
The NicAudio decoder output have 32 bit float samples. Maybe you want Convert Sample To 16 bit (or 24 int ...)

4) Select the [4] Destination format WavSplit and [...] Configure like Mono Wav's.
Select [...] your desired output filename. This filename is used like prefix and each channel is suffixed with _FL, _FR, ... and so on.

5) Enqueue. Go to Queue Tab and Start the job.

cweb
30th April 2008, 11:19
When I quite BeHappy v0.19.50201 I get an error "Unhandled exception has occurred in your application. If you click Continue the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Item has already been added. Key in dictionary:
'58ab9132-50c8-11dc-8314-0800200c9a66' Key being added:
'58ab9132-50c8-11dc-8314-0800200c9a66'
"

Any ideas on what could be wrong?

tebasuna51
30th April 2008, 13:29
Item has already been added. Key in dictionary:
'58ab9132-50c8-11dc-8314-0800200c9a66' Key being added:
'58ab9132-50c8-11dc-8314-0800200c9a66'
"

Any ideas on what could be wrong?
Seems the NicAudio ID (see Nicaudio.extension) is duplicated in your machine:
<AudioSource UniqueID="58ab9132-50c8-11dc-8314-0800200c9a66">


If you don't know what is the problem try edit Nicaudio.extension and change the line by other one, for instance:
<AudioSource UniqueID="58ab9132-50c8-11dc-8314-0800200c9b66">

tebasuna51
30th April 2008, 18:08
@cweb

Maybe you have the old RaWav.extension in BeHappy folder.
Now is inside NicAudio.extension (same ID), and you need delete RaWav.extension and also RaWav.dll in AviSynth 2.5\plugins folder if exist.

EpheMeroN
5th May 2008, 05:52
BeHappy v0.1.9.50201 is reporting the following error when trying to do AC3 > mp3 transcode:

Starting job VTS_01_1 T80 3_2ch 384Kbps DELAY 0ms.ac3->dvd-xvid-audio.mp3
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 the latest NicAudio.dll in both BeHappy\Plugins dir and AviSynth\Plugins dir. What could be causing this?

cweb
5th May 2008, 08:52
@cweb

Maybe you have the old RaWav.extension in BeHappy folder.
Now is inside NicAudio.extension (same ID), and you need delete RaWav.extension and also RaWav.dll in AviSynth 2.5\plugins folder if exist.
For the time being I have downgraded to the previous version.

But thanks, I will reinstall the latest version and try that.