ios iPhone - 如何录制 8 小时的睡眠研究视频?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17355135/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iPhone - how can I record 8 hour video for sleep studies?
提问by Alex Stone
I would like to try recording sleep with an iPhone, connected to a power source overnight. However, I'm not sure if the default camera is capable of recording videos that long. A colleague suggested using a video codec with very few key frames, just saving the changes between frames.
我想尝试使用连接到电源的 iPhone 记录睡眠过夜。但是,我不确定默认相机是否能够录制那么长时间的视频。一位同事建议使用关键帧很少的视频编解码器,只需保存帧之间的更改。
My questions are twofold - are there any open source projects that already do long(3+ hours) video recording on iPhone.How would I extract the file from the iPhone if it is 3 Gb or so in size?
我的问题是双重的 -是否有任何开源项目已经在 iPhone 上进行了长时间(3 小时以上)的视频录制。如果文件大小为 3 Gb 左右,我将如何从 iPhone 中提取文件?
采纳答案by Linuxmint
At first glance this doesn't really appear to be a programming question...but you hint that you may be looking for open-source code for a video codec.
乍一看,这似乎并不是一个编程问题……但您暗示您可能正在寻找视频编解码器的开源代码。
However I thought I might shed a bit of light on the iPhone itself.
不过我想我可能会对 iPhone 本身有所了解。
If you're recording at 320p, that averages out to about 15mb per minute. Calculating 8 hours, equals 7.2GB.
如果您以 320p 录制,则平均每分钟大约 15mb。计算8小时,等于7.2GB。
To my knowledge, there is no time limit, just the limit of your iPhone empty HD space. However, some people have reported that the video recording stops sometimes, seemingly randomly, during very long recordings.
据我所知,没有时间限制,只是你的 iPhone 空高清空间的限制。但是,有些人报告说,在很长的录制过程中,视频录制有时会停止,似乎是随机的。