Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Extracting Audio From Dac 100 Avi, can't do it
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
stephen2
  Posted: Mar 25 2004, 04:15 PM


Unregistered









Can anyone tell me how to extract audio from an avi file generated by a datavideo DAC 100? It is a dvsd file and with the panasonic codec its video can be opened in virtualdub but not its audio. Neither Goldwave nor avi2wav can extract the audio, and although Windows Movie Maker can convert it to a wma file, this often seems to distort the sound.
 
  Top
Cyberman
Posted: Mar 25 2004, 04:46 PM


Advanced Member


Group: Members
Posts: 2035
Member No.: 3477
Joined: 3-April 03



Did VirtualDub give you an error message? If so, post it.
Try GSpot, it should tell you what codec it needs - I suppose there´s a codec missing, right?

Also, you might want to try it with GraphEdit - it can open almost(if not) all files, and allows you to manually extract the containing streams, at least, when there´s a DirectShow filter installed to play them.

--------------------
Matroska/MKV ?
 
    Top
stephen2
Posted: Mar 26 2004, 04:03 PM


Unregistered









Thanks for your help.

VD simply says "DV type 1 - can't extract audio from this type of file" (does the same with files from my daughter's Sony DV camera)

GSpot tells me (like avi2wav) that there are "no audio channels"

GraphEdit accepts the file and makes a filter which isolates the sound, but I couldn't see how to get a wav file out of it.

There are no problems in playing the file in Windows Media player or Movie Maker: I need to extract a wav file to feed into VD.
 
  Top
NuPogodi
Posted: Mar 26 2004, 04:56 PM


Advanced Member


Group: Members
Posts: 536
Member No.: 6558
Joined: 1-October 03



QUOTE (stephen2 @ Mar 26 2004, 10:03 AM)
There are no problems in playing the file in Windows Media player or Movie Maker: I need to extract a wav file to feed into VD.

indirect (but universal) method is to capture a sound when MediaPlayer plays your movie back. just two of numerous programs which can record everything what your soundcard plays to, say, mp3 file in real time: TotalRecorder and SoundCapture.
Good luck!

--------------------
Optimists believe that they live in the best of existing worlds. Pessimists are afraid of that's right...
 
     Top
stephanV
Posted: Mar 26 2004, 05:25 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (stephen2 @ Mar 26 2004, 05:03 PM)
VD simply says "DV type 1 - can't extract audio from this type of file" (does the same with files from my daughter's Sony DV camera)


VD cant read DV-1 type avis, only DV type 2... there are converters for that but i dont have a link right now, so you could run a search on google for that

QUOTE
GraphEdit accepts the file and makes a filter which isolates the sound, but I couldn't see how to get a wav file out of it.


this is probably one of the hardest things to find out yes, coz GraphEdit doesnt give a clue on how to do this, im not sure if it was even really designed for this purpose...

well here's a guide for this, ignore all the MPEG2 stuff...
basically what it comes down to is this:

- download the filters (from that page above), place them in the GraphEdit directory and run the register.bat
- open your file, and delete all the filters, till you remain with your source file, the avi-splitter and the audio decoder (MP3 perhaps?)
- add two filters:
1. 'file writer' (when you add this you must give your file a name, give it the .wav extension)
2. 'WAV dest'
(both filters can be found under GRAPH--->insert filters ---->directshow filters)

now connect the audio decoder to the WAV dest and the WAV dest to the file writer
then press the 'play' button and it will save your wav-file under the name you gave it earlier

thats all smile.gif

good luck

(BTW when closing do NOT save your changes tongue.gif)

QUOTE
indirect (but universal) method is to capture a sound when MediaPlayer plays your movie back. just two of numerous programs which can record everything what your soundcard plays to, say, mp3 file in real time: TotalRecorder and SoundCapture.


another totally free program (no demo-version) is 'Audacity' again no link (sorry, but hey, google has to make a living too right? tongue.gif). actually it can do more than that, its kinda like a VirtualDub for audio as far as im concerned, it can mix streams, place filters over the audio, export to wav. vorbis and MP3. well, i think its great anyway smile.gif

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
stephen2
Posted: Mar 26 2004, 10:41 PM


Unregistered









Thanks a lot

After a few crashes, I discover that the wav files produced from Source.avi > avi splitter > dv splitter > wav dest > destination.wav are accepted by all. (The first 3 are suggested by GraphEdit) However parts of some files play at normal speed, and other parts at exactly 2/3 speed, sometimes switching from one to the other in the middle of the file.

Any thoughts?
 
  Top
stephanV
Posted: Mar 26 2004, 11:28 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



ai, thats crappy sad.gif

well, i could be completely wrong at this but if the sampling rate of the file is 32000 Hz and it sometimes has parts (for whatever reason) at 48000Hz, it still would play this at 32000Hz and youd get the exact slowness of 2/3 (32000/48000 = 2/3); something similar could happen with sampling rates of 16000Hz and 24000Hz. you could try and solve this by hand with audacity, by selecting the slow parts (are they also low in pitch?) and then speed them up to 150% with or without change in pitch... but that could get quite messy, if youre having difficulty determining where the exact changes are.

here the link for audacity
and here for that DV-type converter, it only works with files upto 4GB (so it says in the warning on that page)
but it would allow you to open the file in VirtualDub and use save as wav...

well hope this has solved it smile.gif

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
stephen2
Posted: Mar 27 2004, 12:29 PM


Unregistered









hi geniuses

You are right about the sampling rate, Mr Holmes: the DAC 100 has a choice of audio sampling rate - 32 or 48KHz - and the filters I used obviously expect it to be 32. And I *had* switched it over halfway through the capture.

But the best thing is the DV converter: type 2 DV is accepted by VD and Goldwave and the conversion solves all my problems.

(for the moment that is...)

thanks and best wishes to all
 
  Top
stephanV
Posted: Mar 27 2004, 12:31 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (stephen2 @ Mar 27 2004, 01:29 PM)
hi geniuses


well i wouldnt go that far laugh.gif

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
8 replies since Mar 25 2004, 04:15 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion