flv2wav: Convert a flv file to a wav file
0001 function [exeStatus, exeResult, time]=flv2wav(flvFile, wavFile) 0002 % flv2wav: Convert a flv file to a wav file 0003 0004 % Roger Jang, 20091025 0005 0006 % ====== Find the path to the executables 0007 [parentDir, junk, junk, junk]=fileparts(which(mfilename)); 0008 exeDir=[parentDir, '\exe']; 0009 executable = [exeDir, '\flv2wav.exe']; 0010 dosCmd=sprintf('"%s" "%s" "%s"', executable, flvFile, wavFile); 0011 0012 t0=clock; [exeStatus, exeResult]=dos(dosCmd); time=etime(clock, t0);