问题
Following http://ccl.northwestern.edu/netlogo/docs/programming.html#movies . I created video of my model comprising of run 2351 ticks. It created a video of size 1GB!. The video lasts only two and half minutes. I don't seem to understand why. I tried varying frame-rate still the huge file size. It gives a file-size of 560 Mb for a 10 sec movie! What am I missing something here?
Also, Is it possible to extract the video in some other format than .mov like .mp4 or .avi which are Windows friendly or VLC friendly? Simply changing the extension doesn't seem to do the job.
回答1:
This is expected (though unfortunate) behavior — both the file size and the lack of flexibility around format.
It's covered at https://github.com/NetLogo/NetLogo/issues/166. See also https://github.com/NetLogo/NetLogo/issues/165. Summary: you'll have to use some separate tool to compress and/or convert the .mov file. Or, don't use the movie commands at all, use export-view
or export-interface
and use some separate tool to make a compressed movie from the resulting PNG files.
来源:https://stackoverflow.com/questions/27912884/netlogo-video-capturing-file-size-and-format