How to read Motion Jpeg video in MATLAB?

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');

Answers (0)

This question is closed.

Tags

Asked:

on 30 Jan 2019

Closed:

Rik
on 30 Jan 2019

Community Treasure Hunt

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

Start Hunting!