当尝试实时编码和传输原始视频时,建议使用哪种视频/图像编码格式?
我正在尝试通过 LAN (100 Mbps) 连接编码和传输原始视频帧(网络摄像头捕获的帧)。建议使用哪种视频/图像编码格式进行快速压缩(不太考虑压缩率)?
谢谢,
I'm trying to encode and transfer raw video frames over LAN (100 Mbps) connection (frames captured by a web cam). What video/image encoding format is recommended for fast compression (with not much regard for the compression ratio) ?
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您需要各个帧彼此独立,请使用 mjpeg(相当于将每个帧编码为 jpeg)。它很简单,并且您有很多工具可以用来操纵它。
否则,只要您有一个远程现代 CPU 并且分辨率不是太高,只需使用简单的 mpeg4 asp 甚至 h264 配置文件即可。在当前的低端机器上,使用最简单的配置文件编码 320x240 视频应占用不到 5% 的 cpu。
If you need individual frames to be independent of one another, use mjpeg (which is equivalent to encoding each frame as a jpeg). It's simple and you have plenty of tools with which to manipulate it.
Otherwise, as long as you have a remotely modern cpu and the resolution isn't insanely high, just use a simple mpeg4 asp or even h264 profile. Encoding 320x240 video with the simplest profile should take less than 5% cpu on a current low-end machine.