Page 1 of 1

How to view monitors with mpeg?

Posted: Wed Oct 02, 2013 4:17 pm
by Basildane
Been at this for almost a month now, I cannot get any video over mpeg at all.
jpeg works, for what it's worth.

I've tried multiple browsers, tried Windows 7, Windows 8, and Ubuntu 32 and 64, 12.04. Makes no difference.

It definitely does not work.
If anyone has successfully used mpeg, would you please share the secret?

If it doesn't work, and never worked, please say that so we don't keep wasting time debugging it.
Thanks in advance.

And by the way, flash works perfectly on my client machines for everything else.

Re: How to view monitors with mpeg?

Posted: Mon Oct 28, 2013 2:59 pm
by justbecause1337
I see the same behavior on 1.26 as well. I don't know about you but I see this error everytime I attempt to view a flash stream.
2013-10-28 10:46:38.347155 web_js 21185 ERR getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-143114s.sock ) failed: Connection refused - checkStreamForErrors() ?view=watch
2013-10-28 10:46:38.237475 web_php 21185 ERR socket_sendto( /tmp/zm/zms-143114s.sock ) failed: Connection refused includes/functions.php 2343
2013-10-28 10:46:28.143319 web_js 21185 ERR getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-143114s.sock ) failed: Connection refused - checkStreamForErrors() ?view=watch
2013-10-28 10:46:28.000163 web_php 20125 ERR socket_sendto( /tmp/zm/zms-143114s.sock ) failed: Connection refused includes/functions.php 2343
2013-10-28 10:46:18.440951 zms 21459 ERR Signal address is 0xa0, from 0x7fcff69ab3a0 zm_signal.cpp 75
2013-10-28 10:46:18.342479 zms 21459 ERR Got signal 11 (Segmentation fault), crashing zm_signal.cpp 53

Re: How to view monitors with mpeg?

Posted: Tue Oct 29, 2013 2:50 am
by lpallard
I dont think this works at all. I tried to switch to mpeg stream instead of jpeg, and everything died:

getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
Monitor-1: 4161000 - Capturing at 14.93 fps
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
Monitor-1: 4156000 - Processing at 14.93 fps
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused - checkStreamForErrors()
socket_sendto( /var/run/zm/zms-345613s.sock ) failed: Connection refused
Signal address is 0xa0, from 0x7f7c0c350af7
Got signal 11 (Segmentation fault), crashing
Signal address is 0xa0, from 0x7fab20d48af7
Got signal 11 (Segmentation fault), crashing

So for me its totally useless unless someone can point out if its due to a backend issue (ffmpeg, etc) or ZM directly. If I use jpeg, its "working".

Re: How to view monitors with mpeg?

Posted: Wed Nov 06, 2013 3:41 pm
by lselinger
Throwing my name in as well. I'm having the same issue and can not for the life of me figure out how to get mpeg working. If anyone figures this out please post :) ... I'll keep trying things but so far I'm seeing the same results. Ive also messed around with my ffmpeg output settings with no luck. :shock:

Re: How to view monitors with mpeg?

Posted: Wed Nov 06, 2013 5:33 pm
by lpallard
I have opened a bug ticket on Github at

https://github.com/ZoneMinder/ZoneMinder/issues/247

Lets hope someone jumps in! ;)

PS: Give it a day or so or the ticket to appear on the github page.... Not sure why but posting from my work computer, the ticket doesnt appear immediately after posting..

Re: How to view monitors with mpeg?

Posted: Thu Nov 07, 2013 9:14 pm
by lselinger
commented .... sadly I didn't build from source so I don't have crashtrace enabled :? hopefully there's another way to run a trace that gets some viable data

Re: How to view monitors with mpeg?

Posted: Mon Nov 11, 2013 10:32 pm
by lpallard
Like i said on the github ticket, I will recompile ZM with crashtrace enabled and reinstall, then I will post my output on the ticket, hopefully a dev can pinpoint a resolution path...