Effacer les filtres
Effacer les filtres

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

5 vues (au cours des 30 derniers jours)
Anfal D
Anfal D le 5 Nov 2019
Commenté : Anfal D le 29 Sep 2022
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 commentaires
Bindu Verma
Bindu Verma le 29 Sep 2022
Have you found any solution. I am facing the same issue.?
Anfal D
Anfal D le 29 Sep 2022
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

Connectez-vous pour commenter.

Réponse acceptée

Sai Bhargav Avula
Sai Bhargav Avula le 27 Mar 2020
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!

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by