|
-
Nov 19th, 2002, 01:27 AM
#1
Thread Starter
Hyperactive Member
Decoding.....
Does anyone know how to decode MP3 files? I'm having hard time finding anything about this.
-
Nov 19th, 2002, 01:54 AM
#2
Frenzied Member
-
Nov 19th, 2002, 01:32 PM
#3
Thread Starter
Hyperactive Member
Thanks but all the information i found at those articles is about MP3 file format and the specifications how to read the file, and I don't need that. I need to decode the mp3 back to wav file. MPEG Layer 3 decoding standards. I'm gonna take a look at the google search link you provided, maybe they have something.
-
Nov 19th, 2002, 03:20 PM
#4
Junior Member
If you know the format of MP3 files and the format of WAV files then surely it should be easy to convert?
[vbcode]
Start:
'...thinks... ...remembers... ...forgets...
If Not gotanswer Then
GoTo Start
Else
'dur - it'l never get here
End If
[/vbcode]
-
Nov 19th, 2002, 03:47 PM
#5
Addicted Member
I use the LAME Encoder to decode my MP3's to wav.
Since I have no clue how to create type libraries to interface to the LAME DLL, I just use a class file to shell the command line and capture the output. You never see a DOS box in my VB App. Works very nicely.
Some days you're the dog,
and some days you're the hydrant.
VB6 Enterprise
-
Nov 19th, 2002, 10:56 PM
#6
Thread Starter
Hyperactive Member
PhilRob, I use lame dll to encode them, I had no idea you could decode as well using same lame dll. I do have a full 3.92 version c source, but it's so huge, I haven't had time to look thru it. Can you show me some examples how to decode mp3 files? thanks.
-
Nov 20th, 2002, 09:12 AM
#7
Addicted Member
To decode an MP3 using the LAME.EXE at the command line:
LAME.EXE --decode --resample 44.1 MyMP3.MP3 MpMP3.WAV
Note:
The --resample 44.1 is critical. If you skip this switch, it will create a wav but it will be unreadable by any media player. And although there are many frequencies to resample to, 44.1 is correct for a wav file I believe.
Don't forget to use the double dashes! --
Some days you're the dog,
and some days you're the hydrant.
VB6 Enterprise
-
Nov 20th, 2002, 10:12 AM
#8
Thread Starter
Hyperactive Member
Any way to do it with a DLL? I'm not using .exe, just lame_enc.dll
-
Nov 20th, 2002, 10:34 AM
#9
Addicted Member
My problem was that I could not find any good examples of using the LAME Dll. That's why I cheated and went for the command line.
I'll have a search around see what I can find. Maybe you can direct me to the source that you use in VB to do the encoding?
Some days you're the dog,
and some days you're the hydrant.
VB6 Enterprise
-
Nov 20th, 2002, 11:12 AM
#10
Thread Starter
Hyperactive Member
hmm, so do you think lame_Enc.dll has all the powers of lame.exe? I'll try to browse thru the source and see how to pass a decoding commands to the dll.
-
Nov 20th, 2002, 12:53 PM
#11
Addicted Member
I cannot find anything (or anybody) that appears to be using the LAME DLL for decoding..well apart from other programs where you cannot get the source.
Looking at the Manual, there does not seem to be a variable that you can set to do the decode. All of the values are for encoding only.
The ability to decode was added with version 3.6x so it's been around for some time...perhaps it is a function of the EXE and not the DLL?
Still, I'll keep looking....
Some days you're the dog,
and some days you're the hydrant.
VB6 Enterprise
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|