Quantcast Avisynth: Wave from Vobs or AC3 with Avisynth? - digitalFAQ.com Forums [Archives]
  #1  
08-11-2003, 07:05 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ Sh0dan:

can i extract wave from vobs or ac3 and using trim with avisynth?

if is possible, please post a little script
and your cool explanations (as always)!

thanks in advance!

Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-11-2003, 07:55 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@jorel,

MPEG Mediator will do this or maybe you have something else
in mind.

-bp
Reply With Quote
  #3  
08-11-2003, 08:07 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I never test it and don't know what it can do, but there is an official (I mean, referenced on official site) filter for AC3 decoding : http://ziquash.chez.tiscali.fr/
Reply With Quote
  #4  
08-11-2003, 10:16 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts


great!
thanks to my 2 wise friends!
Reply With Quote
  #5  
08-11-2003, 12:01 PM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
You can use VDub mpeg-2 and VCF2AVS, here are the links. Just save your processing settings and extract the .wav.

http://home.debitel.net/user/holger....ad/VCF2AVS.zip

http://fcchandler.home.comcast.net/s...lDub-MPEG2.zip
__________________
-Dano
Reply With Quote
  #6  
08-11-2003, 01:39 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts


thank you too Dano
Reply With Quote
  #7  
08-11-2003, 02:27 PM
Wilbert Wilbert is offline
Invalid Email / Banned / Spammer
 
Join Date: Jun 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
can i extract wave from vobs or ac3 and using trim with avisynth?
AC3Source (which Dialhot talks about) downmixes to two channels. If you don't want that you could try the latest binaries with the script:

v=BlankClip(...)# same length as AC3
a=DirectShowSource("xxx.AC3").Trim(...)
AudioDub(v,a)

Using vdubmod you can extract the 5.1 wav. But I never tried this, so dunno whether it works.
Reply With Quote
  #8  
08-11-2003, 06:05 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
.
.
Quote:
Using vdubmod you can extract the 5.1 wav. But I never tried this, so dunno whether it works.
maybe Dano's hehe.. just couldn't resist
-vhelp
Reply With Quote
  #9  
08-12-2003, 07:36 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Wilbert
Quote:
can i extract wave from vobs or ac3 and using trim with avisynth?
AC3Source (which Dialhot talks about) downmixes to two channels. If you don't want that you could try the latest binaries with the script:

v=BlankClip(...)# same length as AC3
a=DirectShowSource("xxx.AC3").Trim(...)
AudioDub(v,a)

Using vdubmod you can extract the 5.1 wav. But I never tried this, so dunno whether it works.
thanks Wilbert...
can you give me more explanation,please?


v=BlankClip(...)# same length as AC3
seems simple but i don't understand how put the source!
can you re-write with one "imaginary" source?

thanks in advance(again)!
Reply With Quote
  #10  
08-12-2003, 07:53 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jorel
v=BlankClip(...)# same length as AC3
a=DirectShowSource("xxx.AC3").Trim(...)
AudioDub(v,a)
In fact Wilbert didn't answer at your problem (you want to extract a AC3 track from a Vob, and he gave you hints to manipulate a .ac3 file, that is an already extracted audio track ).

Btw I can answer to your question :

The last command (Audiodub) needs an audio track and a video stream of the same length. When you have only an AC3 file, you have to create the video stream from scratch by using the command "BlankClip". This command needs to know the length of the clip you want to create (10 sec by default).

So for a 2 minutes AC3 track for instance :

Code:
v=BlankClip(length=120)
a=DirectShowSource("xxx.AC3)
AudioDub(v,a) .Trim(...)
Note : I changed the place of the trim command because I think there was an error in Wilbert answer.
Reply With Quote
  #11  
08-12-2003, 08:29 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts




thanks again Phil
now is really clear,
i try and post the result.
Reply With Quote
  #12  
08-12-2003, 08:51 AM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
If you only want to trim the .ac3 and extract the .wav why use AVISynth for this? You can just trim the .ac3 before you extract to .wav.
__________________
-Dano
Reply With Quote
  #13  
08-12-2003, 08:55 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dano
You can just trim the .ac3 before you extract to .wav.
With wich software ?
Reply With Quote
  #14  
08-12-2003, 09:40 AM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
If you open a vob in VirtualDub-Mpeg2, you can trim the video and audio. When you go to extract the .wav it extracts the trimmed audio. You can then load up your .wav into your favorite audio encoder, I myself use Headac3he.
__________________
-Dano
Reply With Quote
  #15  
08-12-2003, 09:50 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
ok but more doubts:

how can i extract the wav from 2 vobs(middle movie)
together
in virtualdub-mpeg2,as only one wav file?

i don't know how to load 2 vobs together!

Reply With Quote
  #16  
08-12-2003, 10:18 AM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
Ok Jorel, now that I see what you want to do I have an answer. Open your vobs in DVD2AVI and add or delete which ones as needed and save your .d2v project. If this is not what you are getting at then you can "Append AVI Segment" in Vbub-mpeg2.
__________________
-Dano
Reply With Quote
  #17  
08-12-2003, 01:42 PM
Wilbert Wilbert is offline
Invalid Email / Banned / Spammer
 
Join Date: Jun 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
@Jorel, Dialhot

I didn't answer, because I wanted to try it myself. I can't get it to work if the AC3 contains more than 2 channels!

See last message of: http://forum.doom9.org/showthread.php?s=&threadid=57357
Reply With Quote
  #18  
08-12-2003, 10:22 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
thanks for this Wilbert,


waiting with you!
Reply With Quote
  #19  
08-12-2003, 10:28 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
As I mentioned earlier, it's really easy with MPEG Mediator. Just load your VOB files, select the AC3 audio track you want , and export to WAV. If you then want only some part (range) of the WAV, load the WAV in HeadAC3he, and select your start and end points, and encode. Piece of cake

-kwag
Reply With Quote
  #20  
08-12-2003, 11:12 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,

if i load the vob file,i have only track 0 LPCM
and loose all others audio options

if i load the ifo file i can choose the audio track but
i don't want all the audio from the movie,
i need only parts....
but

i can't find the way to export only the audio part that i need
from the 6 channels as wav.

am i doing something wrong?

thanks.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: AVIsynth quit wroking after install nero reload jzhao66 Avisynth Scripting 16 06-09-2005 08:53 AM
Wenas! resample wave N4XO Convertir y Codificar Video (Español) 5 11-06-2004 07:17 AM
FfmpegGUI - wave/mp2(and more) to AC3-2channels free! jorel Audio Conversion 4 05-18-2004 04:55 PM
Avisynth: redo the vobs with just one audio track? Lostagain Avisynth Scripting 6 01-06-2003 01:29 PM
Avisynth: Auto crop using avisynth filter beta? black prince Avisynth Scripting 6 11-28-2002 08:51 AM

Thread Tools



 
All times are GMT -5. The time now is 06:51 AM  —  vBulletin © Jelsoft Enterprises Ltd