开发者

what video/image encoding format is recommended when trying to encode and transmit raw video in real time?

开发者 https://www.devze.com 2023-01-21 06:32 出处:网络
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 (

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,


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消