How to read motion jpeg video in matlab?

4 views (last 30 days)
Iqra Saleem
Iqra Saleem on 29 Nov 2018
Commented: Rik on 30 Jan 2019
When i try to read motion jpeg video in MATLAB with .mjpg extension. below error occur.
Error using VideoReader/errorIfImageFormat (line 494)
The filename specified is an image file. Use imread instead of VideoReader.
Error in VideoReader/init (line 612)
VideoReader.errorIfImageFormat(fullName);
Error in Untitled2 (line 5)
xyloObj = VideoReader('akiyo_CIF.mjpg');
  1 Comment
Rik
Rik on 30 Jan 2019
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!