problem with libvlcore5

Forum for questions and support relating to the 1.27.x releases only.
Locked
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

problem with libvlcore5

Post by vlad2005 »

Hi!
I have an ip cam that stream video using rtsp protocol. I can open video stream without any problem using VLC on desktop.
When i try to use zoneminder with libvlc as source type i got this error:

Code: Select all

You must have vlc libraries installed to use vlc cameras for monitor xxx
Here is my specs:

Code: Select all

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04 LTS
Release:	14.04
Codename:	trusty

dpkg -l|grep vlc
ii  libvlc-dev                                2.1.4-0ubuntu14.04.1                  i386         development files for libvlc
ii  libvlc5                                   2.1.4-0ubuntu14.04.1                  i386         multimedia player and streamer library
ii  libvlccore-dev                            2.1.4-0ubuntu14.04.1                  i386         development files for libvlccore
rc  libvlccore5                               2.0.1-4                               i386         base library for VLC and its modules
ii  libvlccore7                               2.1.4-0ubuntu14.04.1                  i386         base library for VLC and its modules
ii  vlc                                       2.1.4-0ubuntu14.04.1                  i386         multimedia player and streamer
ii  vlc-data                                  2.1.4-0ubuntu14.04.1                  all          Common data for VLC
ii  vlc-nox                                   2.1.4-0ubuntu14.04.1                  i386         multimedia player and streamer (without X support)
ii  vlc-plugin-notify                         2.1.4-0ubuntu14.04.1                  i386         LibNotify plugin for VLC
ii  vlc-plugin-pulse                          2.1.4-0ubuntu14.04.1                  i386         PulseAudio plugin for VLC
As you can see, libvlccore5 is not installed. When i try to install i get this:

Code: Select all

# sudo apt-get install libvlccore5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libvlccore5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libvlccore5' has no installation candidate
So, how can resolve this situation?
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

Re: problem with libvlcore5

Post by vlad2005 »

I forgott to mention that camera work with source type ffmpeg.
source path: rtsp://admin:admin@xxx.xxx.xxx.xxx:554/11
Remote method: RTP/RTSP
capture width: 1280
capture height 720
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: problem with libvlcore5

Post by linuxsense »

For 14.04 I have been using the VLC 'nightly' PPA for the VLC requirements but once I get a good build I put a hold on the VLC packages so they wont be updated unless I force it. If you installed ZM from a package I don't think that adding the VLC libs will enable the function as they need to be in place prior to ZM being built.
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

Re: problem with libvlcore5

Post by vlad2005 »

Currently i use zoneminder from ppa: ppa:iconnor/zoneminder-master
I have installed all vlc libraries and still have this error. Right now i make an update and still have this error.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: problem with libvlcore5

Post by linuxsense »

You have libvlccore5 installed?
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

Re: problem with libvlcore5

Post by vlad2005 »

I already posted that. Cannot install because Is replaced by libvlccore7. See first post.
Zoneminder require libvlccore5 but i have libvlccore7.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: problem with libvlcore5

Post by linuxsense »

Then you don't have all the requirements installed, your post was unclear. I would remove the currently installed VLC packages and install them via the videolan PPA. Might be other ways to solve it but I have been getting really good results with the nightly PPA files.
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

Re: problem with libvlcore5

Post by vlad2005 »

Ok. I removed all vlc installation files and added this ppa: ppa:videolan/stable-daily
After the update when I try to install the necessary libraries have the following:

Code: Select all

# apt-get install libvlc-dev libvlc5 libvlccore-dev libvlccore5 vlc-data vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libvlccore5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libvlccore5' has no installation candidate
Wich ppa need to use?
I use Ubuntu 14.04 and for this distro, current version of vlc is 2.1. Libvlccore5 seem to be for vlc 2.0 wich is present in Ubuntu 12.04.
I think that is an dependency problem with build of zoneminder for Ubuntu 14.04.
Sorry for my english, probably this is source of confusion!!!
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: problem with libvlcore5

Post by linuxsense »

No apology necessary, I am sure I can't speak a sentence in your native language.

Can you post the output of "sudo dpkg --get-selections | grep vlc" ?

I have a 14.04 virtual machine (you can run it in the free virtualbox software) that you could grab to see how I do it. The link to the torrent is in this forum from a fee days ago. PM me if you can't use bit torrent and I can setup a direct download.

To answer your question, I have been using the nightly unstable PPA if I remember right, I can verify tomorrow, in bed now.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: problem with libvlcore5

Post by linuxsense »

Checked it out despite being in bed, gotta love modern phones. I use the 'master-daily' PPA and these are the vlc files I have installed https://www.dropbox.com/s/6j3595fbu2r2xdg/vlc.txt

My guess is the package you lack is blocked by an Ubuntu package. I can check into it for you tomorrow, I think I have notes on my a 14.04 install.
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

Re: problem with libvlcore5

Post by vlad2005 »

i have exactly same files. I will check too what is problem with this specific package.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: problem with libvlcore5

Post by linuxsense »

This is not from a 14.04 system I run ZM on but you might want to check and see if you have the files listed in this screencap installed. They might be blocking the installation of the vlc libs you need.

Image
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

Re: problem with libvlcore5

Post by vlad2005 »

Solved!!!
https://github.com/ZoneMinder/ZoneMinder/pull/277
I use latest snapshot from ppa, SNAPSHOT2014070903.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: problem with libvlcore5

Post by linuxsense »

Nice, glad you got it worked out.
Locked