Camera works fine in VLC but won't work with libvlc source t
Posted: Fri Oct 24, 2014 4:45 pm
Hi all,
We recently created a new installation of ZoneMinder using the zmrepo on CentOS 6.5. When I add the camera using the libvlc source, it does not show up. I enabled debug logging for ZM, and on the console I see the following error messages that may be relevant:
Message from syslogd@localhost at Oct 24 09:16:18 ...
iled to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
Message from syslogd@localhost at Oct 24 09:16:18 ...
Message from syslogd@localhost at Oct 24 09:16:18 ...
6edc9f8]
Message from syslogd@localhost at Oct 24 09:16:18 ...
in interface error:
Message from syslogd@localhost at Oct 24 09:16:18 ...
suitable interface module
The log window inside of ZM's web interface looks like:
2014-10-24 11:42:11.821365 web_php 17811 ERR socket_sendto( /var/lib/zoneminder/sock/zms-021344s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2330
2014-10-24 11:42:01.752511 web_php 17399 ERR socket_sendto( /var/lib/zoneminder/sock/zms-021344s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2330
2014-10-24 11:41:59.334860 zmdc 17909 INF 'zmc -m 10' crashed, signal 134 zmdc.pl
2014-10-24 11:41:59.077080 zmdc 32767 INF 'zmc -m 10' started at 14/10/24 11:41:59 zmdc.pl
2014-10-24 11:41:59.075790 zmdc 17909 INF 'zmc -m 10' starting at 14/10/24 11:41:59, pid = 47624 zmdc.pl
2014-10-24 11:41:59.073360 zmdc 17909 INF Starting pending process, zmc -m 10 zmdc.pl
2014-10-24 11:41:51.659691 web_php 17401 ERR socket_sendto( /var/lib/zoneminder/sock/zms-021344s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2330
2014-10-24 11:41:51.176530 zmwatch 32767 INF Watchdog pausing for 30 seconds zmwatch.pl
2014-10-24 11:41:51.166940 zmwatch 32767 INF Watchdog starting zmwatch.pl
2014-10-24 11:41:51.104710 zmdc 32767 INF 'zmwatch.pl' started at 14/10/24 11:41:51 zmdc.pl
2014-10-24 11:41:51.103990 zmdc 17909 INF 'zmwatch.pl' starting at 14/10/24 11:41:51, pid = 47603 zmdc.pl
2014-10-24 11:41:51.075730 zmdc 17909 INF Starting pending process, zmwatch.pl zmdc.pl
What is so odd is that it works perfectly in VLC.
I had a small amount of success using ffmpeg source type, but it is hit or miss (not to mention, if I use ffmpeg as a source, the source column on the ZM console is blank, and I can't go back to edit it without removing the camera from zm and re-adding it...must be a bug). Also, when I add it as ffmpeg, it seems to be < 10 frames per second. Using the VLC app, it is a smooth 30fps.
I am a bit new to ZM (I used it several years ago with analog cameras), so please don't hesitate to ask me to send logs, etc.
Cheers.
Note: This is an LTS branded camera. With VLC, I just open a network stream, and put rtsp://ipaddress:554/ and it works fine.
We recently created a new installation of ZoneMinder using the zmrepo on CentOS 6.5. When I add the camera using the libvlc source, it does not show up. I enabled debug logging for ZM, and on the console I see the following error messages that may be relevant:
Message from syslogd@localhost at Oct 24 09:16:18 ...
iled to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
Message from syslogd@localhost at Oct 24 09:16:18 ...
Message from syslogd@localhost at Oct 24 09:16:18 ...
6edc9f8]
Message from syslogd@localhost at Oct 24 09:16:18 ...
in interface error:
Message from syslogd@localhost at Oct 24 09:16:18 ...
suitable interface module
The log window inside of ZM's web interface looks like:
2014-10-24 11:42:11.821365 web_php 17811 ERR socket_sendto( /var/lib/zoneminder/sock/zms-021344s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2330
2014-10-24 11:42:01.752511 web_php 17399 ERR socket_sendto( /var/lib/zoneminder/sock/zms-021344s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2330
2014-10-24 11:41:59.334860 zmdc 17909 INF 'zmc -m 10' crashed, signal 134 zmdc.pl
2014-10-24 11:41:59.077080 zmdc 32767 INF 'zmc -m 10' started at 14/10/24 11:41:59 zmdc.pl
2014-10-24 11:41:59.075790 zmdc 17909 INF 'zmc -m 10' starting at 14/10/24 11:41:59, pid = 47624 zmdc.pl
2014-10-24 11:41:59.073360 zmdc 17909 INF Starting pending process, zmc -m 10 zmdc.pl
2014-10-24 11:41:51.659691 web_php 17401 ERR socket_sendto( /var/lib/zoneminder/sock/zms-021344s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2330
2014-10-24 11:41:51.176530 zmwatch 32767 INF Watchdog pausing for 30 seconds zmwatch.pl
2014-10-24 11:41:51.166940 zmwatch 32767 INF Watchdog starting zmwatch.pl
2014-10-24 11:41:51.104710 zmdc 32767 INF 'zmwatch.pl' started at 14/10/24 11:41:51 zmdc.pl
2014-10-24 11:41:51.103990 zmdc 17909 INF 'zmwatch.pl' starting at 14/10/24 11:41:51, pid = 47603 zmdc.pl
2014-10-24 11:41:51.075730 zmdc 17909 INF Starting pending process, zmwatch.pl zmdc.pl
What is so odd is that it works perfectly in VLC.
I had a small amount of success using ffmpeg source type, but it is hit or miss (not to mention, if I use ffmpeg as a source, the source column on the ZM console is blank, and I can't go back to edit it without removing the camera from zm and re-adding it...must be a bug). Also, when I add it as ffmpeg, it seems to be < 10 frames per second. Using the VLC app, it is a smooth 30fps.
I am a bit new to ZM (I used it several years ago with analog cameras), so please don't hesitate to ask me to send logs, etc.
Cheers.
Note: This is an LTS branded camera. With VLC, I just open a network stream, and put rtsp://ipaddress:554/ and it works fine.