PDA

View Full Version : Extracting Audio; How's It Done?



Andy D
11-12-2003, 05:47 PM
HI All,
I used TMPGEnc to convert a movie from Avi to MPEG1, the video is prime quality, but lost the audio.

I have a CD with VirtualDub 1.5.4 and tried to use that for converting, but the audio component is a bit, well very echoey (? if such a rod exists, doubt it though), and very irritating. The video isnt as great either.

Can anyone recommend how to get round this problem?
It has been mentioned before that Virtual dub should be used to extract the audio but I dont know how to do it...any advice?

Thanks

Andy

mark845
11-12-2003, 05:54 PM
open v dub then open your avi file then go to Audio-direct stream copy, then go to file-save wav, but i think u will will have to convert that wav file if u want to mux it back into your mpeg1, can i ask wot ur making? isit vcd?

Andy D
11-12-2003, 05:57 PM
Exactly.. wanted to copy to VCD to take to family this weekend.

Andy

browser
11-12-2003, 06:04 PM
www.dvdrhelp.com

Andy D
11-12-2003, 06:04 PM
WhenI try to open the avi file in Virtual Dub I get the message that Virtual Dun has detected an impropre VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatability and that this may introduce upto 16379ms skew from the video stream. ANd if this is unaaceptable, to decompress the whole audio track to an uncompressed WAV file and recompress with a constant bitrate encoder.... Gulp!

Andy

Andy D
11-12-2003, 06:10 PM
I have trial; version of WinMPG Video Convert which I have tried for a few mins of the movie, and it worked great... only problem is the "unregistered" text right in the middle of the screen....

Andy

Gre1
11-12-2003, 06:48 PM
Originally posted by Andy D@12 November 2003 - 13:04
WhenI try to open the avi file in Virtual Dub I get the message that Virtual Dun has detected an impropre VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatability and that this may introduce upto 16379ms skew from the video stream. ANd if this is unaaceptable, to decompress the whole audio track to an uncompressed WAV file and recompress with a constant bitrate encoder.... Gulp!

Andy
That is nothing just go to audio>full processing mode and then file>save wav.

Andy D
11-12-2003, 06:55 PM
Cheers Gre1... doing that at the moment....

Andy

Andy D
11-12-2003, 11:34 PM
Well I extracted the sound as a wav and tried to combine them in TMPGEnc, but after 4 hours I have only 5 minutes of movie, and an indication that another 61hrs are required. I've decided to switch it off and get some sleep.

Is this normal? Not getting sleep, but the length of time to code the movie in TMPGEnc.

Good night all....
Andy

Gre1
11-13-2003, 01:28 AM
No it's not close down some programs that are running because it needs some memory.

Adster
11-13-2003, 01:42 AM
I always use virtualdub works fine

Gre1
11-13-2003, 02:35 AM
U use it for what.

Andy D
11-13-2003, 07:17 PM
So I presume I combine them in TMPGEnc, and then it is ready to write to CD (VCD)? I'll give it another try and see if it can run any faster.

Andy

toddiscool
11-13-2003, 07:27 PM
You have alreaddy encoded the movie to mpg 1 right? The audi just did not go with it correct? No point in ncodeing the film again use Besweet - google it. To convert the wav to MP2 (it is a little bit awkward to do but you will figure it out) then go to file-mpeg tools in tmpgenc andunder simple multiplex take the mpg file that you have for video and the mp2 you made an multiplex them. That should sore it. I do no let tmpgenc do my audio any more.

Andy D
11-13-2003, 07:48 PM
What you say is exactly what happened... video OK, sound non existent.

Cheers

I'll give that a try mate

Andy

Andy D
11-13-2003, 07:57 PM
I cant even decide upon the correct file to download. I have a command line version which doesnt look too friendly....

Andy

Andy D
11-13-2003, 08:28 PM
I presume I would also need to divide the movie into 2 so that it can fit on 2 CDs?

Perhaps I should just download movies already presented as cd12 and cd2....

Andy

SMID
11-13-2003, 08:53 PM
Do you have Gspot

Use it to see what codecs you have and what the movies requires.

Virtualdub will extract most audios
Audio - direct stream copy
Compresion- NONE
Coversion -44100Hz
Save as wav

It will not work with Audio,s with unkown tags (this is found by opening file in Vdub and looking in
File - file information
Make a note of Frame Size to decide which template you want to load
IE, 23,970 =Videocd(NTSCFilm).mcf.

Audio
Compression (see if unknown tag)

If it is unknown, Get a copy of Goldwave4.26

Open AVI in Goldwave
Deflashing starts (sometimes it looks like the program has crashed just giv it a min).
I now maximise the sound cos some the latest VCD have had quiet audio.
Save as wav.

Use the new wav in tmpgenc with original AVI.

Decode whole movie and split with program like VCDcutter, if you split in tmpgenc you can sometimes get sync errors.

Also check enviromental settings
VFAPI plugins as some AVI need these to be adjusted.

Abit long winded but each part only takes 5mins 9except Tmpgenc Decode (if you are not doing anything else on PC change tmpgenc Priority to high.

Good luck

toddiscool
11-14-2003, 06:34 AM
Originally posted by Andy D@13 November 2003 - 14:57
I cant even decide upon the correct file to download. I have a command line version which doesnt look too friendly....

Andy
Like I said it is a bit trick to get going, but once you do it is the best for this type of thing. get the coman line version, the download the gui. Put them in the same folder and open the gui, there will be a spot to tell it where besweet.exe is. Then go from there.

This is all so that you do not have to re-encode the movie file becasue that is a bitch.

ck-uk
11-14-2003, 08:18 AM
Mate if you're not to sure ..it could be easier just to use tmpgenc to encode the audio seperately.

Open tmp ,goto file>new project.Load the avi as normal,choose es audio only.

Press settings>audio:

Sample frequency 44,xx

bitrate 224.

Start.

Once finished just join the video/audio as described by toddiscool

For the futue,theres no need to to extract the audio.If you're having trouble with audio.Goto file >enviro settings >vfapi plugins>increase the direct show filter.

toddiscool
11-14-2003, 09:14 AM
That will work too. I have just found tmp to not handle ac3 well/at all. that is waht I assume that his video has because tmp just not doing anything with it is what usually happens.