"Out of memory" error.
Show older comments
I use the routine matlab to convert videos, MOV to AVI format and for my system identify the 240 frames per second. When I use the routine to convert small videos (200 MB), I have not problems, but I need also of convert large videos (2GB), but the memory laptop is no enough. Anyone know how I limit the used memory of my matlab?
If you need my routine, I publish here. Thanks.
Accepted Answer
More Answers (1)
Paulo Oliveira
on 25 Nov 2013
0 votes
3 Comments
Image Analyst
on 25 Nov 2013
You never uploaded your workbook, or gave a version of the code where you used a standard video, like rhinos.avi, where it failed. Use the paper clip icon to attach files.
Paulo Oliveira
on 25 Nov 2013
Edited: Paulo Oliveira
on 25 Nov 2013
Image Analyst
on 25 Nov 2013
Again, we have not seen your code so it's hard to speculate on the unknown. All I can guess is that you're not using read() to read in one frame at a time, but are trying to read in the whole giant thing all at once, which I've already said (and you' already know) won't work for large videos.
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!