Please help!
I have dual-audio mkv file and by default haali media splitter select first track, so when I use script
I only rich the first track. Is it possible to select second, third, ... audio track from ogg/mkv/mp4 files to be using avisynth?Code:directshowsorce(file.mkv)
+ Reply to Thread
Results 1 to 8 of 8
-
-
You could try FFmpegSource:
FFmpegSource(string source, int vtrack = -1, int atrack = -2, string timecodes, bool vcache = true, string vcachefile, string acachefile, string pp, int ppquality = 6, int threads = -1, int seekmode = 1)
Try different values of atrack:
atrack & vtrack: Track number as seen by the relevant demuxer, starts from 0, -1 means it will pick the first suitable track and -2 means it's disabled. -
Thanks a lot for your suggestion!Originally Posted by AlanHK
Oh, I do not know why I could not start ffmpegsource, it says there is no such function or so on. But ffmpegsource2 works fine.
selects second audio track.Code:FFMPegSource2("<>.mkv", vtrack = -1, atrack = 2)
ffmpegsource2 looks very promising, thanks for suggesting it again.
(poisondeathray, thanks too, but I already know about demuxing) -
Both versions are plugins, not built-in functions. You must have installed ffmpegsource2 (by putting the dll in the plugins folder) previously.Originally Posted by lovyagin
-
Yep, but is ffms2 is newer version or something completely different? Is it better or worse?Originally Posted by AlanHK
-
Pretty sure it's just version 2 of the same project, but haven't followed the history.Originally Posted by lovyagin
-
Yes it's a newer version that replaces the old ffmpegsource. It has updated libraries and some new functionality. Read the documenation for more info
Similar Threads
-
How to convert mkv to dvd with multi-audio track and multi-subtitles?
By funnybunny in forum MacReplies: 1Last Post: 6th Jul 2011, 15:21 -
Get audio track from DVD Extra instead of film sound track in VIDEO TS
By Josephine in forum Newbie / General discussionsReplies: 4Last Post: 2nd Aug 2010, 13:25 -
DVD Studio Pro -select Video, Audio and Subtitle track in low res for proof
By RonCole in forum MacReplies: 3Last Post: 3rd May 2010, 13:03 -
Strip out an audio track from an MKV container
By iBeech in forum AudioReplies: 4Last Post: 28th Apr 2009, 08:24 -
re-encode only video track of Quicktimes but keep audio track untouched
By brennbaer in forum Newbie / General discussionsReplies: 6Last Post: 29th Jul 2007, 09:25



Quote