which uses less bandwidth: mpeg or jpeg?

Support and queries relating to all previous versions of ZoneMinder
Locked
semotta
Posts: 20
Joined: Wed Jun 29, 2005 11:39 pm
Location: Sao Paulo, Brazil

which uses less bandwidth: mpeg or jpeg?

Post by semotta »

Hi,

I was wondering, which is better in terms of bandwidth use: to send video stream using mpeg or continuous jpeg images? Does it make any difference?

Thanks,
Sergio.
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

Never done a like-for-like comparison, but you can screw down mjpeg to really very little by limiting the size, colour and fps at the camera end. I have 7 640x480 b&w streams camera-limited to 5fps running through a normal 100mbit lan with no signs of choking. ZM chugged quite a bit with them until I upped the hardware to cope.

You can also adjust the compression on mjpeg, but I understand it's a tradeoff between bandwidth and increased CPU utilisation.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I think technically mpeg uses less bandwidth as it just sends the differences between frames each time, plus other optimisations. However mpeg streams often seem to suffer from lag problems so I prefer the immediacyand simplicity of mpjpeg streams.
Phil
Locked