Size limit on 'file' argument of implay(file)?
2 ビュー (過去 30 日間)
古いコメントを表示
Hey all,
So I have Matlab 7.7.0 R2008b and one of my recent projects is to make an animation for a bunch of figures that I generate. I use avifile and addframe in a for loop to make a .avi file and update it constantly to have each frame represent the newly updated figures that appear. The loop goes from 1:5512, so quite a few figures are generated.
I do all this because I want to use the play/pause features of the implay() function. The generated .avi file is 31,637KB, or 30.8MB.
BUT when I eventually call implay('vid2.avi'), it gives an error. "Details of error: Initialization failed. (Ran out of memory)".
I am assuming this is because the file I'm trying to play is too large? Is there a size limit on the implay function? Could this be fixed if I maybe had the newest version of Matlab? Thanks in advance.
NathanF
0 件のコメント
採用された回答
Sean de Wolski
2011 年 7 月 18 日
There is no limit that I know about. How much RAM do you have/what size system (32bit or 64bit OS) are you on? Do you have a whole bunch of large variables stored in your workspace?
2 件のコメント
Walter Roberson
2011 年 7 月 18 日
Also, what size is each frame, how many bits per pixel, and what data representation (e.g., uint8 or uint16) ? implay() might be attempting to create an uncompressed in-memory copy of the entire .avi file.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!