Videoreader cannot read video frames properly
4 次查看(过去 30 天)
显示 更早的评论
For example a *.wmv video length is 10 sec. Frame per second 50. Total frame= 10*50 =500 frames.
But Matlab NumberofFrames function gives 351 frames.
When same video start a blackframe, this time function gives 500 frames.
What can I do? What is problem? I think that the problem is Matlab videoreader function.
0 个评论
回答(1 个)
Walter Roberson
2016-1-15
It might be a variable framerate movie. Or the recording process might not have been able to store frames fast enough leading to frames being skipped.
3 个评论
Walter Roberson
2016-1-15
Was the video written using videoWriter class? If so then which MATLAB release are you using and which operating system?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!