I want to extract sound from avi file and then save into .wav file.
Bundle of thx in advance.
Printable View
I want to extract sound from avi file and then save into .wav file.
Bundle of thx in advance.
hmm thx pengate
but
I didn't understand it
So kindly if possible give me information about how to do it ....
No reply from so long ...
i m sad
Have you tried www.planet-source-code.com/vb
In the quick search located about, type in this [avi wav] without the brackets. There should be some code for extracting wavs from that.
Sorry Jacob ..
I have viewed all 6 pages and 52 items.
but Not a single sample is present there ...
:o
I just want to extract audio from avi file and then save into wav file..
:blush:
After a bit of searching... i found ths activex dll.. register it, reference it... and then use the following code..
VB Code:
aReader.Open "c:\tsunami1.avi" aReader.ExtractWav "c:\check.wav"
thx MoinKhan
but i wanna some code snippets..
Can any one sort it out in Code...
Isn't that what moinkhan just posted? Or is that not code?Quote:
Originally Posted by vbPoet
It is not code.
i need some code snippet ....
vbPoet:
He gave you a snippet, but to use the snippet you need to register the DLL he attached. Sadly, this isn't something that seems possible in VB, and if it is, I doubt anyone here has a 3000+ line module in their backups which does exactly what you say. The best thing to do is search Google, Planet Source Code or here on the forums..
Phreak
If all you are stuck on is registering it then use this
Start->Run
and type in "regsvr32 [path]\[dllname].dll".
nops penagate i m not stuck at registering this DLL..
I m trying to understand phreAk ..
U mean
what i m asking
to extract audio from avi file ... is very big task and it may contain 3000+ lines of code.
so nice way is to use Dll ....>>>??????
Well yes it does simplify things a bit. I guess what phReAk meant is you can't register DLLs in VB, and extracting is a complicated task, which this DLL makes easier. I guess it is an ActiveX DLL which means you can view it in the Object Browser (F2) and see all its classes, properties and methods, and kind of guess how it works :D
But what if i do not want to use this DLL but to get some Vb6 code ...
Quote:
Originally Posted by vbPoet
Yup i wanna source code of doing this extraction not DLL .. :ehh:
Here ya go mate :)
http://www.shrinkwrapvb.com/avihelp/avihelp.htm
A tutorial on working with AVI files using the AVI APIs, through Visual Basic 5/6.
It has downloadable source code also :)
Quote:
Originally Posted by penagate
hmm Pengate
I have read it .. but it is all about AVI 2 BMP and BMP 2 AVI..
but not related to Extraction of audio from AVI file .... :o