hi, i started using avisynth recently and im trying ot import a .mkv file into vdub mod i used this: FFmpegSource("H:\v.mkv") and the video imports perfectly without any prbs. but how do i use the audio from the same file ? the file has an ac3 audio i tried this: LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\NicAudio.dll") NicAC3Source("h:\v.mkv") but it didnt work. my question is hwo do i feed the audio stream into vdub mod directly without demuxing the mkv file ?
RE: How to use Audio from source file using avisynth
Thank you both for the replies. I am specifically looking for a way to use audio WITHOUT extracting it as a seperate file,i.e directly from the MKV file. ill try ffaudiosource. thanks again, if there are any other methods plz let me know
RE: How to use Audio from source file using avisynth
just tried it. vid=FFmpegSource("g:\tmp\be.mkv") aud=DirectShowSource("g:\tmp\be.mkv",video=false) audiodub(vid,aud) thats the avs file im getting the error DIrectShowSource: couldnt open the file: g:\tmp\be.mkv Cannot playback the file. the format is not supported. I have ac3 filter installed and the same file plays normally in windows media player. what am i doing wrong ?
RE: How to use Audio from source file using avisynth
If WMP plays it, you'll probably be able to open the mkv file in GraphEdit. Remove video branch and the default audio rendering device from the graph and save .grf file, then open it as DirectShowSource() instead of .mkv. Of course, something else is not configured on your system, but that trick might work.