View Full Version : demux/extract soundtrack from avi
Twm
18th December 2001, 12:04
hi
how to extract ac3 stream in avi file??
what app use with ?
aviac3split don t work :-(
4lex
18th December 2001, 12:30
never tried it but I would imagine nandub could do it?
Twm
18th December 2001, 13:37
don t work too
nandub mixte ac3 into avi if ac3 is separate file to make 1 avi file
not inverse :-(
sibe
18th December 2001, 14:21
Nandub definitely does it! Select "Direct stream copy" in the audio menu, then choose "Save WAV" in the file menu and then rename your file to .ac3
I've seen a lot of people getting confused about this, although it says save WAV it actually extracts the audio track in whatever format it is when you checked "Direct stream copy". It will have a .wav ending but you just have to rename it and you're fine.
Sibe
ChristianHJW
18th December 2001, 17:56
.. sibe is correct, this is the way to do it. If you chose ' "audio.ac3" ' as your filename you may even do the renaming process while its demuxed ...
Stendrik
21st December 2001, 15:53
I have made a DivX movie with AC3 sound and then splitted it into two parts.
Now I want to extract the AC3-files from these DivX-files again(doesn't sound logical, I know).
Can anyone tell me how to do this ?:( :(
sibe
22nd December 2001, 18:19
The same question was already answered in this forum. Look at that thread: http://rilanparty.com/vbb/showthread.php?s=&threadid=11514
Chaos_rox
24th February 2002, 01:59
Aiight, so,just like the topic, i need some help extracting AC3 audio from a divx (.avi) file. (i was surprised to, a divx with ac3 audio!?) Anybody have any ideas on what to do? :confused:
dragoman
24th February 2002, 09:23
Use Virtualdub.
First, load your avi file under the "file" menu.
Go to the audio menu, select both "avi audio" and "direct stream copy".
Then go to file menu, select "Save wav". Ignore the title, and name the file xxxx.ac3
Then click okay.
The program will demux the audio as-is, that is it will extract the ac3 file from the divx to you hard drive.
BTW, I always encode my DivX movies with the ac3 audio from the dvd. Plays back much cleaner, crisper, and surround sound is built in.
dragoman
Slogra
23rd March 2002, 14:07
I want to re-encode a movie, but i don't want to re-encode the audio. So i want to get the mp3 from the old movie and put it in the new one.
How do i get the mp3 directly from the old avi?
I know this qeustion has been asked before, but i don't remeber the solution. :rolleyes:
THANKS!
DSPguru
23rd March 2002, 14:11
read the AUDIO FAQ.
Slogra
23rd March 2002, 14:52
Ok, the audio faq didn't really help me much.
But i think i figured it out myself.
I saved the sound to .wav with Nandub. I always thought this would give me a uncompressed wav file, but it's an mp3 with a wav header instead.
I guess i can use this wav file for the new video. Should i import it as .wav or as .mp3 file in Nadub?
DSPguru
23rd March 2002, 14:58
Originally posted by Slogra
Ok, the audio faq didn't really help me much.
don't you think that this could have HELPED YOU ?15) How can I extract an AC3 stream from an AVI file with AC3 audio?
This is easy with Nandub.
audio -> direct stream copy
file -> save WAV
rename the resulting file from xxx.wav to xxx.ac3
make sure this is your LAST post regarding issues that had been discussed in the past or appears in the FAQs.
doom9 decided to make sure all users obey the forum rules (http://forum.doom9.org/forum-rules.htm), and he'll start banning users that don't !
we won't tolerate lazy users.
Slogra
23rd March 2002, 15:30
Mp3 is not the same as Ac3. So i didn't read this part of the faq.
Sorry...
gregor7777
27th March 2002, 00:28
No reason to be so snooty DSPguru, he has a valid point. It doesn't say MP3, so why would one assume that the same process would work? Especially if he didn't know that the process had anything to do with wav's?
Sheesh, I don't think Doom9 had this in mind, the guy was being cool.
I just did a quick search as I had the very same question, I didn't really come up with much until I read this thread.
Now, on to another Q: Is this just a shortcoming of the program? I mean, if the file still consists of a VBR MP3, why does it make a difference what the header says it is? Just curious...
MaTTeR
27th March 2002, 00:49
DSPguru snooty? Nah..he's just enforcing the rules. Yes, Doom9 does have this very thing in mind. Were looking for quality posts which indicate people are reading the documents and exploring a little before posting.
The problem is that were seeing to many people that are afraid to point and click a button if the docs/FAQ's don't say to do so exactly down to the letter. Hope this makes sense.
gregor7777
27th March 2002, 01:07
@Matter
I understand, and you were clear enough. I know what you mean, as I'm a long standing members at other various tech boards that face the very same problem.
Anyhow, I just thought that DSP was a little curt, where he might not have to have been. I mean the guy did post the resoloution to his own problem, instead of disappearing into nowhere, you know? But you fellows have the way of it, so I'll digress.
Thanks
LigH
27th March 2002, 10:27
Dear DSPguru,
if you rant about lazy users, you shall also rant about lazy guides: In fact, it might work to extract the audio to a WAV file, but the resulting file will always have a RIFF-WAVE header when using Nandub/VirtualDub. Therefore, simply renaming the file is indeed wrong. Although it may work in some cases, e.g. many AC3 or MP3 reading applications may ignore the headers and skip to the first valid block; instead, others may not and will fail - due to the additional WAVE header.
For example, the WinDAC (http://www.windac.de) archive (currently wdac153.zip) contains a tool which can strip the header off a wave file (StripHdr.exe); such a tool shall be used to get raw compressed data in a clean way out of a compressed wave file. I wonder if it is allowed to distribute it separately; if not, it may not be a hard job to implement such a tool, even with a GUI. All it needs is 1) finding the "data" chunk, 2) extracting the data to a new file - simply removing 44 bytes would not be the correct way, though - compressed waves have at least an additional "fact" chunk and may contain even more chunks, which all do not belong to the compressed audio data.
DSPguru
27th March 2002, 11:07
LigH,
any decent ac3/mp3 decoder has a sync engine in order to handle corrupted streams. i implemented such a synchronizer in BeSweet, and most of the programs will usually skip the wav header very easily.
there are tons of Header removers out there. i recall that phillips' pub_enc package includes a format convertor that does -> wav2pcm.
jokklas
15th May 2002, 20:08
Hi, anyone have a clue as to how I can extract the AC3 from a DivX? VirtualDub/NanDub doesn't seem to be able to simply save it from the DivX. When I tried it sounded.. hmm.. weird as hell kinnda.
Thanks in advance / jokklas.
DSPguru
15th May 2002, 20:09
read the audio faqs and post your logfile.
landok
21st July 2002, 19:19
I 've try with VirtualDub and NunDub and the result is a wav file.
When i rename the wav to ac3 and try to play it with a dvd player (powerdvd) it takes out this message "Unknown file format".
But everything goes ok if i try to play a ripped ac3 from a dvd.
Please anyone an idea?
:(
DSPguru
21st July 2002, 19:25
:readfaq: q15.
landok
21st July 2002, 20:01
Thanks DSPguru for your answer!!!!!!!
:p
katarakt
27th July 2002, 02:16
the movie is a divx movie with mp3 audio stream and i want to transcode it to a vcd. I need to extract the audio for later muxing with the new video-stream.
How can i extract the mp3 audio from the avi?
DSPguru
27th July 2002, 06:59
:readfaq:
katarakt
27th July 2002, 20:20
i've checked the faq but first found nothing, now with the second try i found one method with virtual dub...testing...sorry for my mistake :(
wschindel
31st July 2002, 15:02
I'm trying to convert a DivX file to VCD. I'm using Virtual Dub to extract the wav file to use as a source in TmpgEnc. When I try to save a Wav, the following messages appears:
1- ACM faild to suggest audio decompression format.
2- AVI output WAV: invalid identifier
Can someone help me?:(
DJ Bobo
31st July 2002, 18:24
Use AVI2WAV or NanDub (File -> SAve WAV)
and look into the audio FAQ -.-
benafk
24th August 2002, 06:26
I have been trying to get my digital out to work and have read Matter's extremely informative post on AC3. I have found that my interleave settings are the problem.
I have a large number of AVI's with AC3 interleaved at the incorrect rate. I want to "rip" the AC3 and re-interleave at the correct rate but cannot seem to figure out how rip the AC3 using Nandub.
I really appreciate any help you can give.
Fox Mulder
24th August 2002, 10:56
http://forum.doom9.org/showthread.php?s=&threadid=7633
Duplex
30th August 2002, 04:24
I tried to do it in Nandub/VirtualDub with "File/Save WAV" while Audio was set to "Direct Stream Copy", but it gives me a WAV anyway.
I dont no any other way, so i ask you guys....
Thx + greets
Duplex
sillKotscha
30th August 2002, 05:32
save as .mp3 - but keep in mind that wav-headers are still included.
try the search button to find out about BeSplit
cheers Sill
pacohaas
30th August 2002, 07:07
:readfaq:
ArcticFox
6th September 2002, 10:41
ive got an avi movie, with 5 channel ac3 audio, now i was wondering how i could demultiplex tha ac3 without comprimising its quality or re-encoding it as i would like to be able to convert the avi to mpeg2 for dvd authoring,
i tried using nandub to "save wav as.." then renamed it to ac3, but when i dropped it into my dvd authoring software it gabe me an error
dionisos
6th September 2002, 16:53
i've almost the same problem as ArticFox
i muxed the 5.1 ac3 with the avi with th default interleaving (i think the delay doesnt matter here) and, when i tried to demux it, the ac3 becames "choppy" like "Blablabla "ta-ta-ta-" blablabla "ta-ta-ta"" u know... :)
it was like a mp3 extracted from a scratched CD
i dont have a clue about whats causing that
=\
thanks!!!
[]s
yuk0
7th September 2002, 01:08
i have this movie its in ac3 audio format so i cant use it with tmp genc is there anyway to extract the ac3 audio from the divx file then convert it to .wav?
Palikrovol
7th September 2002, 04:11
Take a look to q15 in faq, maybe you find the solution.
sherpya
7th September 2002, 05:16
Look at this thread for the pics:
http://forum.doom9.it/viewtopic.php?t=157
This is the italian forum so I will translate in english but I don't want to reupload images
- Open Graphedit
Insert "File Source (aync)" and select the avi
Insert an "Avi Splitter" and connect with File Source
Insert an "Avi Mux" and connect to first pin (Stream 00) of Avi Splitter
Insert Null Render (or file writer if you want also the video) and connect to Avi Mux
The Insert a "Dump" filter (FileWriter wont work here) and connect with second pin (Stream 01) of Avi Splitter
(Dump filter is into audiofilters pack - download section)
Press Play.
Pregress bar will stop after few seconds, no need to wait the entire duration (this happens when avi splitter is connected with a null render without avi muxer)
This apply to:
avi -> avi (only video) + mp3
avi -> avi (only video)
avi -> mp3
and also
avi -> avi (only video) + ac3
avi -> avi (only video)
avi -> ac3
just adding null renderer
I've tested all solutions except avi->avi (only video) but
this case easy works on virtualdub
Hope this work
Cheers Sherpya
mustaneekeri
18th September 2002, 12:52
Well i wasn't sure which forum i should post this but here it goes.
I have AVI clip, (Microsoft High-Speed MPEG-4 V2 video and MP3 audio)
of which i want to demux the MP3 stream. How im goin to do this? With Graphedit? Which filters i should add in graph?
DJ Bobo
18th September 2002, 15:09
Man, you have 121 posts and ask something like this??
Havn't you seen the FAQs??????
Fast answer: use AVI2WAV
mustaneekeri
20th September 2002, 01:36
Originally posted by DJ Bobo
Man, you have 121 posts and ask something like this??
Havn't you seen the FAQs??????
Fast answer: use AVI2WAV
hmm, it's just i've newer had to do such a thing. Ther's always a first time.
goldirin
17th November 2002, 15:22
I have many video files in AVI forma with AC3 soynd 5.1
How I can demuxe the AC3?
I use the nandub save option and the stream has a wave header.
pacohaas
19th November 2002, 17:54
:readfaq:
janosch
19th November 2002, 20:10
Originally posted by dionisos
i've almost the same problem as ArticFox
i muxed the 5.1 ac3 with the avi with th default interleaving (i think the delay doesnt matter here) and, when i tried to demux it, the ac3 becames "choppy" like "Blablabla "ta-ta-ta-" blablabla "ta-ta-ta"" u know... :)
[]s
use 60/80 or 80/80 and ms not frames.
CU
MaTTeR
19th November 2002, 22:23
IMHO using NanDub to mux AC3 is a bad idea since we now have an alternative that does it properly and the results are impressive. Why not use AVImux? It also has some demuxing capabilities.
janosch
19th November 2002, 23:40
why not, if it works !
Nandub works god for me.
Cu
MaTTeR
20th November 2002, 00:01
Look around the forum and you'll see plenty of people posting the same ol problems(ie. choppy playback, dropped signals, etc.). If you don't use SPDIF then that explains why you ask me such a thing;)
Mux your movie with AVImux and then do it with NanDub, compare the playback of each. Also, watch carefully the number of times your CD gets accessed then you'll answer your own question.
jarthel
20th November 2002, 09:18
I have encoded an anime and I used the AC3 files. I've deleted the original files since and I want to extract the AC3 audio. How do I do this?
Thank you.
jayel
N_F
20th November 2002, 09:58
Shame on you ;)
http://forum.doom9.org/showthread.php?s=&threadid=7633
Check number 15
janosch
21st November 2002, 00:15
:confused: i made nearly 2 years my DivX movies with AC3 and it was never a problem. I use SPDIF-Out but it works also with any other setting.
Yesterday i made a movie with 2 AC3 Streams, it works god.
Cu
MaTTeR
21st November 2002, 00:44
janosch,
Consider yourself lucky, the rest of us haven't been as fortunate.
Abond
21st November 2002, 14:26
Nice thread!
Some statistics:
10 times (!) asked "demux ac3 from avi"
4 times asked "demux mp3 from avi"
9 times answered "Read the FAQ":D
Nocturno
23rd November 2002, 17:53
lol .. this thread is so funny.. al those people asking the same question over and over while the answer has been posted on the first page..
my 2 cents..
use virtualdub to demux, rename to ac3 and use besplit to correct the header..
how to use besplit..:
READ THE FAQ ..
MaTTeR
23rd November 2002, 18:16
Hehehe..yes it's very comical.
Yet again another easy way to demux the files properly and in 1 step might be to use AVImux.
Bigslava
28th November 2002, 16:47
Who can answer How to separate Audio and Video Files in AVI file?
DJ Bobo
28th November 2002, 22:19
Use AVI2WAV to get the audio.
Use VirtualDub to get a video-only file.
It's very easy, just set video -> direct stream copy and Audio -> No Audio, and then save to a new AVI. You're done.
hellgauss
5th December 2002, 17:39
How can I extract the ac3 stream from an avi with ac3 audio? Can I do it with Nandub? I only need an audio.ac3 file from a video.avi file.
Thanks
HG
JReiginsei
5th December 2002, 18:30
Check this thread out
http://forum.doom9.org/showthread.php?threadid=33885&highlight=extract+ac3
fvp2k
25th December 2002, 21:52
this is my quistion, how can I rip the AC3 sound of an AVI file!?
Fox Mulder
22nd January 2003, 18:16
:eek:
pafkosta
22nd January 2003, 21:57
Iīme trying to get into stereo conversion to 5.1. so that I can convert many of my DVIX into DVD with the usual 5.1 AC3 sound. But i dont know how to extract the audio from the avi files. Can anyone help me please or give me a link into some place where that is explained.
tks
jarthel
23rd January 2003, 00:25
Originally posted by fvp2k
this is my quistion, how can I rip the AC3 sound of an AVI file!?
you can't unless the person who muxed the AVI used ac3 instead of some other audio format!
jayel
kuliman
28th April 2003, 15:49
Is there a way to save to a separate file only the sound part of a avi movie without converting to wav, but retaining its original format like VBR MP3 or CBR MP3?
thank you
tiki4
28th April 2003, 15:53
Yes. Using VirtualDub(-Mod) and direct stream copy. You always get a WAV header though. If you want to remove that, just use BeSplit with the -fix switch. You just have to select the right type (like AC3, MP3).
That's it.
tiki4
N_F
28th April 2003, 15:56
I'm not sure, but I think VirtualDubMod demuxes tracks properly (without adding a wav-header that wasn't there earlier).
tiki4
28th April 2003, 17:43
Sorry, I don't know. I never tried, but I think you are right.
tiki4
alexnoe
28th April 2003, 22:02
MP3, AC3 and DTS can be extracted using AVI-Mux GUI
tiki4
29th April 2003, 09:31
Of course.
I think your very nice tool is often overlooked. I think you need to advertise even more.
tiki4
kuliman
29th April 2003, 14:45
humm... finally i know what demux does, it works perfect in Virtualdubmod. About Avi Mux Gui, i tried it but did not found any option to do the demux thing. If someone can tell me how.
Thanks
alexnoe
29th April 2003, 17:12
As almost everything => right-click!
kuliman
29th April 2003, 17:32
it does the job but... when you open a file instead of showing imediately the awailable streams you have to click one more button (add video source) you could avoid that, i think...
alexnoe
29th April 2003, 17:40
yes, as soon as i find the time...
tween80
30th April 2003, 11:11
Hi there,
is there a posibility to extract the ac3-stream again out of a xvid file? So far, Iīve tried besweet, but I didnīt succeed! I think itīs because besweet canīt handle the avi-file!?
Thanks for all hints!
Originally posted by tween80
is there a posibility to extract the ac3-stream again out of a xvid file? So far, Iīve tried besweet, but I didnīt succeed! I think itīs because besweet canīt handle the avi-file!?
This question have been asked ~10 times in this thead and have also been answered a number of times... anyway, VirtualDubMod should be able to help you. If not, read through this thread and you'll find several alternatives.
To any moderator that feels hit: For the sake of my sanity, the last ~5 posts of this thread was moved to this older thread, correct?
Sycho
23rd May 2003, 21:36
I have a DivX AVI file, and it has VBR MP3 audio(48kHz approx 127kbit/sec). I am looking for a program that will convert it to *.wav(24kHz 16bit Stereo). The reason for this is that the MP3 decoding slows down my computer. Does any one have any suggestions, any at all?
Awatef
23rd May 2003, 21:40
use avi2wav to extract
rename to mp3
use razorlame to decode to WAV
mux the WAV with your AVI
Sycho
23rd May 2003, 21:54
thanx
pentaX
10th June 2003, 19:52
Hi ppl,
I've read the following guide and i have some doubts.
http://www.doom9.org/virtualdub_procedures.htm#ac3extraction
When I extract the AC3 5.1 audio from the .avi file, can i use VirtualDub instead if nandub with the same process? (since I can't get it to work)
Will VirtualDub 1.5.1 handle the ac3 audio correctly or will I lose 5.1 quality converting it to .WAV ?
Next, to create a DVD I have to run BeSliced to convert it to .ac3 and drag it in DVDMaestro, right?
Thx in advance
Listen...they are just teasing you...and its getting old.
Ok to demux a .ac3 from a .avi take a sharpie pen and
mark out the last 1/4 inch of the cd COMPLETELY!
If you get choppy play back then you missed a spot.
Demuxing a .mp3 from a .avi is the same thing...but
mark out the FIRST 1/4 inch of the cd. (VBR .mp3 requires
a steadier hand :-(
If...and ONLY if...you got MPEG2 audio..this will NOT,
i repeat NOT work. For that you have to read the FAQ
or cut the cd in half. (whatever is quickest).
after that just read the cd like normal ;-P
your welcome in advance.
(almost forgot...thanks. I was looking for this information
and it was quick and to the point (Atleast in the top part
of page 1))
BOCfan
29th October 2003, 13:27
Hi folks!
New to the boards and I was hoping that you could help me out with something.
I was wondering if it is possible to extract the music only from a movies soundtrack?
Recently, I've become incresingly annoyed with official OST releases for movies. They never feature all of the music from the film and invariably, the best bits are always left out.
I've got a hold of some complete scores for movies off the net, so I was thinking that it must be possible to rip them somehow, as these scores that I've downloaded are not available on CD in a full format.
Can anyone give me tips on how do it? What programs will I need to do it? I have GordonKnot on my computer to rip DVD's, but do I need specific software to isolate the score, or is there stuff on GordonKnot already that I just haven't noticed?
Any help you can give would be very, very much appreciated - you'd be making this movie fan a very happy person indeed!
:)
P.S - I apologise in advance if there is already a thread that deals with this query, I haven't been able to find it. If a thread about this does indeed already exist, if you could provide a link I'd be much oblidged. Thanks.
KpeX
29th October 2003, 16:42
Hi BOCfan, and welcome to the forums:
First of all, you'll want to have another look at the forum rules you agreed to when you signed up. Any talk of downloaded and copyrighted material is prohibited here. http://forum.doom9.org/forum-rules.htm
As far as actually extracting music-only from a movie soundtrack: there isn't an easy or exact way to do it. As far as I know there are only two options:
If the soundtrack is a 5.1 surround mix, as is common on DVDs, you can separate the channels and get rid of the center channel, which in some cases, will contain most of the dialogue and non-music effects. This can be done with BeSplit or any other tool that can separate AC3 into mono .wavs. Drawbacks of this method would be that sound effects will still be included, and dialogue may be as well, depending on the mix.
A second possibility would be to decode the soundtrack to a .wav and open it in a sound editor like Cool Edit Pro. There are a number of vocal removing plugins that work on the basis of dialogue and music being encoded differently in a stereo file. Drawbacks of this method would be that the sound will, in most cases, sound very different from the original, usually not very pleasing.
hth,
BOCfan
29th October 2003, 19:33
Thanks for the welcome, and I'll be sure to heed the rules on copyright.
I'll try Beplit and let you know how I get on.:cool:
tompa40
31st October 2003, 18:27
Is it possible to rip out a sound from a movie and edit that?
I have a movie where the sound is to low.
Tompa40
Swatpup
2nd November 2003, 01:34
Is there anyway I can rip an ac3 audio track from an avi so that I can create a dts cd with it.
Tuning
2nd November 2003, 02:44
You can demux ac3 from avi using VdubMod.Open the Avi in VDM,in stream -> stream list ->select appropriate stream(ac3) -> Click Demux.
iSpy
5th November 2003, 19:09
I just bought a dvd burner, and now i want to change all of my divx movies back into dvd's. I have ben trying to use EoH guide to change the stereo to 5.1, but when I try to extract the audio it won't work because it is a VBR MP3. Does anyone have any suggestions for me on how to do this? thanks, iSpy
echooff
5th November 2003, 19:12
Load you avi into VirtualDub Select audio->full processing; File->save wav; give it a new name and click ok. Also welcome to the forum. Remember to follow the forum rules in particular:
1) Read up before asking! There are tons of guides, FAQs and each forum has a dedicated Q&A thread with additional info.
1a) Use the search function before posting. Chances are your question has already been answered.
iSpy
6th November 2003, 16:00
Thank you for your reply echooff. First of all virtualdub won't process VBR Mp3s. I tried it and it won't work. then I read up on virtualdub and what I read confirmed what I found out when I tried it in the first place. the virtualdub can't process Vbr Mp3's. that is why I asked the question. I have read everything that I can find on this website and others about this subject and I haven't gotten a clear answer or solution. Doom9 definatly has the most information on these subjects, so I came here to the forums for some help, thank you for trying to guide me in the right direction. I will continue to look though the extensive info on this site but as of yet haven't found the info I am looking for.
Tuning
6th November 2003, 16:14
Originally posted by echooff
Load you avi into VirtualDub Select audio->full processing; File->save wav
Then select <No compression> PCM as your compression.And save to Wav.I bet this will work.Then trancode this WAv file to your preffered format.
iSpy
6th November 2003, 16:28
Originally posted by Tuning
Then select <No compression> PCM as your compression.And save to Wav.I bet this will work.Then trancode this WAv file to your preffered format.
Thank you for your suggestion, I just tried it and it still didn't work. Virtualdub starts the transcode but the either hangs of gives me an error.
KpeX
6th November 2003, 17:52
Try VirtualDubMod. And also please read the audio FAQ, especially #4.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.