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. |
|
|
Thread Tools | Search this Thread | Display Modes |
17th April 2008, 01:07 | #681 | Link |
Registered User
Join Date: Jun 2004
Posts: 90
|
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! |
17th April 2008, 03:15 | #682 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
-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. |
|
17th April 2008, 05:04 | #683 | Link | |
Registered User
Join Date: Jun 2004
Posts: 90
|
Quote:
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? |
|
17th April 2008, 12:08 | #685 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Don't worry about this. Using more parameters we guarantee compatibility with old and beta versions because the defaults can change. See that:
Code:
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) -v -V 5 --vbr-new work fine with 3.96, 3.97 and 3.98 beta Lame versions. Quote:
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. |
|
17th April 2008, 12:41 | #686 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
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) Quote:
- 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. |
|
17th April 2008, 21:38 | #687 | Link |
Registered User
Join Date: Jun 2004
Posts: 90
|
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: 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: 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 Last edited by mob; 17th April 2008 at 21:45. |
18th April 2008, 00:20 | #688 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
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. |
18th April 2008, 00:58 | #689 | Link |
Registered User
Join Date: Jun 2004
Posts: 90
|
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: 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? |
18th April 2008, 02:19 | #690 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
"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. |
|
18th April 2008, 02:35 | #691 | Link | ||
Registered User
Join Date: Jun 2004
Posts: 90
|
Quote:
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 Quote:
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 |
||
18th April 2008, 06:21 | #693 | Link | |
Registered User
Join Date: Jun 2004
Posts: 90
|
Quote:
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 |
|
29th April 2008, 19:32 | #695 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
* 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. Last edited by tebasuna51; 29th April 2008 at 19:42. |
|
30th April 2008, 11:19 | #696 | Link |
Registered User
Join Date: Oct 2002
Location: The Pandorica
Posts: 527
|
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?
__________________
PC specs for bug reports: Intel Core i7-4790K @4Ghz Win10(Linux VM) PCI express NVIDIA RTX 2060 SUPER graphics card http://twitter.com/cwebdesign |
30th April 2008, 13:29 | #697 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
Code:
<AudioSource UniqueID="58ab9132-50c8-11dc-8314-0800200c9a66"> Code:
<AudioSource UniqueID="58ab9132-50c8-11dc-8314-0800200c9b66"> |
|
5th May 2008, 05:52 | #699 | Link |
EphMan
Join Date: May 2004
Posts: 737
|
NicAudio.dll Issues
BeHappy v0.1.9.50201 is reporting the following error when trying to do AC3 > mp3 transcode:
Code:
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() Last edited by EpheMeroN; 5th May 2008 at 09:59. |
5th May 2008, 08:52 | #700 | Link | |
Registered User
Join Date: Oct 2002
Location: The Pandorica
Posts: 527
|
Quote:
But thanks, I will reinstall the latest version and try that.
__________________
PC specs for bug reports: Intel Core i7-4790K @4Ghz Win10(Linux VM) PCI express NVIDIA RTX 2060 SUPER graphics card http://twitter.com/cwebdesign |
|
Tags |
behappy |
Thread Tools | Search this Thread |
Display Modes | |
|
|