Live Stream Lost using ffmpeg

Forum for questions and support relating to the 1.30.x releases only.
Locked
Haselsmasher
Posts: 19
Joined: Thu Jul 06, 2017 1:35 am

Live Stream Lost using ffmpeg

Post by Haselsmasher »

[I posted this as part of another thread I started (about an error log) but essentially I initiated my own thread drift. So I'll start a new thread.]

I changed from having my connection type go from "Remote" to "ffmpeg". Things worked OK at first, but then they started to degrade. Now I can no longer see the live stream. Here are various details that might be helpful to someone more knowledgeable than me:

* I no longer see the live stream.
* Motion events are being captured. Alerts are being logged. But I can't see the recorded video or the live video (per first bullet).
* This morning I had (from overnight) an Ubuntu error that said zmc had stopped unexpectedly.
* In the log I'm periodically getting the "Socket var/run/zm/zms-??????s.sock does not exist. This file............" error.

PATH_ZMS is set to /zoneminder/cgi-bin/nph-zms

zoneminder.conf in /etc/apache2/conf-available contains:
ScriptAlias /zoneminder/cgi-bin/ "/usr/lib/zoneminder/cgi-bin"

The camera config screens are shown below.

Suggestions?

Thanks.

Jim

FYI - Camera is a Wanscam HW0043.

Image

Image

Image

Image
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Live Stream Lost using ffmpeg

Post by bbunge »

Does the source path work in VLC? Check the resolution VLC reports. Lower the resolution and frame rate to get it working.

Check these instructions to make sure you installed it right: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

change PATH_ZMS to /zm/cgi-bin/nph-zms
Haselsmasher
Posts: 19
Joined: Thu Jul 06, 2017 1:35 am

Re: Live Stream Lost using ffmpeg

Post by Haselsmasher »

Thanks for the help.

I seem to be back in business. I had an errant '/' in my ScriptAlias file. When I got that fixed the live stream returned.

Thanks!

Jim
Locked