VLC & FI9805E doesnt running

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

VLC & FI9805E doesnt running

Post by keule »

Hi,

with the videoplayer(vlc), i can get all the stream from the cam.

rtsp://user:pass@192.168.1.110:88/videoMain


But with zoneminder and libVLC it will not working. No Picture, no stream, errors in log and RED Sources Entry in the Web-GUI.

With ffmpeg it will running fantasic, but with extremly smearing effects.

libvlc is compiled and is clickable in the menu.


i used options:

Remote Method: "RTP/Unicast"
Options: "--rtsp-tcp,--verbose=2,--network-caching=5000"
Taget Colorspace: "24 bit color"
Capture Width: "1280"
Capture Height: "720"


I use the last zm-code from GIT and have testet this with both lbvlc sources(debian & original). the same failure.


have anyone the same failure and can help me ????


THX, robert
Last edited by keule on Fri Jul 11, 2014 10:41 pm, edited 1 time in total.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: VLC & FI9805E doesnt running

Post by linuxsense »

Wired or wifi cam? Have you tried disabling authentication on the camera to see if that solves the issue? Did you try 'RTP/RTSP" in the 'remote method' pulldown for the 'source' with vlc selected?
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: VLC & FI9805E doesnt running

Post by keule »

this is a wired cam(poe, foscam FI9805E).

i've the same problem with RTP/RTSP, and disabling the authentication on the cam is unpossible with the foscam-firmware.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: VLC & FI9805E doesnt running

Post by linuxsense »

Your post showing the settings you tried looks about right, did you try the same settings but without specifying port 88?

I looked for some info on that cam and ran across this, it has some useful information:

http://www.gaggl.com/2014/02/getting-fo ... ux-ubuntu/
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: VLC & FI9805E doesnt running

Post by keule »

Sure, i've tested this.

The RTSP-stream comes over port 88 and with the clvlc/vlc player it's works with the same URL, without problem.

where is the different between libvlc-URL and the standard vlc.player-URL ?

i can't understand this.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: VLC & FI9805E doesnt running

Post by linuxsense »

In general the same RTSP URL should work with the VLC player or with software using libvlc however its possible that your vlc libs are not correct or might have some components missing. What Linux distro and version are you using? Did you build ZM from source or install via package? What version of ZM is it? Have you enabled verbose logging to see what error ZM gets when trying to access the camera?
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: VLC & FI9805E doesnt running

Post by keule »

I use debian(testing) & ever the last Git pull request from ZM.

my compiling option:
./bootstrap.sh
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
export LD_LIBRARY_PATH="/usr/local/lib:/opt/libjpeg-turbo/lib:$LD_LIBRARY_PATH"
DEB_HOST_GNU_TYPE=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CXXFLAGS=" -DHAVE_LIBCRYPTO -msse2 -I/usr/local/include"
CXXFLAGS="$CXXFLAGS"
./configure --with-webdir=/usr/share/zoneminder --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-mmap=yes --with-libarch=x86_64-linux-gnu
--enable-crashtrace=no --enable-debug=no
make && make install

my vlc version:
$>dpkg -l libvlc*

ii libvlc-dev 1:2.1.4-dmo4 amd64 development files for libvlc
un libvlc0-dev <keine> <keine> (keine Beschreibung vorhanden)
ii libvlc5 1:2.1.4-dmo4 amd64 multimedia player and streamer library
ii libvlccore-dev 1:2.1.4-dmo4 amd64 development files for libvlccore
ii libvlccore7 1:2.1.4-dmo4 amd64 base library for VLC and its modules

### my configure output:
< SNIP >

libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Remember to add `LT_INIT' to configure.ac.
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
configure: WARNING: unrecognized options: --enable-crashtrace
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: WARNING: You can call configure with the --with-mysql option.
This tells configure where to find the MySql C library and headers if configure cannot
locate them automatically.
e.g. --with-mysql=/usr/local or --with-mysql=/usr
configure: WARNING: You can call configure with the --with-ffmpeg option.
This tells configure where to find the ffmpeg root directory within which are the libavcodec
and libavformat files that can be used to build true MPEG streaming into ZoneMinder. Ensure that
your copy of ffmpeg has installed libraries as well as binaries (use 'make installlib'). If you
are using a local install of ffmpeg you may have to remove or rename a previous real installation
as the headers and libraries from that will probably be picked up before your local copy.
e.g. --with-ffmpeg=/usr/local
configure: WARNING: You can call configure with the --with-extralibs option.
Ordinarily you will need to use this option only when your copy of ffmpeg has been built
with support for additional formats and you would use this option to detail which additional
libraries ffmpeg was built with so that it is able to link successfully with ZoneMinder.
You will need to wrap this option in quotes if it contains any spaces.
e.g. --with-extralibs="-lmp3lame"
configure: WARNING: You can call configure with the --with-webhost option.
This tells configure what the host name is for name based virtual hosting. This is only used to populate the sample web/zmHttpd.conf file.
e.g. --with-webhost=zm.localdomain
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for siginfo_t... yes
checking for ucontext_t... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for posix_memalign... yes
checking for putenv... yes
checking for select... yes
checking for sendfile... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoull... yes
checking for syscall... yes
checking for sleep... yes
checking for usleep... yes
checking for ioctl... yes
checking for ioctlsocket... no
checking for sigaction... yes
checking for ffmpeg... yes
checking for ffmpeg... /usr/bin/ffmpeg
checking for pnmscale... yes
checking for pnmscale... /usr/bin/pnmscale
checking for mysql_init in -lmysqlclient... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for pthread_create in -lpthread... yes
checking for dlsym in -ldl... yes
checking gnutls/openssl.h usability... no
checking gnutls/openssl.h presence... no
checking for gnutls/openssl.h... no
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for gcry_check_version in -lgcrypt... yes
checking for gnutls_fingerprint in -lgnutls... yes
checking for pcre_compile in -lpcre... yes
checking for zlibVersion in -lz... yes
checking for x264_predict_16x16_init in -lx264... yes
checking for av_malloc in -lavutil... yes
checking for av_image_copy in -lavcore... no
checking for avcodec_version in -lavcodec... yes
checking for avformat_version in -lavformat... yes
checking for avdevice_register_all in -lavdevice... yes
checking for sws_scale in -lswscale... yes
checking for libvlc_new in -lvlc... yes
checking for BZ2_bzCompress in -lbz2... yes
checking for compress in -lz... yes
checking for curl_global_init in -lcurl... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/param.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/socket.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking how to run the C preprocessor... gcc -E
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for fcntl.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking vlc/vlc.h usability... yes
checking vlc/vlc.h presence... yes
checking for vlc/vlc.h... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking whether gnutls_fingerprint is declared... yes
checking whether backtrace is declared... yes
checking whether backtrace_symbols is declared... yes
checking for perl... perl
checking for perl version greater than or equal to 5.6.0... ok
checking for perl module Sys::Syslog... ok
checking for perl module DBI... ok
checking for perl module DBD::mysql... ok
checking for perl module Getopt::Long... ok
checking for perl module Time::HiRes... ok
checking for perl module Date::Manip... ok
checking for perl module LWP::UserAgent... ok
checking for perl module ExtUtils::MakeMaker... ok
checking for perl module Sys::Mmap... ok
checking for perl module Module::Load... ok
checking for perl module Device::SerialPort... ok
checking for perl module Net::FTP... ok
checking for perl module Net::SFTP::Foreign... ok
checking for perl module Expect... ok
checking for perl module Archive::Tar... ok
checking for perl module Archive::Zip... ok
checking for perl module Net::SMTP... ok
checking for perl module MIME::Lite... ok
checking for perl module MIME::Entity... ok
checking for perl module X10::ActiveHome... no
configure: WARNING: X10::ActiveHome is required for X.10 support
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating zm.conf
config.status: creating zmconfgen.pl
config.status: creating db/Makefile
config.status: creating db/zm_create.sql
config.status: creating misc/Makefile
config.status: creating misc/apache.conf
config.status: creating misc/logrotate.conf
config.status: creating misc/syslog.conf
config.status: creating scripts/Makefile
config.status: creating scripts/zm
config.status: creating scripts/zmaudit.pl
config.status: creating scripts/zmcontrol.pl
config.status: creating scripts/zmdc.pl
config.status: creating scripts/zmfilter.pl
config.status: creating scripts/zmpkg.pl
config.status: creating scripts/zmtrack.pl
config.status: creating scripts/zmcamtool.pl
config.status: creating scripts/zmtrigger.pl
config.status: creating scripts/zmupdate.pl
config.status: creating scripts/zmvideo.pl
config.status: creating scripts/zmwatch.pl
config.status: creating scripts/zmx10.pl
config.status: creating scripts/zmdbbackup
config.status: creating scripts/zmdbrestore
config.status: creating scripts/zmeventdump
config.status: creating scripts/zmlogrotate.conf
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Base.pm
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Config.pm
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Memory.pm
config.status: creating scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm
config.status: creating src/Makefile
config.status: creating src/zm_config.h
config.status: creating web/Makefile
config.status: creating web/ajax/Makefile
config.status: creating web/css/Makefile
config.status: creating web/graphics/Makefile
config.status: creating web/includes/Makefile
config.status: creating web/includes/config.php
config.status: creating web/js/Makefile
config.status: creating web/lang/Makefile
config.status: creating web/skins/Makefile
config.status: creating web/skins/classic/Makefile
config.status: creating web/skins/classic/ajax/Makefile
config.status: creating web/skins/classic/css/Makefile
config.status: creating web/skins/classic/graphics/Makefile
config.status: creating web/skins/classic/includes/Makefile
config.status: creating web/skins/classic/js/Makefile
config.status: creating web/skins/classic/lang/Makefile
config.status: creating web/skins/classic/views/Makefile
config.status: creating web/skins/classic/views/css/Makefile
config.status: creating web/skins/classic/views/js/Makefile
config.status: creating web/skins/mobile/Makefile
config.status: creating web/skins/mobile/ajax/Makefile
config.status: creating web/skins/mobile/css/Makefile
config.status: creating web/skins/mobile/graphics/Makefile
config.status: creating web/skins/mobile/includes/Makefile
config.status: creating web/skins/mobile/lang/Makefile
config.status: creating web/skins/mobile/views/Makefile
config.status: creating web/skins/mobile/views/css/Makefile
config.status: creating web/tools/Makefile
config.status: creating web/tools/mootools/Makefile
config.status: creating web/views/Makefile
config.status: creating web/skins/xml/Makefile
config.status: creating web/skins/xml/views/Makefile
config.status: creating web/skins/xml/includes/Makefile
config.status: creating web/skins/flat/Makefile
config.status: creating web/skins/flat/ajax/Makefile
config.status: creating web/skins/flat/css/Makefile
config.status: creating web/skins/flat/graphics/Makefile
config.status: creating web/skins/flat/includes/Makefile
config.status: creating web/skins/flat/js/Makefile
config.status: creating web/skins/flat/lang/Makefile
config.status: creating web/skins/flat/views/Makefile
config.status: creating web/skins/flat/views/css/Makefile
config.status: creating web/skins/flat/views/js/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing src/zm_config_defines.h commands
Generating 'src/zm_config_defines.h'
Updating 'db/zm_create.sql'
config.status: executing scripts/ZoneMinder/Makefile commands
perl Makefile.PL
Writing Makefile for ZoneMinder
Writing MYMETA.yml and MYMETA.json
configure: WARNING: unrecognized options: --enable-crashtrace

< SNAP >
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: VLC & FI9805E doesnt running

Post by linuxsense »

Hmm, build looks good at a glance. Have you verified that no iptables rules are in service that might be blocking communication between ZM and the camera?
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: VLC & FI9805E doesnt running

Post by keule »

of course, no network problems.
thats my problem since beginning libvlc in ZM.

everything else work fine.
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: VLC & FI9805E doesnt running

Post by keule »

ok, DEBUG Mode.

zm_debug.log.19607:07/14/14 23:35:25.641180 zmc_m1[19607].INF-zm_libvlc_camera.cpp/145 [Priming capture from rtsp://USER:PASS@192.168.1.110:88/videoMain]
zm_debug.log.19607:07/14/14 23:35:25.641195 zmc_m1[19607].DB2-zm_libvlc_camera.cpp/160 [Number of Options: 2]
zm_debug.log.19607:07/14/14 23:35:25.641207 zmc_m1[19607].DB2-zm_libvlc_camera.cpp/164 [set option 0 to '']
zm_debug.log.19607:07/14/14 23:35:25.641213 zmc_m1[19607].DB2-zm_libvlc_camera.cpp/164 [set option 1 to '--rtsp-tcp']
07/15/14 00:11:32.596701 zmc_m1[29394].DB8-zm_thread.cpp/201 [Waiting for value update, 1 secs, 0x66f59e8]
07/15/14 00:11:32.596727 zmc_m1[29394].DB8-zm_thread.cpp/127 [Waiting for 1 seconds]
07/15/14 00:11:33.596879 zmc_m1[29394].DB9-zm_thread.cpp/209 [Got value update, 0x66f59e8]
07/15/14 00:11:33.596967 zmc_m1[29394].DB8-zm_thread.cpp/201 [Waiting for [0x7f34ec00de38] main decoder error: no suitable decoder module for fourcc `h264'. VLC probably does not s
upport this sound or video format.
[0x7f34ec00de38] main decoder error: No suitable decoder module
[0x7f34ec00de38] main decoder error: VLC does not support the audio or video format "h264". Unfortunately there is no way for you to fix this.

that's all and white screen ;-(
Last edited by keule on Mon Jul 14, 2014 10:15 pm, edited 1 time in total.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: VLC & FI9805E doesnt running

Post by linuxsense »

My best guess is the version of the vlc libs you have is not a good fit with ZM, I have been using the packages from the videolan 'nightly master' PPA with good results. On thing...is 1280x720 the correct resolution for that cam? I looked at the specs and it shows 1280x960.
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: VLC & FI9805E doesnt running

Post by keule »

the new resolution doesn't help.

currently, i've self compiled vlc(last git pull request), and now, nothing(ffmpeg) will work. red source entry and this log entry.

ERR [socket_sendto( /tmp/zm/zms-203559s.sock ) failed: No such file or directory] at /usr/share/zoneminder/includes/functions.php line 2330


can anyone give me correct vlc compiling options ?
keule
Posts: 19
Joined: Fri Mar 28, 2014 10:00 pm

Re: VLC & FI9805E doesnt running

Post by keule »

currently, Debian, libvlc.

< SNIP >

07/15/14 09:19:59.716277 zmc_m1[11618].INF-zm_libvlc_camera.cpp/145 [Priming capture from rtsp://USER:PASS@192.168.1.110:88/videoMain]
07/15/14 09:19:59.716293 zmc_m1[11618].DB2-zm_libvlc_camera.cpp/160 [Number of Options: 2]
07/15/14 09:19:59.716306 zmc_m1[11618].DB2-zm_libvlc_camera.cpp/164 [set option 0 to '']
07/15/14 09:19:59.716316 zmc_m1[11618].DB2-zm_libvlc_cameraHome directory not accessible: Permission denied
[0x7fd6ec00de88] main decoder error: no suitable decoder module for fourcc `h264'. VLC probably does not support this sound or video format.
[0x7fd6ec00de88] main decoder error: No suitable decoder module
[0x7fd6ec00de88] main decoder error: VLC does not support the audio or video format "h264". Unfortunately there is no way for you to fix this.
Home directory not accessible: Permission denied
< /SNAP >

But, what the f*** is the "zm_libvlc_cameraHome directory" ????
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: VLC & FI9805E doesnt running

Post by knight-of-ni »

Here are some random suggestions:
Make sure you've got the x264 library and header files installed. These need to be installed before you configure and build zoneminder. Normally, I'd expect this library to be grabbed when building/installing ffmpeg, but I'm not familiar with a debian build environment.

Your latest error message is missing a space in the output. It should read:
zm_libvlc_camera Home directory not accessible: Permission denied
Googling this error reveals a lot of hits and they seem to have one thing in common: audio. If your camera has a built in mic, make sure and turn it off so it is not trying to inject audio into the stream.

These are just guesses.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: VLC & FI9805E doesnt running

Post by linuxsense »

Yea, audio can cause funky errors. I use this option with ffmpeg for cams with audio I cant disable "allowed_media_types=video".
Locked