NetLogo视频捕获文件的大小和格式 [英] NetLogo video capturing file size and format
问题描述
遵循 http://ccl.northwestern.edu/netlogo/docs/programming .html#movies .我创建了包含运行2351次滴答声的模型视频.它创建了一个大小为1GB的视频!该视频仅持续两分半钟.我似乎不明白为什么. 我尝试了改变巨大的文件大小的帧速率. 10秒电影的文件大小为560 Mb!我在这里想念什么吗?
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?
此外,是否可以提取Windows或VLC友好的.mov以外的其他格式的视频,例如.mp4或.avi?仅仅更改扩展名似乎并不能解决问题.
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.
推荐答案
这是预期的(尽管很不幸)行为-文件大小和格式缺乏灵活性.
This is expected (though unfortunate) behavior — both the file size and the lack of flexibility around format.
在 https://github.com/NetLogo/NetLogo/issues/166 中对此进行了介绍一个>.另请参见 https://github.com/NetLogo/NetLogo/issues/165 .摘要:您必须使用一些单独的工具来压缩和/或转换.mov文件.或者,根本不使用电影命令,使用export-view
或export-interface
并使用一些单独的工具从生成的PNG文件制作压缩的电影.
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.
这篇关于NetLogo视频捕获文件的大小和格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!