Why am I unable to read my AVI file in MATLAB on a Mac Pro ?

조회 수: 15 (최근 30일)
Anfal D
Anfal D 2019년 11월 5일
댓글: Anfal D 2022년 9월 29일
I am trying to read avi video file but an error accure said :"Error using vision.VideoFileReader
Invalid input file."
even I tested for avi built in video in matlab.
  댓글 수: 2
Bindu Verma
Bindu Verma 2022년 9월 29일
Have you found any solution. I am facing the same issue.?
Anfal D
Anfal D 2022년 9월 29일
yes it solved by using
videoObject = VideoReader('video_1_trim.mp4');
so for AVi video it will be readit only if i create the video by videoWriter ( aaa.avi)
I hope thats help you

댓글을 달려면 로그인하십시오.

채택된 답변

Sai Bhargav Avula
Sai Bhargav Avula 2020년 3월 27일
Hi,
To the best of my knowledge MATLAB relies on Platform APIs to read a file using VideoFileReader. If Quick Time can't open the file on your macOS, you will not be able to read it using VideoFileReader.
Hope this helps!

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by