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

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd March 2007, 03:25   #421  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
The actual interface is:

You can see the Quality parameter for VBR encoding go to 1023, like say the Aften specs:
Code:
[-q #]  VBR quality
        A value 0 to 1023 which corresponds to SNR offset, where
        q=240 equates to an SNR offset of 0.  240 is the default value.
For CBR encoding the up limit is 640 Kb/s

There are other important wished features like:
Dynamic Range Compression
-readtoeof

but seems Dimzon is missing and the new interface must wait.
tebasuna51 is offline   Reply With Quote
Old 3rd March 2007, 07:10   #422  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Ah, thank you. Not getting enough sleep. Yeah it was the command parameters that triggered my asking this actually. I got the two mixed up, so sorry about that.

I meant to ask for CBR to 640Kbps. Okay, now time to go to sleep. ZZZzzz...
__________________
Chumbo
Chumbo is offline   Reply With Quote
Old 3rd March 2007, 20:43   #423  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
I was able to find the source code, change the maximum CBR setting to 640 and recompile. I hope you find this useful and that it was okay to do this. Attached is the modified .exe file.

[EDIT]removed attachment. See new mod in a later post.
__________________
Chumbo

Last edited by Chumbo; 7th March 2007 at 06:01. Reason: removed attachment
Chumbo is offline   Reply With Quote
Old 4th March 2007, 18:36   #424  |  Link
Mtz
Registered User
 
Mtz's Avatar
 
Join Date: Sep 2003
Location: On The Beach
Posts: 714
Can you compile to support the latest version of aften?
http://forum.doom9.org/showthread.ph...643#post947643
Mtz is offline   Reply With Quote
Old 4th March 2007, 21:27   #425  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Quote:
Originally Posted by Mtz View Post
Can you compile to support the latest version of aften?
http://forum.doom9.org/showthread.ph...643#post947643
I looked at the aften source code and it does allow for piping, so I'm not sure why that's happening.

I wanted to switch the input order back to how it used to be, i.e., output var first and input last. However, I'm unable to get the dang thing compiled using the latest build.

I've not used Intel's compiler so I'm not sure what's causing this this. Anyone who can point me in the right direction please would be greatly appreciated.

The source project files were kindly provided by wisodev here.

I'm not sure how those dpi files are supposed to be created is my problem.

Code:
xilink: executing 'link'
   Creating library output/aften.lib and object output/aften.exp
a52enc.c
d:\PROGRA~1\Intel\Compiler\C__~1\9.1\Ia32\Bin\profmerge: no .dyn files to merge.

ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/a52enc.c (code 1)
bitalloc.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/bitalloc.c (code 1)
bitio.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/bitio.c (code 1)
crc.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/crc.c (code 1)
dynrng.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/dynrng.c (code 1)
exponent.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/exponent.c (code 1)
filter.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/filter.c (code 1)
mdct.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/mdct.c (code 1)
util.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/util.c (code 1)
window.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/window.c (code 1)
exponent_common.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../libaften/exponent_common.c (code 1)
Fatal error cannot open "output/a52enc.obj"
xilib: error: problem during multi-file optimization compilation (code 1)
xilib: error: problem during multi-file optimization compilation (code 1)
aften.c
d:\PROGRA~1\Intel\Compiler\C__~1\9.1\Ia32\Bin\profmerge: no .dyn files to merge.

ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../aften/aften.c (code 1)
opts.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../aften/opts.c (code 1)
wav.c
ERROR: feedback file "output\pgopti.dpi" missing.
compilation aborted for ../aften/wav.c (code 1)
Fatal error cannot open "output/aften.obj"
xilink: error: problem during multi-file optimization compilation (code 1)
xilink: error: problem during multi-file optimization compilation (code 1)
__________________
Chumbo
Chumbo is offline   Reply With Quote
Old 5th March 2007, 01:09   #426  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by Mtz View Post
Can you compile to support the latest version of aften?
Please test this version BeHappy_Aften449.

The interface is changed to:


Changes:
1) CBR is rounded to a valid value when is send to Aften (see AftenEncoder.cs). Upper limit extended to 640 Kb/s.

2) Dinamic Range Compression instead BandWidth

3) Read to End of File instead Selectively use 256-point MDCT

First test with aften rev449 seems ok:
Code:
Starting job J6.wav->J6.ac3
Found Audio Stream
Channels=6, BitsPerSample=16, SampleRate=48000Hz
Aften.exe -v 0 -b 448 -m 0 -readtoeof 1 -cmix 0 -smix 0 -dsur 0 -dnorm 31 -dynrng 5 - "G:\J6.ac3"
Writing RIFF header to encoder's StdIn
Writing PCM data to encoder's StdIn
Finalizing encoder
Complete

Last edited by tebasuna51; 5th March 2007 at 10:51. Reason: Add "Upper limit extended to 640 Kb/s."
tebasuna51 is offline   Reply With Quote
Old 5th March 2007, 01:42   #427  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Thanks for doing that. It's also real easy to change the max 448 to 640 in AftenEncoder.cs. Just replace the two 448 values with 640. That way the support for 640kbps is available via Aften.

[EDIT] @tebasuna51
Your copy works great. I recompiled after I set the aften max back to 640 and it did not stop with the "pipe has ended" io exception message. Nice job. And nice job on the new options too. Do you want me to attach my version with the 640kbps cbr or do you want to just recompile yours and update the link above?
__________________
Chumbo

Last edited by Chumbo; 5th March 2007 at 05:57.
Chumbo is offline   Reply With Quote
Old 5th March 2007, 10:46   #428  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by Chumbo View Post
Thanks for doing that. It's also real easy to change the max 448 to 640 in AftenEncoder.cs. Just replace the two 448 values with 640. That way the support for 640kbps is available via Aften.

[EDIT] @tebasuna51
Your copy works great. I recompiled after I set the aften max back to 640 and it did not stop with the "pipe has ended" io exception message. Nice job. And nice job on the new options too. Do you want me to attach my version with the 640kbps cbr or do you want to just recompile yours and update the link above?
My initial version have already the CBR limit to 640 (only the initial default remain at 448). You can see the image at 437 Kb/s far of right limit (640).
tebasuna51 is offline   Reply With Quote
Old 5th March 2007, 19:17   #429  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Very cool, thanks.
__________________
Chumbo
Chumbo is offline   Reply With Quote
Old 5th March 2007, 21:34   #430  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
First test with aften rev449 seems ok:
It works for me too :
Quote:
Starting job aud.avs->aud.ac3
Found Audio Stream
Channels=6, BitsPerSample=16, SampleRate=48000Hz
Aften.exe -v 0 -b 640 -m 0 -readtoeof 1 -cmix 0 -smix 0 -dsur 0 -dnorm 31 -dynrng 5 - "D:\aud.ac3"
Writing RIFF header to encoder's StdIn
Writing PCM data to encoder's StdIn
Finalizing encoder
Complete
But I don't know if these settings are ok for a DD+ source.
What about LFE for instance ? Is channel mapping ok ?

Thank you tebasuna51 ...
Deckard2019 is offline   Reply With Quote
Old 6th March 2007, 01:31   #431  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by Deckard2019 View Post
But I don't know if these settings are ok for a DD+ source.
Of course is not DD+ compliant (6 Mb/s, 13.1 channels,...)
Quote:
What about LFE for instance ?
If input is 6 channel only can be 3/2.1 then LFE is included.

Really Aften have many parameters, only the habitual/important are present now.
Quote:
Is channel mapping ok ?
Of course, if sources are correct mapped the output is also correct.
tebasuna51 is offline   Reply With Quote
Old 7th March 2007, 06:17   #432  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
I added to the mods made by tebasuna51. I basically added the features I would use a lot:
- added Delete All to quickly remove all the jobs except the one that is processing
- added check box to allow you to keep any output created if you decide to abort early or if an error occurs

I hope this is helpful. Please test it out. Thank you.

The Aften config is different, so make sure to go in and set it to your liking. I just left my defaults in.

[EDIT] removed attachment. See updated mod in later post.
__________________
Chumbo

Last edited by Chumbo; 9th March 2007 at 03:53.
Chumbo is offline   Reply With Quote
Old 7th March 2007, 10:06   #433  |  Link
yonta
Registered User
 
Join Date: Mar 2005
Posts: 136
@Chumbo
Thank you for the mods. Should be very useful to us all.

One request:
Can you make BeHappy remember last window position and size?
BeHappy starts out with a too big window and at random positions. This is sometimes very annoying.
yonta is offline   Reply With Quote
Old 9th March 2007, 03:48   #434  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Quote:
Originally Posted by yonta View Post
One request:
Can you make BeHappy remember last window position and size?
BeHappy starts out with a too big window and at random positions. This is sometimes very annoying.
Yeah, I hate this too actually. I just had some time, so I put it in for me as much as you.

changes:
- default window size is 800x400 now
- once you close it it'll save the size and position state

File includes exe, changed code and sample of new section in state file. Get it here.

Happy testing...
__________________
Chumbo

Last edited by Chumbo; 9th March 2007 at 16:37.
Chumbo is offline   Reply With Quote
Old 9th March 2007, 12:37   #435  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Please use links like http://www.mytempdir.com/ or similar to attach files, because with the forum method remain several days in "Attachments Pending Appoval" state.

I can't still test the previous mod.
tebasuna51 is offline   Reply With Quote
Old 9th March 2007, 16:33   #436  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Oh, crap. I didn't even notice the pending approval. I need to find some off-site hosting then.

I used the site you provided, thank you. Try this link.
__________________
Chumbo

Last edited by Chumbo; 9th March 2007 at 16:36.
Chumbo is offline   Reply With Quote
Old 9th March 2007, 18:48   #437  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Thanks Chumbo.

Tested your new version and work fine.
tebasuna51 is offline   Reply With Quote
Old 10th March 2007, 02:00   #438  |  Link
yonta
Registered User
 
Join Date: Mar 2005
Posts: 136
Thank you, Chumbo and tebasuna51 for the modifications.
It works just fine.
yonta is offline   Reply With Quote
Old 10th March 2007, 13:00   #439  |  Link
alwa
Registered User
 
Join Date: May 2006
Posts: 29
Thanks for your work too!
And i did some minor changes by myself:
- made the Ensure MP3 VBR Sync checkbox work
- target filename will change now after loading an new source file
- aften encoder GUI bitrate trackbar improvement

You can get the Update here
alwa is offline   Reply With Quote
Old 10th March 2007, 23:47   #440  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Can you guy's, make rounded bitrate in CT encoder, and i will make new Package?
shon3i is offline   Reply With Quote
Reply

Tags
behappy

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:14.


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