libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Forum for questions and support relating to the 1.28.x releases only.
Locked
AnotherBrian
Posts: 112
Joined: Tue Jul 27, 2010 6:36 am

libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Post 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.
bbunge
Posts: 2935
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Post 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!
AnotherBrian
Posts: 112
Joined: Tue Jul 27, 2010 6:36 am

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Post 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
AnotherBrian
Posts: 112
Joined: Tue Jul 27, 2010 6:36 am

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Post by AnotherBrian »

Found an old drive that had ubuntu 14.04.1 running v1.28.0 and avoided doing upgrade or update. Works greats!
User avatar
gnocera
Posts: 34
Joined: Thu Jun 04, 2015 6:31 pm

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Post 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
AnotherBrian
Posts: 112
Joined: Tue Jul 27, 2010 6:36 am

Re: libvlc on zoneminder 1.28.1 on ubuntu server 14.04

Post 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
Locked