Log in

View Full Version : UpMixGUI - Tool for Stereo > 5.1 conversion


gircobain
2nd May 2004, 02:16
http://users.masternap.org/gircobain/UpMixGUI.zip

UpMixGUI is largely based on KpeX's work

This is a very first beta, so if does not work as expected please don't hurt me :D

Suggestions and bug reports are welcome

Tuning
2nd May 2004, 03:46
I got a error saying "qtintf.dll" is missing.....

btw, you have provided a CLI version too....what is that?

:)

gircobain
2nd May 2004, 04:12
Oh my bad :devil:
I think I fixed it:

http://users.masternap.org/gircobain/UpMixGUI011.zip

upmixCLI.exe is actually the core command line application that does all the dirty job and allows for integration with Exact Audio Copy to rip/convert audio cds to 5.1 tracks.

Tuning
2nd May 2004, 04:52
Great gircobain!

Very useful GUI, Thanks for adding HE-AAC & DTS.

Suggestions:
1.Slideres for reverbration...
total 3 sliders, 1 for FL & FR, second for RL & RR and third for Centre channel.

2. A option for selecting a temp folder, where all intermediate files could be dumped.

3.If possible a option for queing jobs of different kinds...eg, one ac3, second AAC, etc....

Thanks..
:)

KpeX
2nd May 2004, 05:14
Thanks gircobain :D will test asap.

gircobain
2nd May 2004, 05:17
@Tuning
1. Actually I'm using the reverb settings that Eye of Horus and kempfand developed in the UpMiX thread. I have yet to figure what those values for reverb in sox mean...
2. What are the intermediate files good for? :confused:
3. Job queueing sounds interesting. I'll try and look into that.

Tuning
2nd May 2004, 06:33
1. if you could provide such a feature..then more and more tweaking could be done...
2. If I'm doing a big 30min file, the intermediate files generated for first will be huge..some times the space left will be full...So if there is an option for allowing temp folder, any drive could be choosed having free space...may be network drive or something... ;) That is the only intention for temp folder request.

jorel
2nd May 2004, 14:42
gircobain (obrigadão) big thanks, very cool! :)

MaroonMike
2nd May 2004, 21:01
gircobain, very cool program.

Could you please share how you passed the parameters in to SurCode to automate the DTS File? This might be useful for me down the line.... :D

Thanks!

gircobain
2nd May 2004, 22:51
Surcode CD reads the filenames for the 6 mono wav files and the destination file off the registry key HKEY_CURRENT_USER\Software\Minnetonka Audio Software\Surcode CD Pro DTS\OPTIONS, keys WAVEFILE1 thru WAVEFILE7
Surcode DVD reads its set of keys off HKEY_CURRENT_USER\Software\Minnetonka Audio Software\Surcode DTS\OPTIONS.

MaroonMike
3rd May 2004, 01:06
Okay...so how do these get passed to the EXE for runtime????:confused:

gircobain
3rd May 2004, 04:15
I'm not so sure what you're uncertain about but this is what I do, in case you can read Delphi code:
{writes registry keys}
try
Reg:= TRegistry.Create;
Reg.RootKey:= HKEY_CURRENT_USER;
if Reg.OpenKey('\Software\Minnetonka Audio Software\Surcode CD Pro DTS\OPTIONS', False) then
begin
Reg.WriteString('WAVEFILE1', OutputFolder + 'temp\FL.wav');
Reg.WriteString('WAVEFILE2', OutputFolder + 'temp\FR.wav');
Reg.WriteString('WAVEFILE3', OutputFolder + 'temp\SL.wav');
Reg.WriteString('WAVEFILE4', OutputFolder + 'temp\SR.wav');
Reg.WriteString('WAVEFILE5', OutputFolder + 'temp\CC.wav');
Reg.WriteString('WAVEFILE6', OutputFolder + 'temp\LFE.wav');
Reg.WriteString('WAVEFILE7', OutputFile);
Reg.CloseKey;
...
end;
finally
Reg.Free;
end;
...
{fires up Surcode CD}
with StartupInfo do
begin
cb := SizeOf(StartupInfo);
dwFlags := STARTF_USESHOWWINDOW;
wShowWindow := SW_SHOWNORMAL;
end;
if NOT CreateProcess(nil, PChar(surcodedts), nil, nil, False, CREATE_NEW_CONSOLE or NORMAL_PRIORITY_CLASS, nil, PChar(ExtractFilePath(surcodedts)), StartupInfo, ProcInfo) Then
begin
...
Halt;
end;
{retrieves "Encode" button handle}
Repeat
handlew:= FindWindow(nil, PChar('DTS Encoder'));
Until handlew <> 0;
Repeat
handlew1:= FindWindowEx(handlew, 0, PChar('#32770'), nil);
Until handlew1 <> 0;
Repeat
handlew:= FindWindowEx(handlew1, 0, PChar('Button'), PChar('Encode'));
Until handlew <> 0;
{sends a click to "Encode" button}
SendMessage(handlew, WM_LBUTTONDOWN, 0, MakeLParam(1, 1));
SendMessage(handlew, WM_LBUTTONUP, 0, MakeLParam(1, 1));
{waits for "Encode" button to get disabled -> encoding process started}
While IsWindowEnabled(handlew) do ;
{waits for "Encode" button to get enabled -> encoding process finished}
While NOT IsWindowEnabled(handlew) do ;
{closes Surcode CD}
TerminateProcess(ProcInfo.hProcess, 0);

Amnon82
5th May 2004, 23:42
gircobain, You've the option other for open Input Audiofiles. I tried a MP3-file. The result was this:

UpMixCLI v0.1
[00:40:50] Creating temporary folder...
[00:40:50] Uncompressing track to wav...
[00:40:50] Converting track 'Atomic Kitten - Eternal Flame.wav' to ac3...
[00:40:50] Creating Front Left channel wav...
BeSweet v1.5b26 by DSPguru.
--------------------------
Error 57: Error opening "E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.wav".
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 05/07/04 , 00:40:50.


[00:40:50] Downmixing Front Left channel to mono...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V -c 2 "E:\firefoxdown\UpMixGUI011\output\temp\FL.wav" -c 1 "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav"
[00:40:50] Applying reverb to Front Left channel...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V "E:\firefoxdown\UpMixGUI011\output\temp\FL.wav" "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav" reverb 1.0 600.0 150.0
[00:40:50] Creating Center channel wav...
BeSweet v1.5b26 by DSPguru.
--------------------------
Error 57: Error opening "E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.wav".
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 05/07/04 , 00:40:50.


[00:40:50] Downmixing Center channel to mono...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V -c 2 "E:\firefoxdown\UpMixGUI011\output\temp\CC.wav" -c 1 "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav"
[00:40:50] Applying reverb to Center channel...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V "E:\firefoxdown\UpMixGUI011\output\temp\CC.wav" "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav" reverb 1.0 600.0 280.0
[00:40:50] Creating Front Right channel wav...
BeSweet v1.5b26 by DSPguru.
--------------------------
Error 57: Error opening "E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.wav".
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 05/07/04 , 00:40:50.


[00:40:50] Downmixing Front Right channel to mono...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V -c 2 "E:\firefoxdown\UpMixGUI011\output\temp\FR.wav" -c 1 "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav"
[00:40:50] Applying reverb to Front Right channel...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V "E:\firefoxdown\UpMixGUI011\output\temp\FR.wav" "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav" reverb 1.0 600.0 150.0
[00:40:50] Creating Surround Left channel wav...
BeSweet v1.5b26 by DSPguru.
--------------------------
Error 57: Error opening "E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.wav".
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 05/07/04 , 00:40:50.


[00:40:50] Downmixing Surround Left channel to mono...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V -c 2 "E:\firefoxdown\UpMixGUI011\output\temp\SL.wav" -c 1 "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav"
[00:40:50] Applying reverb to Surround Left channel...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V "E:\firefoxdown\UpMixGUI011\output\temp\SL.wav" "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav" reverb 1.0 600.0 120.0
[00:40:50] Creating Surround Right channel wav...
BeSweet v1.5b26 by DSPguru.
--------------------------
Error 57: Error opening "E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.wav".
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 05/07/04 , 00:40:50.


[00:40:50] Downmixing Surround Right channel to mono...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V -c 2 "E:\firefoxdown\UpMixGUI011\output\temp\SR.wav" -c 1 "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav"
[00:40:50] Applying reverb to Surround Right channel...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V "E:\firefoxdown\UpMixGUI011\output\temp\SR.wav" "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav" reverb 1.0 600.0 120.0
[00:40:50] Creating LFE channel wav...
BeSweet v1.5b26 by DSPguru.
--------------------------
Error 57: Error opening "E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.wav".
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 05/07/04 , 00:40:50.


[00:40:50] Downmixing LFE channel to mono...
"E:\firefoxdown\UpMixGUI011\sox12174\sox.exe" -V -c 2 "E:\firefoxdown\UpMixGUI011\output\temp\LFE.wav" -c 1 "E:\firefoxdown\UpMixGUI011\output\temp\tempch.wav"
[00:40:50] Muxing ac3 track 'Atomic Kitten - Eternal Flame.ac3'
BeSweet v1.5b26 by DSPguru.
--------------------------
Using AC3enc.dll v1.20 (Feb 18 2004) by Fabrice Bellard (http://ffmpeg.org).

Logging start : 05/07/04 , 00:40:50.

E:\firefoxdown\UpMixGUI011\BeSweetv1.5b26\BeSweet.exe -core ( -input E:\firefoxdown\UpMixGUI011\output\temp\channels.mux -output E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.ac3 -logfilea E:\firefoxdown\UpMixGUI011\upmixCLI.log ) -ac3enc ( -b 384 -6ch )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : E:\firefoxdown\UpMixGUI011\output\temp\channels.mux
[00:00:00:000] | Output: E:\firefoxdown\UpMixGUI011\output\Atomic Kitten - Eternal Flame.ac3
[00:00:00:000] | Floating-Point Process: No
Error 74: Bad configuration for AC3enc. Couldn't initialize.
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 05/07/04 , 00:40:50.


[00:40:50] Conversion completed.
[00:40:50] Cleaning temporary folder...
[00:40:50] Done.


So what files can I open with the other function? ...

... P.S. coding also with Delphi

BUG: Can't encode files from a folder with "Other". For example: If I want to encode E:\Source\wav\ it only shows E:\

gircobain
8th May 2004, 03:14
Thanks for the bug report!

UpMixGUI is supposed to handle any audio source that BeSweet is able to decode. Hopefully those bugs are fixed in this new release:

http://users.masternap.org/gircobain/UpMixGUI012.zip

Off-topic: Once I read that if programming languages were music genres, VisualBasic would be pop music, C/C++, hardcore, and Delphi would be classical :sly:

Tuning
8th May 2004, 18:55
Originally posted by gircobain
Off-topic: Once I read that if programming languages were music genres, VisualBasic would be pop music, C/C++, hardcore, and Delphi would be classical :sly:

Then which is your favorite language ? :D


PS: I love the classical and Hardcore..:p

gircobain
8th May 2004, 23:39
Originally posted by Tuning
Then which is your favorite language ? :D
Anything but pop music! :D

lineman
10th May 2004, 03:05
I am trying UpMixGUI and its awesome, just one question.
I am converting a wav file to dd 5.1 384 using softencode, the resulting file is fine except that its 448 bitrate. Any ideas,is softencode getting sent the wrong target bitrate.

Thanks

Lineman

gircobain
10th May 2004, 03:42
You must have a proper ini file for Soft Encode set in Files Location.

As long as exists such a file, UpMixGUI updates its entry for bitrate every time you select a new one off Bitrate combo box and uses its parameters for encoding. Otherwise encoding is performed using default parameters (e.g. bitrate 448).

More info on such ini files read on Command Line Operation in Soft Encode's help.

glumetu
23rd July 2004, 10:44
Hello gircobain!

I think your tool looks very good, it is exactly what I need. Congratulations for the work!

YET, as I am a total newbie to sound encoding, I must be doing something VERY wrong because UpMixGUI doesn't save any file after finishing encoding - my output folder is empty :o

So here's what I use:
- BeSweetv1.5b29
- eac095pb5
- sox-12.17.1

I am trying to convert a stereo MP3 into an AC3 and I have selected the first option (ac3enc).

The program runs fine, it says it's decompressing the mp3, downmixing and creating the channels, I can see activity in the output/temp directory, however at the end of the process there's nothing in it.

I haven't installed any of the commercial encoding software - should I?

Thanks a lot for your answer!

cheerza,
glu

gircobain
23rd July 2004, 10:57
Probably you're missing some dll, but in order to find out what's happening, please :logfile:

glumetu
23rd July 2004, 15:23
ahh, you must be right, here is the faulty part:

Using AC3enc.dll v1.20 (Feb 18 2004) by Fabrice Bellard (http://ffmpeg.org).

Logging start : 07/23/04 , 12:42:34.

C:\...\BeSweetv1.5b29\BeSweet.exe -core ( -input C:\...\UpMixGUI012\output\temp\channels.mux -output C:\...\UpMixGUI012\output\Pogues-The Band Played Waltzing Matilda.ac3 -logfilea C:\...\UpMixGUI012\upmixCLI.log ) -ac3enc ( -b 448 -6ch )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\...\UpMixGUI012\output\temp\channels.mux
[00:00:00:000] | Output: C:\...\UpMixGUI012\output\Pogues-The Band Played Waltzing Matilda.ac3
[00:00:00:000] | Floating-Point Process: No
Error 74: Bad configuration for AC3enc. Couldn't initialize.
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 07/23/04 , 12:42:34.


[12:42:34] Conversion completed.
[12:42:34] Cleaning temporary folder...
[12:42:34] Done.

what should I do :confused:

glumetu
23rd July 2004, 16:37
oh and I also tried with a 384 kb setting on ac3enc.dll...

gircobain
26th July 2004, 14:10
Make sure you are using the win32 compiled sox.exe
You can get it here:
http://prdownloads.sourceforge.net/sox/sox12174.zip

glumetu
27th July 2004, 06:36
that was it! I am much obliged! *bows* :)

Kurtnoise
5th February 2005, 17:36
Hi,

Originally posted by gircobain
upmixCLI.exe is actually the core command line application that does all the dirty job and allows for integration with Exact Audio Copy to rip/convert audio cds to 5.1 tracks.
I'm testing upmixGUI and I've problem with this application. I've got an error message (in relation with kernel32.dll :confused: ) as soon as I load upmixCLI.exe. Any idea ?


I'm running on WinXP sp2.

trooper11
6th February 2005, 07:58
I was wondering something about the setup for this.

when your inputting the file paths for all the programs, where would i find surcodedvd.exe? I looked in my sure code program folder but it wasnt there.

also, i am getting an error every time i run this. it does fine till it starts up soft encode. when it does that, it gives me an error msg saying Sftencdd.exe has caused an error and must be shut down. now when i do this, the process seems to continue, but i dont think its completeing the output, although the log file says nothing about any problems.

daphy
7th February 2005, 08:32
maybe one solution could be uninstalling soft encode, deleting the dependend keychain in your registry (it´s only one!) and reinstall softencode -> this simple method had already fixed many issues with softencode :rolleyes:

trooper11
7th February 2005, 17:03
hmm ok, where exactly is that line in the registry?

trooper11
8th February 2005, 18:35
well i tried this but unfortuantely its still the same, softencode crashes everytime i get to it in the process. i dont know what it could be...

is there some setting in soft encode that might cause this, like maybe where the temp folder is or something? Would it matter if the temp folder is on an external hd i have connected?

trooper11
9th February 2005, 19:36
ok here is another problem ive come across.what i was wnaitng to try is taking a wav rip of audio from an anime episode and run it through to get a 5.1 audio track. so i ripped the wav files as a 32bit, 48khz, stereo wav file. now when i go to upmix and start it, the command line window pops up but says zero length file or non audio source

would a large wav file not be able to be used for this? the file itself is 550mb and the time lenght is 24 minutes. could it have to do with the format? maybe i need it to be in 16bit?

Kurtnoise
9th February 2005, 19:57
Originally posted by trooper11
would a large wav file not be able to be used for this? the file itself is 550mb and the time lenght is 24 minutes. could it have to do with the format? maybe i need it to be in 16bit?
Yes....BeSweet supports only 16 bits files as input.

ursamtl
9th February 2005, 21:03
Originally posted by Kurtnoise13
Yes....BeSweet supports only 16 bits files as input.

I don't believe this is accurate. In our surround experiments, we frequently input 32-bit files. This is to the ltaest Beta version of BeSweet.

trooper11
9th February 2005, 21:20
hmm so what else could it be then?


update:

ok now i have another problem. since i couldnt get soft encode to work i used the ac3enc method for the 5.1 with a cd. Well I thought it had processed everything fine, but after going through the songs, i find that they are all cut off, sometimes 2/3 of the song is jsut not there, stopping after 20-30 seconds for songs that should be 3 minutes long.

there were no errors during the process that i can see so im really puzzled here. could it be that havin it rip form the cd on the fly during the process would cause this? maybe i should rip them all to wav files then process that? i knwo it isnt a hard drive space problem, i had 10gbs free just for this.

trooper11
10th February 2005, 02:57
well ok one problem solved

trying to convert the large 24 minute wav file wouldnt work when it was 32bit, but when i made the wav again in 16bit, it went through fine.

now if i could just figure out why the process isnt working for my cds...

it seems if i rip all the audio to wav files, it will process fine, but i wanted to avoid using all of that space so i wanted to go direct from the cd, seems that could be causing the problem.

but i sitll dont know why soft encode keeps crashing, so ill stick with the ac3enc method for now.

Dark-Cracker
10th February 2005, 14:08
does someone know the how to made the upmix function work with mono input ? (i think it should be a different command line for the sox tool).

++

gelome
22nd September 2005, 10:21
i am unable to download upmixgui...all the links to download the software seem to be dead

daphy
22nd September 2005, 17:09
@gelome

okay I reissued it on needfulthings (http://www.needfulthings.webhop.org) ;)

Maybe Kpex or gircobain want to add a readme for this one, I´ve lost it, sorry :(

seth69
17th October 2005, 13:15
i've problem with this application, too . what it means "none file found inside input folder!((d:\arquivos de programas\borland\delphi6\projects\upmixgui \mainform.pas,
line 594)" upmixgui012