Can't get live stream working
Posted: Fri Dec 18, 2020 11:45 pm
I should have posted this in an new thread rather than burying it in the middle of someone else's. I've been fighting this for days. I have no live streaming, but I get still images.
There are a lot of "no live streaming" threads and I think I've read them all.
I "think" I've tried every fix and am still coming up empty. I guess it's possible I've tried the winning config changes along the way, but not in the right combination. I'm including what I believe are the relevant logs, configs and files below. Any hints would be GREAT!
I'm running ZoneMinder v1.34.22.
Ubuntu Server: VERSION="20.04.1 LTS (Focal Fossa)"
Annke C800 turret camera (now with Hikvision firmware)
source type: ffmpeg
function: Mcord
source is: rtsp://username:password@192.168.1.101:554/H264/ch1/main/av_stream
The above source works fine directly in vlc on a stand alone laptop. In other words, I can stream in vlc.
Here are my existing errors: Here are the paths I've changed:
/etc/apache2/conf-enabled/zoneminder.conf
/etc/zm/conf.d/01-system-paths.conf
Here's my directory listing for zms or nph-zms:
There are a lot of "no live streaming" threads and I think I've read them all.
I "think" I've tried every fix and am still coming up empty. I guess it's possible I've tried the winning config changes along the way, but not in the right combination. I'm including what I believe are the relevant logs, configs and files below. Any hints would be GREAT!
I'm running ZoneMinder v1.34.22.
Ubuntu Server: VERSION="20.04.1 LTS (Focal Fossa)"
Annke C800 turret camera (now with Hikvision firmware)
source type: ffmpeg
function: Mcord
source is: rtsp://username:password@192.168.1.101:554/H264/ch1/main/av_stream
The above source works fine directly in vlc on a stand alone laptop. In other words, I can stream in vlc.
Here are my existing errors: Here are the paths I've changed:
/etc/apache2/conf-enabled/zoneminder.conf
Code: Select all
# Remember to enable cgi mod (i.e. "a2enmod cgi").
#fas - original line commented out below. Edited it and put it right below the original.
#ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
ScriptAlias /cgi-bin/ "/usr/lib/zoneminder/cgi-bin/"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
Code: Select all
# ZoneMinder url path to the zms streaming server
#ZM_PATH_ZMS=/zm/cgi-bin/nph-zms #fas - original line changed to below
ZM_PATH_ZMS=/usr/lib/zoneminder/cgi-bin/nph-zms
Code: Select all
fasmike@ksmbserver:/$ ls -altr /usr/lib/zoneminder/cgi-bin/
total 1868
-rwxr-xr-x 1 root root 1902184 Oct 19 12:22 zms
lrwxrwxrwx 1 root root 3 Oct 19 12:22 nph-zms -> zms
drwxr-xr-x 3 root root 4096 Dec 10 17:25 ..
drwxr-xr-x 2 root root 4096 Dec 10 17:25 .
fasmike@ksmbserver:/$