no:of frames showing zero!

3 次查看(过去 30 天)
Aatheeswaran M
Aatheeswaran M 2019-2-27
编辑: Jan 2019-2-28
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

回答(1 个)

Jan
Jan 2019-2-27
编辑:Jan 2019-2-28
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
  1 个评论
Aatheeswaran M
Aatheeswaran M 2019-2-28
ya i saw this document but which one to download? ...i dont know much about these things...can yo help me!
thank you

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by