Forum

Forum



SearchSearch   Users   Registration   Entrance
Today: 05.12.2025 - 14:05:45
Pages:  1  

How to use Audio from source file using avisynth

MessageAuthor

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 ?




mike3fan

user




Statistics:
Messages: 155
Registration: 10.06.2001
09.10.21 - 04:53:50
Message # 1
RE: How to use Audio from source file using avisynth

ffaudiosource("H:\v.mkv") Check FFmpegSource's docs for more info. Never tried it with AC3 though...


------------------------
Improved for speed

Carb_328

user




Statistics:
Messages: 334
Registration: 04.07.2002
09.10.21 - 05:03:59
Message # 2
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




bimma

user




Statistics:
Messages: 225
Registration: 05.12.2003
09.10.21 - 05:14:21
Message # 3
RE: How to use Audio from source file using avisynth

vid=FFmpegSource("H:\v.mkv") aud=DirectShowSource("H:\v.mkv",video=false) audiodub(vid,aud) (or FFVideoSource() depending on the version)


------------------------
2000 Z3 2.8 Schwarz II x III

StevzZ3

user




Statistics:
Messages: 24
Registration: 10.24.2002
09.10.21 - 05:21:10
Message # 4
RE: How to use Audio from source file using avisynth

FFmpegSource("H:\v.mkv", vtrack=-1, atrack=-1) Should work this way, but don't expect ac3. It'll give you uncompress pcm




///m42 sport

user




Statistics:
Messages: 641
Registration: 10.09.2003
09.10.21 - 05:25:21
Message # 5
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 ?




UNCDooD

user




Statistics:
Messages: 341
Registration: 12.02.2002
09.10.21 - 05:35:42
Message # 6
RE: How to use Audio from source file using avisynth

Why don't you try tebasuna's suggestion (NicAC3Source)...?




Phattydave

user




Statistics:
Messages: 434
Registration: 09.04.2002
09.10.21 - 05:39:38
Message # 7
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.




switlikbob

user




Statistics:
Messages: 3,021
Registration: 06.12.2001
09.10.21 - 05:46:01
Message # 8
RE: How to use Audio from source file using avisynth
Pro tools wont recognise a plugin (Amplitube) : Previous topicNext topic: Організація переїзду квартири
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants

Forum powered by: YaBB SE 3.10.10