domultifullreadtestonallloadables.m

来自「Video IO toolbox for matlab. 用directsho」· M 代码 · 共 35 行

M
35
字号
function doMultiFullReadTestOnAllLoadables(varargin)%DOMULTIFULLREADTESTONALLLOADABLES(...)%  For any loadable file (according to GETLOADABLEFILES), we run%  DOMULTIFULLREADTEST on it.%%  Any arguments given are passed directly to the videoReader constructors.%%Examples:%  doMultiFullReadTestOnAllLoadables%  doMultiFullReadTestOnAllLoadables ffmpegPopen2  % linux & similar%  doMultiFullReadTestOnAllLoadables ffmpegDirect  % ...if system's gcc is compatible w/ Matlab's%  doMultiFullReadTestOnAllLoadables DirectShow    % Windows%%Copyright (c) 2006 Gerald Dalley%See "MIT.txt" in the installation directory for licensing details (especially%when using this library on GNU/Linux). ienter[loadables, nonloadables, errors] = getLoadableFiles(varargin{:});for i=1:length(loadables)  doMultiFullReadTest(loadables{i}, varargin{:});endfor i=1:length(nonloadables)  if (length(nonloadables{i}) > 3)    if (strcmpi(nonloadables{i}(end-3:end), '.avi'))      iprintf(['"%s" (or more likely its codec) is not fully '...        'compatible with videoReader...\t not tested (%s)'], ...        nonloadables{i}, errors{i});     end  endendiexit

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?