libvlc , doesnt work

Forum for questions and support relating to the 1.27.x releases only.
Locked
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

libvlc , doesnt work

Post by keule »

i had this problem with Smearing Images in my streams, see here "viewtopic.php?f=30&t=21911"


i've compiled the last git-code with libvlc-dev(debian, v.2.1.4 ) and enable this codec in webui.

after them, my cam(FI9805E) will not working.

the log says this.

zmc_m1[13440]: INF [Starting Capture]
zmc_m1[13440]: INF [Priming capture from rtsp://user:pass@192.168.1.110:88/videoMain]
zmc_m1[13440]: FAT [Unable to create libvlc instance due to: (null)]
zmdc[12977]: ERR ['zmc -m 1' exited abnormally, exit status 255]


currently i switch back to ffmpeg.

can anybody help me ?


thanks, keule
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: libvlc , doesnt work

Post by linuxsense »

Are you able to view the stream using VLC with the same URL that you are giving zoneminder?

If you check 'zmc' with 'ldd' does it show it was compiled with libvlc?

Code: Select all

david@ZoneMinder:/usr/local/bin$ ldd zmc|grep vlc
	libvlc.so.5 => /usr/lib/libvlc.so.5 (0x00007fdf85cf6000)
	libvlccore.so.5 => /usr/lib/libvlccore.so.5 (0x00007fdf824ff000)
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: libvlc , doesnt work

Post by keule »

hi,

it's was compiled with libvlc.

$> ldd /usr/local/bin/zmc | grep vlc
libvlc.so.5 => /usr/lib/libvlc.so.5 (0x00007f792d2bc000)
libvlccore.so.7 => /usr/lib/libvlccore.so.7 (0x00007f792799b000)
mabene
Posts: 13
Joined: Tue Dec 24, 2013 1:06 pm

Re: libvlc , doesnt work

Post by mabene »

keule wrote:hi,
libvlc.so.5 => /usr/lib/libvlc.so.5 (0x00007f792d2bc000)
libvlccore.so.7 => /usr/lib/libvlccore.so.7 (0x00007f792799b000)
just a shot in the dark:
I'd have expected both libs to have the same version number - can you check if you've different versions of libvlc and libvlccore installed?
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: libvlc , doesnt work

Post by keule »

hi mabene,

the versions of vlc comes from "http://www.deb-multimedia.org testing main non-free".
both packages("libvlc and libvlccore") have version number "2.1.4".

$> dpkg -l *vlc*

ii libvlc-dev 1:2.1.4-dmo1 amd64 development files for libvlc
ii libvlc5 1:2.1.4-dmo1 amd64 multimedia player and streamer library
ii libvlccore-dev 1:2.1.4-dmo1 amd64 development files for libvlccore
ii libvlccore7 1:2.1.4-dmo1 amd64 base library for VLC and its modules
ii vlc-data 1:2.1.4-dmo1 all Common data for VLC


Currently i've tested the VLC-Developer packages("libvlc and libvlccore") Verion: "2.1.2-2+b3" from original debian-repository.

Same issue.
FAT [Unable to create libvlc instance due to: (null)]
zmdc[6344]: ERR ['zmc -m 1' exited abnormally, exit status 255]


Also the lib versions are the same.
$> ldd /usr/local/bin/zmc | grep vlc
libvlc.so.5 => /usr/lib/libvlc.so.5 (0x00007fdd9c6e0000)
libvlccore.so.7 => /usr/lib/libvlccore.so.7 (0x00007fdd96dbf000)


what is the configure option to include the vlc-sources ?


thx,
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: libvlc , doesnt work

Post by keule »

hi,

after all the issues with the debian ("libvlc and libvlccore") packages, i pull VLC from Git and compile it.

./bootstrap
./configure
make && make install && ldconfig

and now,

$> ldd /usr/local/bin/zmc | grep vlc
libvlc.so.5 => /usr/local/lib/libvlc.so.5 (0x00007fbc3cb45000)
libvlccore.so.7 => /usr/local/lib/libvlccore.so.7 (0x00007fbc37222000)


i can now active "Libvlc" in the webUI and the issue
"FAT [Unable to create libvlc instance due to: (null)]
zmdc[6344]: ERR ['zmc -m 1' exited abnormally, exit status 255]"

are away.
the webcam are active, and zmc can now capture.

BUT the live stream are NOT running.

< SNIP >

web_php[6498]: ERR [getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-964668s.sock ) failed: No such file or directory - checkStreamForErrors()]

< SNAP >


what's up ?
Locked