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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th April 2003, 12:06   #1  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
I tried to downmix a 6ch-wav with the BS_Downmix-plugin

There is nothing wrong with the 6ch-wav, because it works in HeadAC3he.

Here is the situation:

BeSweet v1.4 by DSPguru.
--------------------------
Using BS_Downmix.dll v0.2 by DSPguru (http://DSPguru.doom9.org).
Manual Dynamic-Compression algorithm by LigH (author of WaveBooster).

Logging start : 04/30/03 , 13:02:22.

d:\besweet\BeSweet.exe -core( -input g:\6ch.wav -output g:\2ch.wav -2ch -logfile D:\besweet\BeSweet.log ) -ota( -g max ) -boost( /b2=5 ) -plugin( -name D:\besweet\BS_Downmix.dll -func NoLFE -6ch ) -azid( -s surround -L -3db )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : g:\6ch.wav
[00:00:00:000] | Output: g:\2ch.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Overall Track Gain: 1.#IOdB
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- BOOST ------
[00:00:00:000] | Algorithm by : Dg
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.73
[00:00:00:000] +---------------------
[ 32] Conversion Completed !
[00:00:00:000] <-- Transcoding Duration
Logging ends : 04/30/03 , 13:02:22.

So it does not crash....just produces nothing :-)

Greetings,
Jan.

Last edited by Jan Marijniszoon; 2nd May 2003 at 10:41.
Jan Marijniszoon is offline   Reply With Quote
Old 30th April 2003, 12:09   #2  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
BeSweet only supports a 16bit waves, not 32bit floating-point. what kind of 6chwave are you feeding BeSweet with ?
DSPguru is offline   Reply With Quote
Old 30th April 2003, 13:51   #3  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
Quote:
Originally posted by DSPguru
BeSweet only supports a 16bit waves, not 32bit floating-point. what kind of 6chwave are you feeding BeSweet with ?
HeadAC3he stream-info gives the following info:

WAV: 48 kHz 16 bit int 6ch 4608 kbps
Jan Marijniszoon is offline   Reply With Quote
Old 30th April 2003, 14:19   #4  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
10x for the info, i'll check it out whenever have the time..
DSPguru is offline   Reply With Quote
Old 30th April 2003, 14:22   #5  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
You are welcome.
Thank you too! I will be waiting patiently.

Greetings,
Jan.
Jan Marijniszoon is offline   Reply With Quote
Old 30th April 2003, 22:22   #6  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
hmmm.. your commandline works perfectly in here
would you mind pasting a logfile of this :
d:\besweet\BeSweet.exe -core( -input g:\6ch.wav -output g:\2ch.wav -6ch -logfilea D:\besweet\BeSweet.log ) -ota( -g max ) -boost( /b2=5 ) -azid( -s surround -L -3db )
DSPguru is offline   Reply With Quote
Old 30th April 2003, 22:36   #7  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
Gave me the following result...

Creates six wav-files of 1 KB each and then crashes.
The 6ch-file is not an ac3-wav...it is one big file with 6 mono pcm wav's in it. It is about 3 GB of size...maybe that's the problem? too big file?


BeSweet v1.4 by DSPguru.
--------------------------
Manual Dynamic-Compression algorithm by LigH (author of WaveBooster).

Logging start : 04/30/03 , 23:32:15.

BeSweet.exe -core( -input g:\6ch.wav -output g:\2ch.wav -6ch -logfile BeSweet.log ) -ota( -g max ) -boost( /b2=5 ) -azid( -s surround -L -3db )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : g:\6ch.wav
[00:00:00:000] | Output: FL, FR, SL, SR, C, LFE
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Overall Track Gain: 1.#IOdB
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- BOOST ------
[00:00:00:000] | Algorithm by : Dg
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.73
[00:00:00:000] +---------------------

Greetings,
Jan.
Jan Marijniszoon is offline   Reply With Quote
Old 30th April 2003, 22:41   #8  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
the problem is probably with the size..
though, this probably won't help, you can try adding -split( -end 1000 ) to your commandline..


* try processing the file with v1.5b

Last edited by DSPguru; 30th April 2003 at 22:45.
DSPguru is offline   Reply With Quote
Old 30th April 2003, 23:22   #9  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
Tried both suggestions...same result.

It was you who gave me the idea
You said this in a thread:

multichannel waves are supported (only 16bit waves, though), but downmix to 2ch is only possible by using the downmix plugin.

http://forum.doom9.org/showthread.ph...ight=dts+guide


So I went to your site and downloaded BS_Downmix.dll.

It works with HeadAC3he, but I rather use BeSweet fot the job.
Seems to me the two-pass downmixing with the overall max gain works better than the HeadAC3he-method. Or I am wrong here?

Anyway, thanks for your attention. I hope it will be resolved in the future.

Greetings,
Jan.
Jan Marijniszoon is offline   Reply With Quote
Old 1st May 2003, 11:04   #10  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
I have cut a piece of 260 MB from the big 3GB-file.

It works now! So it is confirmed...the file is just too big.
Any change of fixing that?

Here's the log...

BeSweet v1.5b17 by DSPguru.
--------------------------
Using BS_Downmix.dll v0.2 by DSPguru (http://DSPguru.doom9.org).
Manual Dynamic-Compression algorithm by LigH (author of WaveBooster).

Logging start : 05/01/03 , 12:00:55.

d:\besweet\BeSweet.exe -core( -input g:\6ch.wav -output g:\2ch.wav -2ch -logfile D:\besweet\BeSweet.log ) -ota( -g max ) -boost( /b2=5 ) -plugin( -name D:\besweet\BS_Downmix.dll -func NoLFE -6ch ) -azid( -s surround -L -3db )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : g:\6ch.wav
[00:00:00:000] | Output: g:\2ch.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Overall Track Gain: 1.009dB
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- BOOST ------
[00:00:00:000] | Algorithm by : Dg
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.73
[00:00:00:000] +---------------------
[00:07:42:620] Conversion Completed !
[00:07:42:620] Actual Avg. Bitrate : 1536kbps
[00:00:38:000] <-- Transcoding Duration
Logging ends : 05/01/03 , 12:01:33.
Jan Marijniszoon is offline   Reply With Quote
Old 1st May 2003, 14:28   #11  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
i don't have such a huge wave file at the moment, so it's a bit hard to track this issue..
anyway, i applied a small hack, please redownload b17 and try your luck..
DSPguru is offline   Reply With Quote
Old 1st May 2003, 18:57   #12  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
This one works...for starters...

The process stops when the 6ch-file reaches 2 GB.
Does not crash though, just stops.

Greetings,
Jan.
Jan Marijniszoon is offline   Reply With Quote
Old 1st May 2003, 22:36   #13  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
yea.. i know about that 2gb barrier..

well.. the only thing i could offer now is that you (somehow) split your multichannel wave into 6 mono waves (BeSplit can do this principley, but it suffers from the same 2gb barrier), and then use a ".mux" as your BeSweet's inputfile (text file that lists all mono waves).
DSPguru is offline   Reply With Quote
Old 2nd May 2003, 10:38   #14  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
That's no problem. I made the huge file from 6 mono-wav's already. So I don't need to split it again.

How does this mux-list work? Does besweet know what channel (like center or right-surround) it is dealing with?
Jan Marijniszoon is offline   Reply With Quote
Old 2nd May 2003, 11:23   #15  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
great! so you don't need to mux the mono waves (into mulitchannel wave) prior feeding it to BeSweet. just let BeSweet process the files by itself.

here's an example 'channels.mux' textfile :
Quote:
g:\channelFL.wav
g:\channelC.wav
g:\channelFR.wav
g:\channelSL.wav
g:\channelSR.wav
g:\channelLFE.wav
then use -core( -input channels.mux ...
DSPguru is offline   Reply With Quote
Old 2nd May 2003, 19:24   #16  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
The conversion worked...

But the result is not good...very cracking sound and robot-like voices.

I used this mux-file:

F:\center.wav
F:\left.wav
F:\left-s.wav
F:\lfe.wav
F:\right.wav
F:\right-s.wav

Does the order of the channels really not matter?
Jan Marijniszoon is offline   Reply With Quote
Old 3rd May 2003, 02:39   #17  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
Quote:
Originally posted by Jan Marijniszoon
The conversion worked...

But the result is not good...very cracking sound and robot-like voices.
hmmm..


Quote:
Does the order of the channels really not matter?
you bet!

Last edited by DSPguru; 3rd May 2003 at 07:49.
DSPguru is offline   Reply With Quote
Old 3rd May 2003, 12:11   #18  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
Sorry that I did not post the log-file.
But that's because there is nothing 'shocking' to see in it :-)
Here it is...

BeSweet v1.5b17 by DSPguru.
--------------------------
Using BS_Downmix.dll v0.2 by DSPguru (http://DSPguru.doom9.org).
Manual Dynamic-Compression algorithm by LigH (author of WaveBooster).

Logging start : 05/03/03 , 01:42:18.

BeSweet.exe -core( -input f:\6ch.mux -output f:\2ch.wav -2ch -logfile D:\besweet\BeSweet.log ) -plugin( -name D:\besweet\BS_Downmix.dll -func NoLFE -6ch ) -azid( -s surround -L -3db ) -boost( /b2=5 ) -ota( -g max )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : f:\6ch.mux
[00:00:00:000] | Output: f:\2ch.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Overall Track Gain: 0.000dB
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- BOOST ------
[00:00:00:000] | Algorithm by : Dg
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.73
[00:00:00:000] +---------------------
[02:05:57:121] Conversion Completed !
[02:05:57:121] Actual Avg. Bitrate : 86kbps
[00:36:14:000] <-- Transcoding Duration
Logging ends : 05/03/03 , 02:18:32.
------------------------------------------------

I also tried the order of channels in your suggested mux-example...
Same result.
Jan Marijniszoon is offline   Reply With Quote
Old 5th May 2003, 12:09   #19  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
let's eliminate. please give me a feedback on the result of the following commandline :

BeSweet.exe -core( -input f:\6ch.mux -output f:\ -6ch -logfilea D:\besweet\BeSweet.log )
DSPguru is offline   Reply With Quote
Old 5th May 2003, 22:52   #20  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
It makes six wav-files of 0 bytes, it crashes and it gives this log:

BeSweet v1.5b17 by DSPguru.
--------------------------

Logging start : 05/05/03 , 23:49:37.

BeSweet.exe -core( -input f:\6ch.mux -output f:\ -6ch -logfile D:\besweet\BeSweet.log )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : f:\6ch.mux
[00:00:00:000] | Output: FL, FR, SL, SR, C, LFE
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------

Greetings,
Jan.
Jan Marijniszoon is offline   Reply With Quote
Reply


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 03:00.


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