Log in

View Full Version : Audio stream selection?


sumawo13
10th December 2008, 08:32
Does Avisynth have a feature to set the desired audio stream? If not, will it ever have this feature? It would be easier then having to demux audio streams and then using audiodub.

IanB
10th December 2008, 11:56
For FFAudioSource() use atrack=X.

For DirectShowSource() you need to manually build an appropriate .GRF file. Apparently there are DirectShow modules that can influence the default graph to select audio tracks. I have not tried them.

For AviSource() currently no.

Track selection is on the to do list, but is a fair way down.

sumawo13
11th December 2008, 01:55
Thanks, it would be nice to have an option in directshowsource() to select audio tracks and even video tracks for MKVs, VOBs, etc.

vlada
29th December 2008, 01:03
I'm afraid it's not technically possible because the audio selection is up to the splitter you use. You should have a look at FFmpegSource (http://forum.doom9.org/showthread.php?t=127037).