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 2nd May 2004, 02:16   #1  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
UpMixGUI - Tool for Stereo > 5.1 conversion

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

Suggestions and bug reports are welcome
gircobain is offline   Reply With Quote
Old 2nd May 2004, 03:46   #2  |  Link
Tuning
I'm back! :D
 
Tuning's Avatar
 
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
I got a error saying "qtintf.dll" is missing.....

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

__________________
My Blog
Tuning is offline   Reply With Quote
Old 2nd May 2004, 04:12   #3  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
Oh my bad
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.
gircobain is offline   Reply With Quote
Old 2nd May 2004, 04:52   #4  |  Link
Tuning
I'm back! :D
 
Tuning's Avatar
 
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
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..
__________________
My Blog
Tuning is offline   Reply With Quote
Old 2nd May 2004, 05:14   #5  |  Link
KpeX
Registered User
 
KpeX's Avatar
 
Join Date: Jun 2003
Location: Great Lakes, USA
Posts: 1,433
Thanks gircobain will test asap.
__________________
KpeX
Audio FAQs: General | BeSweet | SVCD/MP2 | MP3 | Vorbis | AC3 | DTS | AAC
Linux Audio/Video FAQ
KpeX is offline   Reply With Quote
Old 2nd May 2004, 05:17   #6  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
@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?
3. Job queueing sounds interesting. I'll try and look into that.
gircobain is offline   Reply With Quote
Old 2nd May 2004, 06:33   #7  |  Link
Tuning
I'm back! :D
 
Tuning's Avatar
 
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
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.
__________________
My Blog
Tuning is offline   Reply With Quote
Old 2nd May 2004, 14:42   #8  |  Link
jorel
Guest
 
Posts: n/a
gircobain (obrigadão) big thanks, very cool!
  Reply With Quote
Old 2nd May 2004, 21:01   #9  |  Link
MaroonMike
Registered User
 
MaroonMike's Avatar
 
Join Date: Oct 2003
Location: Dixie USA
Posts: 23
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....

Thanks!
MaroonMike is offline   Reply With Quote
Old 2nd May 2004, 22:51   #10  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
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.
gircobain is offline   Reply With Quote
Old 3rd May 2004, 01:06   #11  |  Link
MaroonMike
Registered User
 
MaroonMike's Avatar
 
Join Date: Oct 2003
Location: Dixie USA
Posts: 23
Okay...so how do these get passed to the EXE for runtime????
MaroonMike is offline   Reply With Quote
Old 3rd May 2004, 04:15   #12  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
I'm not so sure what you're uncertain about but this is what I do, in case you can read Delphi code:
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);
gircobain is offline   Reply With Quote
Old 5th May 2004, 23:42   #13  |  Link
Amnon82
Paldo-GNU/LinuxMaintainer
 
Amnon82's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 1,580
gircobain, You've the option other for open Input Audiofiles. I tried a MP3-file. The result was this:

Quote:
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:\

Last edited by Amnon82; 6th May 2004 at 00:16.
Amnon82 is offline   Reply With Quote
Old 8th May 2004, 03:14   #14  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
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
gircobain is offline   Reply With Quote
Old 8th May 2004, 18:55   #15  |  Link
Tuning
I'm back! :D
 
Tuning's Avatar
 
Join Date: Aug 2003
Location: The Matrix
Posts: 1,029
Quote:
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
Then which is your favorite language ?


PS: I love the classical and Hardcore..
__________________
My Blog
Tuning is offline   Reply With Quote
Old 8th May 2004, 23:39   #16  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
Quote:
Originally posted by Tuning
Then which is your favorite language ?
Anything but pop music!
gircobain is offline   Reply With Quote
Old 10th May 2004, 03:05   #17  |  Link
lineman
Banned
 
Join Date: Apr 2002
Location: https://t.me/pump_upp
Posts: 53
Wrong Bitrate

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
lineman is offline   Reply With Quote
Old 10th May 2004, 03:42   #18  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
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.
gircobain is offline   Reply With Quote
Old 23rd July 2004, 10:44   #19  |  Link
glumetu
Registered User
 
Join Date: May 2004
Posts: 7
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

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
glumetu is offline   Reply With Quote
Old 23rd July 2004, 10:57   #20  |  Link
gircobain
Registered User
 
Join Date: May 2002
Location: Brasil
Posts: 218
Probably you're missing some dll, but in order to find out what's happening, please
gircobain is offline   Reply With Quote
Reply

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 17:57.


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