pluginName = defaultVideoIOPlugin Returns the name of the default videoIO (videoReader/videoWriter) plugin. The videoReader and videoWriter constructors will use the returned plugin if none is specified. SEE ALSO: buildVideoIO videoReader videoWriter Copyright (c) 2007 Gerald Dalley See "MIT.txt" in the installation directory for licensing details (especially when using this library on GNU/Linux).
0001 function pluginName = defaultVideoIOPlugin 0002 %pluginName = defaultVideoIOPlugin 0003 % Returns the name of the default videoIO (videoReader/videoWriter) plugin. 0004 % The videoReader and videoWriter constructors will use the returned plugin if 0005 % none is specified. 0006 % 0007 % SEE ALSO: 0008 % buildVideoIO 0009 % videoReader 0010 % videoWriter 0011 % 0012 %Copyright (c) 2007 Gerald Dalley 0013 %See "MIT.txt" in the installation directory for licensing details (especially 0014 %when using this library on GNU/Linux). 0015 0016 if ispc 0017 pluginName = 'DirectShow'; 0018 else 0019 pluginName = 'ffmpegPopen2'; 0020 end