PDA

View Full Version : Export to DV Camera- no audio with type2 files


Kalicrys
25th April 2004, 14:06
I've been trying to edit my videos (or create video content) on my pc and then archive them back to miniDV tapes, but I've come across a small problem. I wonder if anybody else has experienced this?

If the .avi is type2, for some reason there's no sound, just video when I play back on the dv cam. If I stream this back to a file on my pc and watch it, I can hear the sound.
(used vdubmod, converted to huffyuv, edited the video, compressed final to dv, used no preloading and saved audio every frame, using DVIO for import/export)

I ended up using Firestore's DV Standards Converter to convert to type1 before exporting to the cam. (This works great) But the type2 files created by this don't work either.

Currently I'm suspicious of the implementation of the DV type2 format. Before I thought it was just a standard avi file with seperate video and audio streams. But I found a page that says that the video stream in type2 files actually is the original DV stream (type1, including both video & audio).
If this is true, then there seems to be a few solutions:
a) make vdub support directshow filters
b) make dvio combine the two streams into one dv stream on the fly
c) make a tool that fixes the video stream in type2 files (a function that the firestore dv standards converter is not properly doing)

bb
25th April 2004, 15:27
When creating DV AVIs via VirtualDub(Mod), I assume you get a vids stream with video only, and an auds stream containing the audio. A proper type-2 AVI should contain the audio twice, once muxed together with the video stream, and once in the auds stream (which is for VfW compatibility reasons).

DV type-1 files have a single stream containing multiplexed video and audio, which is the same as type-2 vids stream, but with a different stream identifier (fccType): iavs. Note that the fccType is different from the fccHandler. The latter is often referred to as the "four cc" or "four character code".

Your suggestions sound good. In the meantime you can save a WAV file from within VirtualDub, open the video in your DV video editor, and add the WAV file as audio track. Then save either as type-1 or type-2.

bb

Kalicrys
25th April 2004, 17:00
thanks bb!
that was a clear and definitive answer.