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. |
|
|
#1 | Link |
|
Power user
Join Date: Oct 2001
Location: Southern Sweden
Posts: 36
|
AC3->MP3 without intermediate files?
Hi!
I'm used to the Linux way of doing things. But is there a way of converting AC3 directly to MP3? Is piping really supported under Windows 2000? I mean I would like to do something like: azid movie.ac3 - | lame - out.mp3 Is this possible or is it on it's way? |
|
|
|
|
|
#2 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, Gardelegen
Posts: 1,464
|
I would be impressed if that would work - as far as I know, all Windows versions simulate such pipelining by writing the output to a temporary file; windows programs started with a command line pipe don't run at the same time, they run after each other.
|
|
|
|
|
|
#5 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, Gardelegen
Posts: 1,464
|
If someone could write an application which streams the output from the Azid decoder DLL to the LAME MP3 encoder DLL, then this conversion shall be easy. DarkAvenger has some experience with the Azid DLL (he used it in HeadAC3he), and the LAME DLL is well documented.
|
|
|
|
|
|
#7 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, Gardelegen
Posts: 1,464
|
You'll find Win32 LAME binaries at http://mitiok.cjb.net or http://mitiok.ma.cx; the ZIP archive of version 3.89beta contains a folder named "html", there you'll find a document called "LameDLLInterface.htm".
Unfortunately, for the Azid.dll I couldn't find such a documentation - DarkAvenger shall know a bit about it, I hope. I'll try to ask him. Wish you much luck... |
|
|
|
|
|
#11 | Link |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
AC3toMP3 v0.1a
well, i did check it out and.. made it.
i wrote a tool named 'AC3toMP3' that does the above. now, i don't have any webspace to publish it, boost/doom9, let me know if you want me to send it to your email. |
|
|
|
|
|
#12 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, Gardelegen
Posts: 1,464
|
I would like to see that - in this board, you shall be able to attach it as a zip file to a reply (below the message and option fields you will find an "Attach file:" row, select the file from your local PC's harddisk before submitting). Or simply send it to doom9 (you will find his mail address at the end of his "Contact" page); you'll notice soon if he wants to publish it. |
|
|
|
|
|
#13 | Link |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
AC3toMP3 v0.1a
ok, check this out. - this is the first version of AC3toMP3, so it doesn't support any switches regarding AC3 decoding nor MP3 encoding. - i guess it has bugs. if you find any, let me know about it. - if many people would find this program useful, i will continue developing it and will add more features. - DanniDin, you are invited to add support to my prog in your GUI ![]() Attachment: AC3toMP3.exe [inputfile.ac3] [outputfile.mp3] enjoy ! ![]() Download latest version: AC3toMP3 v0.7a Last edited by DSPguru; 30th November 2001 at 12:32. |
|
|
|
|
|
#14 | Link |
|
Nice chap
Join Date: Nov 2001
Location: UK
Posts: 84
|
Wow - cool :-)
This is cool... first observation is that it seems to be going at about 2x original speed on a PIII-1GHz. So a 2hr movie would be done in one hour. Memory usage is also tiny, less than 1MB
What parameters are you using right now for decode and encode? Naturally, I have some requests for future builds :-) 1) Multi-threaded so SMP machines can make use of extra CPU's. Can you get one thread to decode the AC3 and pass to another thread doing the encoding to MP3? 2) Some kind of configuration for AC3 decoding and MP3 encoding. Even if it's a simple text file that has a line for the Azid parameters and another line for the Lame ones. |
|
|
|
|
|
#16 | Link |
|
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
switches
@DanniDin if i'll get many respones, i'll add switches. than, your GUI could "decide" which program to execute : if the user sets only parameters to azid&lame, your GUI could run my program. if the users sets parameters to CLI, than it would execture azid+cli+lame. anyway, if many ppl would find this proggy useful, i would integerate it with bbdmux & ssrc. that way, it would do VOB->MP3 : VOB -> 48khz ac3 -> 48Khz wav -> 44.1khz wav -> 44.1khz MP3. all in one shot, without intermediate files! i'll wait and see if doom9 would publish it in his news page. Last edited by DSPguru; 3rd November 2001 at 06:57. |
|
|
|
|
|
#17 | Link |
|
Registered User
Join Date: Nov 2001
Posts: 1
|
thats an awesome idea...
things i'd like to see are... - AZid commands like gain options and channel control (i.e lower the sub channel by 3db...) - 48khz (isn't that what dvd is anywho) @ 96, 128, 160 kbits MP3 encoding Top stuff..
__________________
-NSanity |
|
|
|
|
|
#19 | Link |
|
Registered User
Join Date: Oct 2001
Posts: 187
|
@DSPguru
if i'll get many respones, i'll add switches. Great than, your GUI could "decide" which program to execute : if the user sets only parameters to azid&lame, your GUI could run my program. if the users sets parameters to CLI, than it would execture azid+cli+lame. Exactly ![]() Danni. |
|
|
|
|
|
#20 | Link | |
|
Anime Otaku
Join Date: Oct 2001
Location: Illinois, USA
Posts: 149
|
Response
@DSPGuru, Dannidin
Quote:
Great program! I say this because it's fast. I was thinking, is it possible for you and Dannidin to work together to make multichannel AC3-> multichannel MP3 without intermediate files?
__________________
Lapras, luck, and lollipops, Taric25 |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|