Page 1 of 1

libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Posted: Wed Oct 28, 2015 11:01 pm
by AnotherBrian
In 1.28.0 the following was required

Code: Select all

apt-get install libvlc-dev libvlccore-dev vlc

a2enconf zoneminder

adduser www-data video

There is no mention of it in 1.28.1. Is it an over-site?

I get the following log entires hinting something may be missing with libvlc:

Code: Select all

2015-10-28 18:52:00.511130	zmdc	11013	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	
2015-10-28 18:52:00.450314	zmc_m1	11302	FAT	Unable to create libvlc instance due to: (null)	zm_libvlc_camera.cpp	170
2015-10-28 18:52:00.392968	zmc_m1	11302	INF	Priming capture from rtsp://admin:12345@192.168.2.70//Streaming/Channels/1?tcp	zm_libvlc_camera.cpp	145
2015-10-28 18:52:00.339479	zmc_m1	11302	INF	Starting Capture	zmc.cpp	195
2015-10-28 18:52:00.128980	zmdc	11013	INF	'zmc -m 1' starting at 15/10/28 18:52:00, pid = 11302	zmdc.pl	
2015-10-28 18:52:00.128980	zmdc	11302	INF	'zmc -m 1' started at 15/10/28 18:52:00	zmdc.pl	
2015-10-28 18:52:00.055060	zmdc	11013	INF	Starting pending process, zmc -m 1	zmdc.pl	
I'm open to going to 15.10 but there I ran into the vlc segment fault problem that is currently unresolved.

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Posted: Thu Oct 29, 2015 12:33 am
by bbunge
libvlc may not work for you. I used to have the addition of some other vlc libraries but did not put them into the most recent how-to. I recommend using ffmpeg as it will work much more reliably than libvlc.

You may need to install "extra" VLC components

apt-get install libvlc-dev libvlccore-dev vlc

I have not had issues you mentioned with 15.10. But I did not try libvlc. Same recommendation as above: use ffmpeg!

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Posted: Thu Oct 29, 2015 6:31 pm
by AnotherBrian
Isn't vlc in the following the graphical program vlc and therefore unneeded on a server version of zoneminder?

apt-get install libvlc-dev libvlccore-dev vlc

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Posted: Sun Nov 29, 2015 1:28 pm
by AnotherBrian
Found an old drive that had ubuntu 14.04.1 running v1.28.0 and avoided doing upgrade or update. Works greats!

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Posted: Tue Dec 01, 2015 6:13 am
by gnocera
Hello, stick to ffmpeg.
We also tried some time with libvlc but we notice strange behaviors.

So we got back to ffmpeg and all works fine.

Regards,

Giuseppe

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Posted: Fri Jan 08, 2016 7:48 pm
by AnotherBrian
whichi ffmpeg? looks like its a mess in terms of forks and conflicts. Perhaps this is why old workings stuff stopped working.

http://stackoverflow.com/questions/9477 ... and-avconv