stream.php is unable to grab all of the image data

Forum for questions and support relating to the 1.24.x releases only.
Locked
azadrecords
Posts: 2
Joined: Tue Nov 24, 2009 4:42 pm

stream.php is unable to grab all of the image data

Post by azadrecords »

dear all,

I have spent countless hours trying to get video stream in ZM-monitor but it seems my stream.php is not able to grab all of the image data. Here is the error I get. Any help would be greately appreciated.

Thanks
Azad

I am running on Ubuntu 9.04

[Tue Dec 29 20:23:16 2009] [error] [client 10.244.136.144] Got unexpected message size, got 5, expected 260, referer: http://10.244.136.69/index.php?view=watch&mid=3
[Tue Dec 29 20:23:16 2009] [error] [client 10.244.136.144] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 92,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'Got unexpected message size, got 5, expected 260',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://10.244.136.69/index.php?view=watch&mid=3
User avatar
punch-card
Posts: 39
Joined: Thu Nov 25, 2010 10:29 pm
Location: St Peters MO

Re: stream.php is unable to grab all of the image data

Post by punch-card »

Did you ever figure out your problem? I've got the same issue but running on RHEL 5.4?
azadrecords wrote:dear all,

I have spent countless hours trying to get video stream in ZM-monitor but it seems my stream.php is not able to grab all of the image data. Here is the error I get. Any help would be greately appreciated.

Thanks
Azad

I am running on Ubuntu 9.04

[Tue Dec 29 20:23:16 2009] [error] [client 10.244.136.144] Got unexpected message size, got 5, expected 260, referer: http://10.244.136.69/index.php?view=watch&mid=3
[Tue Dec 29 20:23:16 2009] [error] [client 10.244.136.144] array (\n 0 => \n array (\n 'file' => '/var/www/html/zm/ajax/stream.php',\n 'line' => 92,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'Got unexpected message size, got 5, expected 260',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/html/zm/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/html/zm/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://10.244.136.69/index.php?view=watch&mid=3
krystian
Posts: 7
Joined: Fri Jan 21, 2011 9:37 am
Location: PL

Post by krystian »

same thing here.

There's something wrong with the sock.
Who knows what though :/

The only thing I can see wrong is that I don't get FPS info.
It works fine when using java applet though.
User avatar
punch-card
Posts: 39
Joined: Thu Nov 25, 2010 10:29 pm
Location: St Peters MO

Post by punch-card »

I finally got my copy to completely work, after making sure I got a good compile of ffmpeg, and make sure a whole heard the configure switches were set and several other things....

If you are doing RHEL, I post somethings I have tried.... I wish I could say which was the magic bullet, but alias not.
Best Regards
Mike
krystian
Posts: 7
Joined: Fri Jan 21, 2011 9:37 am
Location: PL

Post by krystian »

Could you list the things you have tried?

It could really help as this one is just something I can't pass :/

Thanks,
Krystian
User avatar
punch-card
Posts: 39
Joined: Thu Nov 25, 2010 10:29 pm
Location: St Peters MO

Post by punch-card »

Check the last posting in this tread, that was one of the things that I did to address shared library issue. My configure string is in the thread, of course that would need to be tweaked for you acct/pass, where you install ffmpeg, and several other things.
http://www.zoneminder.com/forums/viewto ... ght=#66849
I am assuming your either running Centos or RHEL, because otherwise this is probably of no value. I started out by using some of the centos build thread.

If this is the case, I will pull my history stack one night this week and see if I can generate a list of thing that were attempted. I took a while...
Best Regards
Mike
Locked