Error in opening a video in Matlab -


i need in matlab 2012a, due first time using it.

when write function open video "mmread ('jp.avi')" in matlab error pops shown below :

error using ffgrab unable open file

error in mmread (line 146) ffgrab('build',filename,fmt,double(disablevideo),double(disableaudio),double(tryseeking));

note :i put avi video in mmread folder.

i searched in internet regarding issue unfortunately didn't results.

if have solution may work, please let me know.

the error means matlab can't find file. should not put stuff in folders owned matlab. instead, put in folder location know, , navigate in 'current folder' panel (usually on left) when start matlab session (or using current folder dropdown @ top, or using cd command). available use without qualified path.

additionally, don't think you're supposed use mmread directly; should use videoreader class instead; there example of use @ bottom of linked documentation page.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -