PDA

View Full Version : How to try multiple input source


sonnati
19th October 2009, 17:26
it is possible to try different source mode ?
ES: AviSource then if failed FfmpegSource then if failed DirectShowSource etc... ?

MatLz
19th October 2009, 19:08
Maybe this does work :



function source(string "video")

{

try{try{aviSource(video)}Catch(dont_work){ffmepgSource(video)}}
Catch(dont_work){directshowSource(video)}

}