Issue with VideoReader estimated duration on Windows 10

1 view (last 30 days)
Hello everyone.
We are having an issue with VideoReader in Matlab 2018a. We are using it to open an uncompressed AVI file. It seems to be greatly truncating the video and mis-estimating the number of frames. The video should be 10 minutes, but VideoReader says it's 16 seconds.
When we just double click on the video to open it with Window's Movies and TV, the video shows up as 16 seconds. However, if we look at the video's properties in Windows 10, it says the video is indeed 10 minutes. If we play it with Divx, it is the full 10 minutes. The video is uncompressed and we wish not to convert it first as we will be doing this a LOT and we are using the video for image processing. So we don't want to introduce conversion artifacts.
Is there a way to get Matlab to see the whole video and maybe change the decoder that it is using to interpret the video?
Thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!