How can I read a video with frame width and height as 6*8? Cannot read a single frame by using read() function
1 view (last 30 days)
I am reading the attached video with Matlab R2021a, but I get an empty matrix result. However, this video can be played with PotPlayer or read by python code.
file = VideoReader('tmpGetStiTimeFromFrametest.mov');
frm = read(file);
Ananya Tewari on 21 Sep 2021
I tried to read the frames from the provided video but it seems there is some issue with the videofile itself. I also tried to open that in my Desktop but the video was not playing. You can try checking the videofile again and use the read().
At my end I used an example ".mov" videofile and it was working fine, attaching that here for your reference.
v = VideoReader("example.mov");
frm = read(v);