Cannot read video .avi format from hmdb51 dataset into MATLAB Online (For Classify Video Using Deep Learning MATLAB Tutorial)

1 次查看(过去 30 天)
I am following MATLAB Tutorial: Classify Video using Deep Learning
I am having issues that MATLAB function VideoReader() cannot read .avi files that had been unarchived from hmdb51 dataset as mention in the steps. I tried VideoReader() to read some random test file from myself in .mp4 and the function can read it jsut fine.
How can I solve this problem? I do not want to spend time converting each one of the videos from hmdb51 dataset from .avi into .mp4 manually.
* Note:
In the tutorial, there are no steps mentioning to create MATLAB scripts centerCrop.m and readVideo.m
I made these scripts myself and copied and pasted the code from the tutorial page in the helper function (see last page of the tutorial) into the respectives function scripts.
Thank you,
Daniel

回答(0 个)

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by