|
Extracting audio from an avi movie?
|
|
|
mordath1
Newbie
|
17. November 2005 @ 11:35 |
Link to this message
|
|
In trying to compress an avi movie file, I get this error message:
VirtualDub has detected an improper VBR audio
encoding in the source AVI file and will rewrite
the audio header with standard CBR values during
processing for better compatibility. This may
introduce up to 5648ms of skew from the video
stream. If this is unacceptable, decompress the
*entire* audio stream to an uncompressed WAV file
and recompress with a constant bitrate encoder.
(bitrate 133.2 +_ 20.7kbps)
How would I extract the audio and what programs should I use to do what the error message suggests?
|
|
Advertisement
|
  |
|
|
Moderator
|
17. November 2005 @ 11:49 |
Link to this message
|
|
|
|
mordath1
Newbie
|
17. November 2005 @ 12:52 |
Link to this message
|
|
Apparently I used that program a long time ago because my 15 day trial period is up...any other suggestions?
|
|
celtic_d
AfterDawn Addict
|
17. November 2005 @ 17:41 |
Link to this message
|
|
VirtualDub itself can decode to wav. Just set the audio to full processing and save it.
If you don't want to re-compress the audio you could just use VirtualDubMod which is able to handle VBR mp3 audio.
This message has been edited since posting. Last time this message was edited on 17. November 2005 @ 17:42
|
|
mordath1
Newbie
|
17. November 2005 @ 18:17 |
Link to this message
|
|
Tried that, it told me: "no audio decompressor could be found to decompress the source audio format. (source format tag 0055)".
|
Member
1 product review
|
17. November 2005 @ 19:29 |
Link to this message
|
|
Try going back to Virtual Dub Mod. Go to Streams, then Stream List, and highlight the audio file. Then go to Save as and save it wherever. That should take care of that.
If the audio isn't readable, you may want to look for the codec for it, but I don't think that was one of the tags that had a problem. But, I have that problem too, so just say No when the window comes up, It just might crash the program when you play the file.
As for the file, I think you should try to Disable the audio stream from there as well, compress the file with no sound (but make sure you set the bitrate to match it right!), and add the stream after that. If that doesn't work, just save it as a .wav file, get CDex or something, Use the LAME MP3 encoder it comes with (best sounding MP3 to date), and mux it back into the video file. Good Luck.
This message has been edited since posting. Last time this message was edited on 17. November 2005 @ 19:43
|
|
mordath1
Newbie
|
18. November 2005 @ 00:07 |
Link to this message
|
|
I looked in every option in every place I could but there was no "streams" option. I'm using ver. 1.6.11 build 23774 if that helps
|
|
celtic_d
AfterDawn Addict
|
18. November 2005 @ 03:32 |
Link to this message
|
|
There is no 1.6.x version of VirtualDubMod. You must be refering to a regular version.
|
|
mordath1
Newbie
|
18. November 2005 @ 07:24 |
Link to this message
|
|
My mistake, I was looking at virtualdub (wrong program), for the suggested options, just opened up the right program and saved the audio file. Got the audio track back in as .wav, now just have to get it to sync with the video so it doesn't look like an english dubbed kung-fu movie.
This message has been edited since posting. Last time this message was edited on 18. November 2005 @ 08:58
|
|
The_OGS
Senior Member
|
20. November 2005 @ 06:17 |
Link to this message
|
All you guys,
mordath1, Lethal_B, and Rikoshay, need to know enough to use NanDub.
NanDub is a mod of VirtualDub that works with AC3 and VBR MP3 audio.
Don't just give mordath1 a good extraction program - inform him he does not need to extract ;^)
You guys are, however, suggesting he Demux the audio and decompress into WAV file, then re-encode the audio into - what, CBR MP3?
Mordath, just do whatever to your AVI file (you are trying to compress it? It's already compressed).
Then use Nandub to interleave the audio from your previous file with your new more-compressed video.
Simple. Easy!
NanDub may be found within the GordianKnot rippack
http://www.afterdawn.com/software/video_software/dvd_rippers/gord... Regards
ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
|
|
celtic_d
AfterDawn Addict
|
20. November 2005 @ 17:24 |
Link to this message
|
|
VirtualDubMod includes about every piece of usefull code from NanDub. The only noticable thing missing is SBC encoding.
|
Member
1 product review
|
21. November 2005 @ 10:40 |
Link to this message
|
|
Yeah, I tried Nandub, but it didn't work correctly for my purpose, that's why I told him to use VDM instead. Look, Don't encode it to .wav to put it back in, just extract it as it is, then put it back in after you do whatever you did with the .AVI file. The audio size is small enough to work for it. It could be that you don't have the codec for the file that you're trying to change, so you should download AVIcodec and find out if you really need to re-encode it. Just tell us the size of the file and what codec it was created from, like DivX or what-not.
-To the OGS:
Isn't Virtual Dub Mod a mod of Virtual Dub as well? :)
Late.
This message has been edited since posting. Last time this message was edited on 21. November 2005 @ 10:42
|
|
mordath1
Newbie
|
21. November 2005 @ 11:09 |
Link to this message
|
|
How would I just extract it "as is" ? I've got vdub, vdub mod and nandub, only thing I know of is "save as wav" to get the audio extracted. D/l avi codec and here's what I got from it as far as the codec info. " Audio : 39 MB, 128 Kbps, 48000 Hz, 2 channels, 0x55 = MPEG Layer-3, Supported"
This message has been edited since posting. Last time this message was edited on 21. November 2005 @ 11:12
|
Member
1 product review
|
22. November 2005 @ 10:31 |
Link to this message
|
|
That's not exactly what I asked for. I meant, what is the codec used for the file? Do you really need to re-encode the .avi file? Are you putting it at the right fps? Tell me! The Video, not audio.
As for the audio, going back to VDM (or Virtual Dub Mod), and when you go to Streams, then stream list, select the one item that comes up, Then, one of the buttons should say "Save AS" and it should tell you where it would like to save it. The save type should look like "file.MP?" or whatever. Save it as THAT. It'll come out as the .mp3 file, and then you have the file. That's called Demuxing the audio.
Or, you could just encode the file to a smaller size, with the audio still in it, by just selecting "Direct Stream Copy" in the Streams menu. If it's having problems with syncing properly, then in one of the menus is the option to sync with the video, either the option is called that, or the option is what the_OGS said, Interleaving.
Please, just try this. And Tell me what codec the Video is in, not the audio! I already knew what the audio was from your first post.
This message has been edited since posting. Last time this message was edited on 22. November 2005 @ 10:38
|
|
mordath1
Newbie
|
22. November 2005 @ 10:54 |
Link to this message
|
|
Ok, wasn't too sure what you were asking for the first time. Here's what comes out via avi codec with the video portion: 310 MB, 1019 Kbps, 23.976 fps, 608*336 (16:9), XVID = XVID Mpeg-4, Supported
Reason I'm trying to compress the avi file is it's rather large, I want to save it on a backup service online and have a limit on how much I can upload. When trying to compress it using vdub or vdub mod I got the original error which is what led me to try compressing the audio, just can't get it to synch right to the video after that.
Now I'm having issues with an xvid codec missing, d/l divx and tried to watch the file through wmp but it's not having it, any idea where I can get the xvid codec? I checked google but there's a bunch of sites that refer me to a ton of them, not sure which is the best to get now.
This message has been edited since posting. Last time this message was edited on 22. November 2005 @ 11:32
|
|
blue1
Suspended due to non-functional email address
|
22. November 2005 @ 12:03 |
Link to this message
|
|
Member
1 product review
|
28. November 2005 @ 07:33 |
Link to this message
|
You can get the main site here:
http://www.koepi.org
Or you can get the file from this link:
http://www.afterdawn.com/software/video_software/codecs_and_filte... But it's a beta so just go with the home website first.
Hmmm...The only thing I can think of now is to ask where you're going to put it, and how much of a quality reduction do you intend to place it in.
I'm not really too keen on lowering the audio any more than that, but if you really need to, then just decode it to .wav from Streams, then recode it to a smaller bitrate in CDex or some MP3 converter that supports LAME encoding. Tell me how much you can upload and for what reasons exactly.
|
|
mordath1
Newbie
|
28. November 2005 @ 10:34 |
Link to this message
|
It's just over the limit of 500kb for the trial account and I'm not too keen to pay for more space, just for one file...hence why I'm trying to compress it. Is it possible to burn an AVI to a cd rw or do I need to get a dvd burner for that? That would save me the loss of quality and compression issue.
|
Member
1 product review
|
28. November 2005 @ 10:40 |
Link to this message
|
|
What exactly are you trying to do? Are you just backing it up? If you are, then just burn it to a CD-R.
You mean that the file has to be less than or equal to 500kbps? Or do you mean that the file size has to be 500 kilobits(Kb) or 500 kilobytes (KB)?
Tell me what site your going to and give me specs on what exactly they are supposed to do for you.
|
|
mordath1
Newbie
|
28. November 2005 @ 10:56 |
Link to this message
|
I think I said I was trying to back it up, the site (xdrive.com) has an allotment of 5gb but I've only got a little over 500kb left because I've got my backup file of the hd on there, was trying to squeeze the file in there before I do a complete reformat of my hard drive. If I want to pull it back off the cd r and put it on my hd, wouldn't I be better off using a cdrw? It's an AVI a relative saved on my computer that they took of my son's birthday party, would like to save it one day to dvd once I get a burner for it.
|
|
The_OGS
Senior Member
|
29. November 2005 @ 07:28 |
Link to this message
|
CD holds 700MB, DVD 4700MB.
Your AVI will fit easy on 1 CD (could fit 9 of them on DVD).
Just burn, like data. File on disk, no worries :^)
Re-sizing AVI is bad plan, lots of time/work, poor results w/ further degradation for the tiniest size change.
You could if you wanted (it's a bad plan) but you COULD make a smaller AVI video-portion, then simply reattach the audio from the original AVI.
This would achieve the great majority of the shrinking.
To further compress the audio would be lots of work and degradation, and save only coupla lousy megabytes...
Quote: Audio : 39 MB, 128 Kbps, 48000 Hz, 2 channels, 0x55 = MPEG Layer-3, Supported
Don't mess with this audio file; just use it 'as-is'. NanDub will work with it 'as-is' and happily reattach it to another video file if you so desire :^)
L8R
ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
|
Member
1 product review
|
1. December 2005 @ 18:40 |
Link to this message
|
|
The_OGS is right. If you were just removing the last item you needed before you make a clean install, just burn it to a CD-R. I say that because if it's important, then you should make it on something that won't be erased by accident by someone, or you need the CD-RW. Keep the file size as it is.
Anyway, sorry I got somewhat irratible in earlier posts, I didn't know the full extent of what you were doing. Also, I didn't put the instructions for using VDM right, which would have made you confused, I suppose. I said that in Streams>Stream list, to save the MP?, I said "Save As", which should have been "Demux", which is the proper term used there.
Yes, backup the file to a CD-R, at that size, you should have more than enough space, and you should use that space to backup any item that might be worth saving that you didn't have space to put on the site, like your favorites, ect. (just making small talk:).
Good luck!
|
|
mordath1
Newbie
|
1. December 2005 @ 19:18 |
Link to this message
|
|
Thanks, I hadn't thought about the favorites and such.
|
|
swansong
Newbie
|
3. December 2005 @ 01:10 |
Link to this message
|
mordath_1. i had the exact same problem but VirtualDub, full processing on audio did the job for me. Thanks for all the usefull info tho guys.
|
|
Advertisement
|
  |
|
|
caucano
Member
|
7. December 2005 @ 11:56 |
Link to this message
|
hey Rikoshay,
I tried using VirtualDubMod v. 1.5.10.2 to open up an AVI file. GSpot tells me its 4CC is wmv3 (windows media codec?) and the audio is ACC (recognized by VDM). now when i 1st open the file i get the same error mordath1 had at the beginning of the post. also one further error on the video:
"couldn't locate decompressor for format "VMV3"(unknown).
VirtualDub requires a Video for Windows(VFW) compatible codec to decompress video. DirectShow codecs, such as those by Windows Media Player, are not suitable. Only 'Direct stream copy' is available for this video"
since i'm trying to extract the audio i dont worry about this. i go to streams to try and extract the acc audio to a wav file in full processing mode but get this error:
"No audio decompressor could be found to decompress the source audio format"
If I can play the AVI file in WMP with no problem, shouldn't I have the codec alreadY? i notice the FFDShow audio decoder in the task bar as the video plays.
Any suggestions?
|