Issue using VideoReader and read functions
3 次查看(过去 30 天)
显示 更早的评论
I have a matlab based application for analyzing video in sports applications. This application stores information associated with events in the video using the frame number to locate the position on the video. This is an application we have run for a number of years without any issues. Both the VideoReader() and read() functions are used to look up the image of a specified frame:
VideoInfo = VideoReader(VideoFileName)
im = read(VideoInfo, FrameNumber)
All of a sudden, I am running into issues on some computers, but not all, and I suspect that it may have to do with a recent windows update. On some computers, the functions are looking up incorrect images for a given file and frame number. We have our video files synchronized through dropbox - so, the various computers are using the exact same video and data files.
I did a recent windows update and ran into the problem on my computer. I then uninstalled the update and the problem went away. This is why I am suspicious that the update may have had something to do with it, but I am not certain.
Does anyone have any similar experience or tips as to where I should look? Thank you in advance.
3 个评论
Daniel Jablonski
2024-9-22
I have the same problem and cannot diagnose it on my own.
The problem is visible in both scenarios, if I read frame by frame or in a frame range,
I think it might be some wrong conversion (rounding?) between frame number and time.I have 60 fps video and incorrect read happens around 7min 49-50 sec.
I think this is platform independet - I am running this on mac
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!