How im supposed to use Raw Streaming ?

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
victor_diago
Posts: 245
Joined: Wed Jan 21, 2004 2:44 pm
Location: Brazil, sao paulo
Contact:

How im supposed to use Raw Streaming ?

Post by victor_diago »

Hi all and Phil,

Im starting to test 1.22 right today, and i would like to understand how can i use the raw streaming format.

i mena, mplayer can read it ? what is the command line arguments for zms ?

Thanks for now

Victor Diago
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The raw streaming mode is not really meant for streaming to players like WMP. It was put in to reduce the overhead of streaming to James' gui viewers. That's not to say that it wouldn't work with any viewer that could handle the format but it's not a standard format supported by anything else as far as I'm aware.
Phil
User avatar
victor_diago
Posts: 245
Joined: Wed Jan 21, 2004 2:44 pm
Location: Brazil, sao paulo
Contact:

Post by victor_diago »

Hmm ive got it.

But what is the format ? RGB ?


Thanks

Victor Diago
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Yes, straight out of shared memory WxHxD bytes in RGB format identified by image/x-rgb mime type.
Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

I will start work on this when i get round to upgrading my 'office' zm box to 1.22.x
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
victor_diago
Posts: 245
Joined: Wed Jan 21, 2004 2:44 pm
Location: Brazil, sao paulo
Contact:

Post by victor_diago »

Wooow.


I can read two things :

1 - Cpu less intensive

2 - No more Delay problems.

am i right ?

i see that mplayer deals with raw rgb data, will try it.


Thanks for now.

Victor Diago
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Yes it will be less cpu intensive but i doubt it will help the delay issues of mplayer as the delay is not due to zm, but the chosen media player. I plan to use it on zm4ms and the linux version.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
victor_diago
Posts: 245
Joined: Wed Jan 21, 2004 2:44 pm
Location: Brazil, sao paulo
Contact:

Post by victor_diago »

i hope it will make any difference.


ive tested mplayer, vlc, WindowsMediaPlayer, flash player plugin and a lot of others, local and remote.


All them did just the SAME way.


So, im anxious to try it.

Thanks For now

Victor Diago
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Raw streaming uses a lot more network bandwidth than other streams so if the lag was related to networking then it's only going to make it worse! However as jpeg streaming doesn't lag I think networking issues are not why plugins etc all lag.

The only real solution to the lagging is to get video streaming to use rtp and multicasting I think. Once I've done a bit more research into this I will try and add it.
Phil
Locked