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 Display Modes
Old 14th October 2001, 14:16   #1  |  Link
Boost
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?
Boost is offline   Reply With Quote
Old 27th October 2001, 16:22   #2  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
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.
LigH is offline   Reply With Quote
Old 28th October 2001, 00:25   #3  |  Link
ohliuv
Registered User
 
Join Date: Oct 2001
Location: Belgium
Posts: 113

you may consider using graphedit
ohliuv is offline   Reply With Quote
Old 29th October 2001, 21:23   #4  |  Link
Shabubu
Registered User
 
Join Date: Oct 2001
Posts: 43

Graphedit is the way to go, worked fine for me doing that anyway (though you wouldn't be using azid)
Shabubu is offline   Reply With Quote
Old 30th October 2001, 09:35   #5  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
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.
LigH is offline   Reply With Quote
Old 30th October 2001, 13:33   #6  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506

please remind me of where i can find the lame.dll and its' documentation.
i really don't have spare time, but if i'd find it easy, i'll do it.
DSPguru is offline   Reply With Quote
Old 30th October 2001, 14:19   #7  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
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...
LigH is offline   Reply With Quote
Old 30th October 2001, 14:52   #8  |  Link
DarkAvenger
HeadAC3he coder
 
DarkAvenger's Avatar
 
Join Date: Oct 2001
Posts: 413

In fact I wanted to add mp3 support in HeadAc3he, but right now I am a bit short in time, so development is temporarily frozen...
DarkAvenger is offline   Reply With Quote
Old 30th October 2001, 15:11   #9  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,398

Maybe there an issue here with the quality of the conversion, but why not use ac3dec or vob2audio?
mpucoder is offline   Reply With Quote
Old 2nd November 2001, 10:38   #10  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506

10q, i'll check it out...
DSPguru is offline   Reply With Quote
Old 2nd November 2001, 15:11   #11  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
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.
DSPguru is offline   Reply With Quote
Old 2nd November 2001, 16:09   #12  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
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.
LigH is offline   Reply With Quote
Old 2nd November 2001, 17:11   #13  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
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.
DSPguru is offline   Reply With Quote
Old 2nd November 2001, 17:33   #14  |  Link
Huge
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.
Huge is offline   Reply With Quote
Old 2nd November 2001, 22:01   #15  |  Link
DanniDin
Registered User
 
Join Date: Oct 2001
Posts: 187

- DanniDin, you are invited to add support to my prog in your GUI
Not Bad DSPguru, Maybe I'll Add Support when You'll Add Switches

Danni.
DanniDin is offline   Reply With Quote
Old 3rd November 2001, 06:55   #16  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
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.
DSPguru is offline   Reply With Quote
Old 3rd November 2001, 08:36   #17  |  Link
NS
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
NS is offline   Reply With Quote
Old 3rd November 2001, 08:53   #18  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506


@NS

did you check the speed of current version ?

Last edited by DSPguru; 3rd November 2001 at 08:56.
DSPguru is offline   Reply With Quote
Old 3rd November 2001, 21:07   #19  |  Link
DanniDin
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.
DanniDin is offline   Reply With Quote
Old 5th November 2001, 02:05   #20  |  Link
Taric25
Anime Otaku
 
Taric25's Avatar
 
Join Date: Oct 2001
Location: Illinois, USA
Posts: 149
Response

@DSPGuru, Dannidin
Quote:
Originally Posted by DSPGuru
if i'll get many respones, i'll add switches.
So, this is a positive response. 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
Taric25 is offline   Reply With Quote
Reply

Thread Tools
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 00:31.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.