PDA

View Full Version : no audio when processing a VOB with DGIndex


ConsciousEffect
26th September 2009, 12:55
hi guys this will be like the 7th time you have helped me out once i get better at this im going to make sure i come back and answer a bunch of questions for new newbies,

fist a question, if i wanted was to pull the audio out of a muxed vob prob from a dvd and store it in its exact same state, no encoding, no conversions, no quality lost what type of file would it be and same question for the video

ok so im trying to rip my return of the king dvd to my hard drive my first attempt went like this i decrypted dvd with DVDDecrypter, using stream processing to grab just the video stream and the one main 6 channel audio stream, and chose direct stream copy for both, once i get my VOBs i loaded them all up in dgindex set it to forced film and audio output method: disabled, then i save my project file as a dv2, make this avisynth script
MPEG2Source("C:\file\lotr.dv2", CPU=6)
open up virtual dub and load up my script, set my video up (video works fine) in my audio i set it to full processing then ac3-acm and save as avi, the avi that comes out has no audio track,
ive tried demuxing with my dvddecrypter and loading the ac3 files in to virtual dub through the gui, if there is an avisyth command i need to be using to do this then i wasnt able to locate it on the wiki
virtualdub shows a way to import a wav file and dgindex has a way to save the audio as wav, but wont i loose quality that way? i haven't even tried because of this assumption
also i tried demuxing with dgindex and loading the ac3 that came out separately im sure i just need to load the audio with a command similar to MPEG2Source i just dont see it mentioned on the wiki

thanks in advance to anyone who helps

neuron2
26th September 2009, 14:52
The way to get the audio is described in the Quick Start Guide that comes with DGIndex. Look at the section "Sure, Sure, But What About My Audio".

For AC3 I use NicAC3Source() from NicAudio.dll.

You do not lose quality by decoding to WAV, by the way. You lose quality when re-compressing the decompressed audio.

ConsciousEffect
27th September 2009, 16:41
thanks for the helpful post, maybe i was less clear with my question, your statement really confuses me, the audio files stored on dvd are stored in ac3 format correct, converting from .ac3 to .wav doesn't incur ANY sort of quality loss? it seems natural to me to assume ac3=>aac would maintain a higher quality per byte ratio than say ac3=>wav=>aac or ac3=>wav

and i had a feeling that the process of loading the audio stream would be similar to that of loading my video stream, this filter(is that the right word?) should behave the same way as the DGDecode.dll i imagine, i really did expect this to be my problem its frustrating i couldnt find the info i needed anywhere in what ive been reading on the wiki >< but thanks again im sure this will solve my problem

neuron2
27th September 2009, 17:33
thanks for the helpful post, maybe i was less clear with my question, your statement really confuses me, the audio files stored on dvd are stored in ac3 format correct, converting from .ac3 to .wav doesn't incur ANY sort of quality loss? it seems natural to me to assume ac3=>aac would maintain a higher quality per byte ratio than say ac3=>wav=>aac or ac3=>wav WAV is just the uncompressed version of the compressed original. When you do ac3->aac, the ac3 is decompressed transparently (to an internal equivalent of WAV) before being re-encoded as aac.

and i had a feeling that the process of loading the audio stream would be similar to that of loading my video stream, this filter(is that the right word?) should behave the same way as the DGDecode.dll i imagine You totally lost me with that. There is a source filter for video and a source filter for audio. Then you dub them to combine them.

ConsciousEffect
27th September 2009, 19:01
thats done it im good to go, your quick start guide was just what i needed, not only do you write a ridiculously useful program and offer it to everyone for free, you hang around doom9 for years offering one on one FREE customer support to noobs like me who arnt even your customers, i have a difficult time understanding why someone would go that far out of their way to be helpful but i am forever in you debt none the less =)

neuron2
27th September 2009, 20:34
Thanks for the kind words. I suppose everyone likes to be part of a community and have a respected place in it. At Doom9 you win respect by sharing your knowledge and helping others. And I think right-thinking people like to give back for the things they have received. I have gained a lot from being a member here, it's only right to give something back.

SallyDog
28th September 2009, 04:27
Thanks for the kind words. I suppose everyone likes to be part of a community and have a respected place in it. At Doom9 you win respect by sharing your knowledge and helping others. And I think right-thinking people like to give back for the things they have received. I have gained a lot from being a member here, it's only right to give something back.

Well, your "give back" to "take" ratio is about 1,000,000:1 :thanks:

nurbs
28th September 2009, 16:01
Just to clarify about the audio encoding:

This ac3=>aac is the same as ac3=>wav=>aac. The AC3 will be decoded to WAV/PCM but in the former case no intermediate file will be written, instead the data will be passed on directly to the encoder.

As neuron2 said
This ac3=>wav is lossless (because it's just the decoded AC3, so it contains exactly the same audio that you hear when you play the ac3)
This wav=>aac is lossy.
Therefore this ac3=>aac is also lossy.