no:of frames showing zero!
1 view (last 30 days)
Show older comments
videoObject =
VideoReader with properties:
General Properties:
Name: 'image.avi'
Path: '/usr/local/MATLAB/R2017a/toolbox/images/imdata'
Duration: 13.7927
CurrentTime: 0
Tag: ''
UserData: []
Video Properties:
Width: 0
Height: 0
FrameRate: 0
BitsPerPixel: 0
VideoFormat: ''
Done! It processed 0 frames of
"/usr/local/MATLAB/R2017a/toolbox/images/imdata/image.avi"
Iam using the example code from the example videoprocessing,only the rhinos.avi is woking for me,even the traffic.avi does not work for me and also my image.avi also does not work.i have attached the screenshot what i get while i run the traffic.avi.the only difference i see is the codec(that screenshot also attached).
can anybody tell whats the issue?
Iam using matlab linux v2017a
0 Comments
Answers (1)
Jan
on 27 Feb 2019
Edited: Jan
on 28 Feb 2019
It looks like Matlab cannot access the AVI files, because it cannot work with the Codecs. See https://www.mathworks.com/help/matlab/import_export/supported-video-file-formats.html , especially for Linux: https://gstreamer.freedesktop.org/documentation/plugins.html
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!