no:of frames showing zero!
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!