hasFrame returns a zero value
1 次查看(过去 30 天)
显示 更早的评论
I'm trying to convert a .avi file to a sequence of images. I followed the example shown here: http://www.mathworks.com/help/matlab/examples/convert-between-image-sequences-and-video.html
However, my hasFrame returns a zero value. What's odd is that VideoReader gives me the correct information about the video - including the correct frame rate. Any ideas as to why hasFrame is not working properly?
1 个评论
Clifford King
2018-8-23
I was using this function to pull that last ~60 frames from a video. I changed the CurrentTime slightly and was able to get it to work.
回答(1 个)
另请参阅
类别
在 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!