View Full Version : DVD2AVI audio and video
Kakebeeke
8th March 2005, 09:31
Hi all,
A friend of mine had a AVI file which he used for presentation. But he was smart enough to delete that file so now he has a small problem. Fortunately he has a DVD version of his presentation but to be able to make adjustments to his presentation he needs to have an AVI version.
I offered to help him out but it's not as simple as I hoped. So far I've converted the VOB files with DGIndex and DGDecode so I can open the avs file with virtualdub. But now what? When I open the file and save it as an AVI file it get's rediculously big (28GB=+/-45min). I also don't have any sounds of course. I've read the quickstart in DGMPDDec but I don't know what to do in DGindex. It says: You have to use the Audio menu in DGIndex to extract the audio to "demultiplexed" file. Then you can process it as you wish and re-add it back in VirtualDub when you do your postprocessing.
I don't have the option to demultiplex and what's the difference with getting the video? It seems exactly the same to me. Also I'm not sure wether DGIndex is the right program to get the sounds.
I also don't know how to get the videofiles and soundfiles together.
So in short:
How to get the sound files
How to put the sound and videofiles together
How to get a final AVI file which isn't ridiculously big
I know the answers might not be that simple but please point me in the right direction.
Thanks,
Guido
neuron2
8th March 2005, 15:20
Originally posted by Kakebeeke
How to get the sound files In DGIndex, open the menu pulldown Audio/Output Method and select Demux All Tracks. Then do Save Project. That will create a separate sound file(s).
How to put the sound and video files together One way is to convert the audio file to WAV using BeSweetGUI and then open it in the VirtualDub Audio menu ("WAV Audio"). You can also add the audio in your Avisynth script with AudioDub().
How to get a final AVI file which isn't ridiculously big
When you do Save AVI in VirtualDub, you have to first select an output compression using the Video/Compression menu. XviD might be a good choice for you.
Kakebeeke
9th March 2005, 15:22
In DGIndex, open the menu pulldown Audio/Output Method and select Demux All Tracks. Then do Save Project. That will create a separate sound file(s).
When I do that, I get exactly the same file as when I made the file for the video. The demux all tracks was already selected from the start. So I don't understand what the difference is. When I save the project I get 1 D2V file and that's it.
The following options are selected:
Video --> iDCT algorithm --> 32-bit SSE2 MMX
Video --> Field Operation --> None
Video --> YUV -> RGB --> PC scale
Audio --> Output method --> Demux All Tracks
Audio --> Track Number --> Track 1
Audio --> Dolby Digital Decode --> Dynamic Range Control --> Normal
Audio --> 48 -> 44.1KHz --> Off
Option --> Normal
Help --> SIMD --> MMX, SSE MMX, SSE2, SSE2 FPU are selected
Help --> DirectDraw overlay and VFAPI plug-in are selected
Thanks,
Guido
killingspree
10th March 2005, 09:44
another method to get the audio (although i'm very surprised that the method provided by neuron2 did not work) is to use 'stream processing' in dvddecrypter. when in ifo mode, just select the second tab, check the enable stream processing checkbox and just select the audio. this way all you should get as output is the audio file of the dvd. this will also probably give you clues as to what kind of audio format you're dealing with...
kr
steVe
Kakebeeke
10th March 2005, 12:20
One way is to convert the audio file to WAV using BeSweetGUI and then open it in the VirtualDub Audio menu ("WAV Audio").
I don't have any audio menu in VirtualDub. I have VirtualDubMod 1.5.10.1 (build 2366/release)
I've now got a WAV file by just selecting Decode to WAV (AC3,LCPM)
The D2V file is only 161kb
The WAV file is 241MB
Is this all normal?
Thanks,
Guido
killingspree
10th March 2005, 12:51
Originally posted by Kakebeeke
Is this all normal?
yes
neuron2
10th March 2005, 15:58
DGIndex should have created a file ending in .ac3. That is the audio file.
I don't have any audio menu in VirtualDub. When you look at the menu bar, don't you see an Audio pulldown just to the right of the Video pulldown?
killingspree
10th March 2005, 16:23
Originally posted by neuron2
When you look at the menu bar, don't you see an Audio pulldown just to the right of the Video pulldown?
Actually in 1.5.10.1 you can acess the audio streams only over "Streams > Stream List"
kr
steVe
neuron2
10th March 2005, 16:53
Oh, that's VirtualDubMod. Sorry.
Kakebeeke
10th March 2005, 23:33
Thanks for the help. I managed to combine the video and the sound files together but in the endresult the sound is a little earlier than the video. How can I correct that?
Also when I compress the video the quality gets pretty awful. Is it possible to let it compress a little less? I've tried Xvid and DivX
Thanks,
Guido
killingspree
10th March 2005, 23:42
Originally posted by Kakebeeke
Thanks for the help. I managed to combine the video and the sound files together but in the endresult the sound is a little earlier than the video. How can I correct that?
depends on the method you were using...
Also when I compress the video the quality gets pretty awful. Is it possible to let it compress a little less? I've tried Xvid and DivX
again, you can get great quality with both of them provided you use the right settings...
Kakebeeke
10th March 2005, 23:49
I didn't do anything in VirtualDub. Just selected the video file and the audio file. Then select to compress it. And then save it as AVI.
Guido
neuron2
11th March 2005, 03:18
You should be able to find an Audio skew correction option to adjust the audio/video alignment. It's under Audio/Interleaving in VirtualDub; I don't know where it is in your version of VirtualDubMod.
In XviD, for better quality, raise the bitrate.
Cyberia
11th March 2005, 05:22
Originally posted by neuron2
DGIndex should have created a file ending in .ac3. That is the audio file.
Don, if Decode worked and Demux didn't then he's got LPCM audio.
Making Demux work with that type is on the to-do list.
He just needs to compress the wav file, probably to mp3.
He also needs to select a video compression codec.
And then he needs to mux them together. Done.
Kakebeeke
11th March 2005, 09:49
if Decode worked and Demux didn't then he's got LPCM audio.
Correct, when I play the file I can see that it's LPCM audio.
He just needs to compress the wav file, probably to mp3.
I've just done that.
He also needs to select a video compression codec.
I had already done that but what is a good bitrate? I had 900 and just changed it to 1800. What should be enough? Before I have to try it a million times.
And then he needs to mux them together. Done.
I'm doing that right now.
Thanks,
Guido
killingspree
11th March 2005, 11:32
Originally posted by Kakebeeke
I had already done that but what is a good bitrate? I had 900 and just changed it to 1800. What should be enough? Before I have to try it a million times.
depends greatly on your content, but if you really want to edit afterwards (and therefore recompress - again - later) i'D recommend you to compress it with fixed quant 2 - file size will be fairly large but quality loss will be minimized!
kr
steVe
Kakebeeke
11th March 2005, 12:05
i'D recommend you to compress it with fixed quant 2
I've no idea what that means.
Can anybody tell me where I can adjust the audio? I can't find it in VirtualDubMod
Thanks,
Guido
killingspree
11th March 2005, 12:08
have you seen this guide?
http://www.doom9.org/vdubmod-procedures.htm
anyway, fixed quant 2 means that you are basically encoding at a fixed quality setting and not at a fixed bitrate.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.