Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
How Do I Include Sound From Mpeg2 File, I only get video
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
rfmmars
Posted: Feb 5 2004, 05:15 PM


Advanced Member


Group: Members
Posts: 324
Member No.: 5438
Joined: 29-July 03



With my field problem solved, I needed to streamline the process. I need to frame serve VDMOD from a MPEG2 Video capture file.

I am using plugin (mpegdecoder.dll) with Avisynth 2.53.

I tried to use (audiodub) & (wavsource), but it says it doesn't know these commands.

Even though I am not ripping a DVD vob file, do I need to use DVD2AVI or am I leaving something out of the script?

Richard
 
     Top
rfmmars
Posted: Feb 7 2004, 06:33 PM


Advanced Member


Group: Members
Posts: 324
Member No.: 5438
Joined: 29-July 03



Let me restate my wishes. I need to open a mpeg2 files with audio in AVISYNTH. I am using the plugin mpegdecoder, but no sound is imported.

Please just let me know what plugin and version of AVISYNTH I need to do this, Maybe this is a simple matter for you, but I can't see the forest for the trees

Richard
 
     Top
garydude
Posted: Mar 16 2004, 01:05 PM


Unregistered









I think you're close.

Try this as part of your script:

video = (C:\.mpg)\
audio = WaveSource(C:\.wav)
AudioDub(video,audio)

Hope that helps.

ph34r.gif
 
  Top
NuPogodi
Posted: Mar 16 2004, 01:46 PM


Advanced Member


Group: Members
Posts: 536
Member No.: 6558
Joined: 1-October 03



Hi, Richard!
Which version of ffdshow do you use? In my case (AviSynth 2.53, latest ffdshow - 12.03.2004) the command DirectShowSource("c:\ympegout.mpg") works properly... At least, VDub can open such AVS-script (MPEG2+MP2) and, according to FileInformation, the uncompressed audio is PCM WAV. When I've used stable ffdshow build (23.05.2003) which includes no audio filters, the same DirectShow-command refuses to import audiostream... only video...

PS I've just tested multiaudio VOBs... unfortunately, the above method is not suitable to process several audiostreams.

--------------------
Optimists believe that they live in the best of existing worlds. Pessimists are afraid of that's right...
 
     Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
3 replies since Feb 5 2004, 05:15 PM Track this topic | Email this topic | Print this topic

<< Back to Avisynth Filtering, Processing and Scripts Discussion