How to view monitors with mpeg?

Forum for questions and support relating to the 1.26.x releases only.
Post Reply
User avatar
Basildane
Posts: 108
Joined: Mon Sep 16, 2013 1:09 pm

How to view monitors with mpeg?

Post by Basildane » Wed Oct 02, 2013 4:17 pm

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.

justbecause1337
Posts: 1
Joined: Mon Oct 28, 2013 2:48 pm

Re: How to view monitors with mpeg?

Post by justbecause1337 » Mon Oct 28, 2013 2:59 pm

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

lpallard
Posts: 85
Joined: Fri Mar 05, 2010 10:59 pm

Re: How to view monitors with mpeg?

Post by lpallard » Tue Oct 29, 2013 2:50 am

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".

lselinger
Posts: 35
Joined: Fri Oct 25, 2013 9:57 pm

Re: How to view monitors with mpeg?

Post by lselinger » Wed Nov 06, 2013 3:41 pm

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:

lpallard
Posts: 85
Joined: Fri Mar 05, 2010 10:59 pm

Re: How to view monitors with mpeg?

Post by lpallard » Wed Nov 06, 2013 5:33 pm

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..

lselinger
Posts: 35
Joined: Fri Oct 25, 2013 9:57 pm

Re: How to view monitors with mpeg?

Post by lselinger » Thu Nov 07, 2013 9:14 pm

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

lpallard
Posts: 85
Joined: Fri Mar 05, 2010 10:59 pm

Re: How to view monitors with mpeg?

Post by lpallard » Mon Nov 11, 2013 10:32 pm

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...

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests