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.
精彩评论