Closed noomSik closed 1 year ago
Thanks for this feedback!
This error is generated from the snapshot command and isn't directly tied to the streaming features.
The Fork's ONVIF snapshot command is using a replacement implementation (python) over the original (FFmpeg). I originally replaced it for performance reason, but that was before I started working in C with static libraries. (FFmpeg was a lot slower to take a screenshot compared to gstreamer)
Without seeing the full error, it's hard to pinpoint the cause, but I'm assuming you didn't install gstreamer's package. (Sorry, I forgot to document this dependency) Unfortunately I didn't get to implement the snapshot feature using in C yet. (It's on my radar)
This error should go away if you install the gstreamer packages from the distro's repository. (See README for the list of package).
In regards of autogen.sh errors, can you provides some additional details? I'll definitely try to make the script more robust if I can help it.
Do I have to assume it's still being worked on and not usable? Or should it be fully usable as of now? Because I was interested on the new server option but it does not seem to be working.
The changes applied to rpos are relatively superficial in order to allow an ONVIF client to discover Profile-T features, so it should be stable. The real changes lies in the new server option #4 (OnvifRtspLauncher) to add backchannel support.
It's currently working well on RPi4 (legacy), My laptop (Lenovo P52).
The option is not exposed in rpos yet, but onvifserver optionally accept an encoder option. camera.ts can be updated to add "-e openh264enc" to enforce software encoding on raspbian bullseye. I may add a new rposConfig.json option to support this.
I also updated the project's README.
I will be away from the machine i’ve been testing this on for a few days, so won’t be able to give more details about the errors for now, but I can confirm I had gstreamer installed. Maybe something’s not working right. I will definitely keep trying as soon as I get to my machine again, and will update you with more details. Thanks for the reply and happy holidays.
De: @.> Enviado: jueves, 22 de diciembre de 2022 3:50 Para: @.> CC: @.>; @.> Asunto: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
Thanks for this feedback!
This error is generated from the snapshot command and isn't directly tied to the streaming features.
The Fork's ONVIF snapshot command is using a replacement implementation (python) over the original (FFmpeg). I originally replaced it for performance reason, but that was before I started working in C with static libraries. (FFmpeg was a lot slower to take a screenshot compared to gstreamer)
Without seeing the full error, it's hard to pinpoint the cause, but I'm assuming you didn't install gstreamer's package. (Sorry, I forgot to document this dependency) Unfortunately I didn't get to implement the snapshot feature using in C yet. (It's on my radar)
This error should go away if you install the gstreamer packages from the distro's repository. (See READMEhttps://github.com/Quedale/rpos#5c1a---install-gstreamer-using-apt for the list of package).
In regards of autogen.sh errors, can you provides some additional details? I'll definitely try to make the script more robust if I can help it.
Do I have to assume it's still being worked on and not usable? Or should it be fully usable as of now? Because I was interested on the new server option but it does not seem to be working.
The changes applied to rposhttps://github.com/Quedale/rpos are relatively superficial in order to allow an ONVIF client to discover Profile-T features, so it should be stable. The real changes lies in the new server option #4 (OnvifRtspLauncherhttps://github.com/Quedale/OnvifRtspLauncher) to add backchannel support.
It's currently working on RPi4 (legacy), My laptop (Lenovo P52).
The option is not exposed in rpos yet, but onvifserver optionally accept an encoder option. camera.tshttps://github.com/Quedale/rpos/blob/master/lib/camera.ts can be updated to add "-e openh264enc" to enforce software encoding on raspbian bullseye.
WIP : RockPro64 and RPi4 Bullseye
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1362329509, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2ISXKH7ECFW7GPPCZATWOO6WXANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
I realized last night that I didn't document the build tools dependencies. I added a section in the README for that.
This was most likely the cause of the errors you were seeing in autogen.sh.
Keep me posted.
Hi, sorry for the delay, I was just finally able to get to my machine.
These are the errors I get on autogen.sh
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
CC src/onvifserver-onvif-server.o
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
CC src/onvifserver-onvifinitstaticplugins.o
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvif-server.c:23:10: fatal error: gst/gst.h: No such file or directory
23 | #include <gst/gst.h>
| ^~~
compilation terminated.
CC src/onvifserver-sink-retriever.o
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
make: [Makefile:598: src/onvifserver-onvif-server.o] Error 1
make: Waiting for unfinished jobs....
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvifinitstaticplugins.c:2:10: fatal error: gst/gst.h: No such file or directory
2 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:612: src/onvifserver-onvifinitstaticplugins.o] Error 1
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/sink-retriever.c:1:10: fatal error: gst/gst.h: No such file or directory
1 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:626: src/onvifserver-sink-retriever.o] Error 1
Some more suspicious messages appeared throughout the scripts execution but since it kept running, I assume they were not important. Since it's got some problem with the gst.h dependencies, I assumed it had to do with installing GStreamer, but following READMEs instructions from here: https://github.com/Quedale/rpos#5c1a---install-gstreamer-using-apt
I get these errors:
sudo apt install git gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer1.0-dev libgstreamer1.0-0-dbg libgstreamer1.0-0 libgstrtspserver-1.0.0 libgstreamer-plugins-base1.0-dev gtk-doc-tools gstreamer1.0-omx-rpi gstreamer1.0-omx Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libgstreamer1.0-0-dbg E: Couldn't find any package by glob 'libgstreamer1.0-0-dbg' E: Unable to locate package libgstrtspserver-1.0.0 E: Couldn't find any package by glob 'libgstrtspserver-1.0.0' E: Unable to locate package gstreamer1.0-omx-rpi E: Couldn't find any package by glob 'gstreamer1.0-omx-rpi' E: Unable to locate package gstreamer1.0-omx E: Couldn't find any package by glob 'gstreamer1.0-omx'
These are due to trying to install raspberry Pi libraries on ubuntu, so I disregard them, but I also got errors installing python bindings
Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python-gi 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 'python-gi' has no installation candidate
I'm using Ubuntu 22.10
I know this is a lot of info but I've really tried everything to get this working. I do not need to use this distro specifically, only requirement is x86-64, so if you think it will work better on other distro, please tell me.
Thanks in advance.
From: Quedale @.> Sent: Thursday, December 22, 2022 11:25 PM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
I realized last night that I didn't document the build tools dependencies. I added a section in the README for that.
This was most likely the cause of the errors you were seeing in autogen.sh.
Keep me posted.
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1363402452, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IUBP2OVPBQL4UJOF2DWOTIL5ANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
This is the full output of the script after I verified I have gst.sh on my system:
Already up to date.
gettext already found.
libv4l2 already found.
gudev-1.0 already found.
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing alsa.pc' to the PKG_CONFIG_PATH environment variable No package 'alsa' found fatal: destination path 'alsa-lib' already exists and is not an empty directory. autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:36: warning: The macro
AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:36: You should run autoupdate.
m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:36: the top level
configure.ac:36: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:36: put the 'dlopen' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:36: the top level
configure.ac:37: warning: The macro AM_PROG_LIBTOOL' is obsolete. configure.ac:37: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:37: the top level configure.ac:42: warning: The macro
AC_HEADER_STDC' is obsolete.
configure.ac:42: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:42: the top level
configure.ac:48: warning: The macro AC_HEADER_TIME' is obsolete. configure.ac:48: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:48: the top level configure.ac:240: warning: The macro
AC_TRY_LINK' is obsolete.
configure.ac:240: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.ac:240: the top level
configure.ac:348: warning: The macro AC_ERROR' is obsolete. configure.ac:348: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:348: the top level configure.ac:523: warning: The macro
AC_TRY_LINK' is obsolete.
configure.ac:523: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.ac:523: the top level
configure.ac:535: warning: The macro AC_TRY_LINK' is obsolete. configure.ac:535: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:535: the top level configure.ac:719: warning: The macro
AC_ERROR' is obsolete.
configure.ac:719: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.ac:719: the top level
configure.ac:721: warning: The macro AC_ERROR' is obsolete. configure.ac:721: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.ac:721: the top level configure.ac:747: warning: AC_OUTPUT should be used without arguments. configure.ac:747: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:30: installing './compile' configure.ac:16: installing './missing' alsalisp/Makefile.am: installing './depcomp' doc/pictures/Makefile.am:1: warning: wildcard *.gif: non-POSIX variable name doc/pictures/Makefile.am:1: (probably a GNU make extension) doc/pictures/Makefile.am:2: warning: wildcard *.puml: non-POSIX variable name doc/pictures/Makefile.am:2: (probably a GNU make extension) parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for gcc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking if gcc supports -Wl,--no-undefined flag... yes checking if gcc supports -Wl,-z,defs flag... yes checking for egrep... (cached) /usr/bin/grep -E checking for an ANSI C-conforming const... yes checking for inline... inline checking whether gcc needs -traditional... no checking for uselocale... yes checking for eaccess... yes checking for library version... major 1 minor 2 subminor 8 extrastr extraver 1000000 Please, do not try to compile static and shared libraries together. See INSTALL file for more details (do not use --enable-shared=yes with --enable-static=yes). make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. Package libpulse was not found in the pkg-config search path. Perhaps you should add the directory containing
libpulse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse' found
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
fatal: destination path 'libsndfile' already exists and is not an empty directory.
../autogen.sh: line 359: cmake: command not found
../autogen.sh: line 360: cmake: command not found
make: No targets specified and no makefile found. Stop.
make: No rule to make target 'install'. Stop.
check already found.
fatal: destination path 'pulseaudio' already exists and is not an empty directory.
../autogen.sh: line 394: meson: command not found
../autogen.sh: line 408: meson: command not found
../autogen.sh: line 409: meson: command not found
fatal: destination path 'gstreamer' already exists and is not an empty directory.
../autogen.sh: line 516: meson: command not found
../autogen.sh: line 527: meson: command not found
../autogen.sh: line 529: meson: command not found
checking for gcc... gcc
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports nested variables... yes
configure: Disabled OMX and RPI Camera support
configure: Disabled Libav FFmpeg support.
configure: Disabled Client Tool.
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing libtool commands
config.status: executing depfiles commands
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
CC src/onvifserver-onvif-server.o
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
CC src/onvifserver-onvifinitstaticplugins.o
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvif-server.c:23:10: fatal error: gst/gst.h: No such file or directory
23 | #include <gst/gst.h>
| ^~~
compilation terminated.
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
make: [Makefile:598: src/onvifserver-onvif-server.o] Error 1
make: Waiting for unfinished jobs....
CC src/onvifserver-sink-retriever.o
Must specify package names on the command line
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvifinitstaticplugins.c:2:10: fatal error: gst/gst.h: No such file or directory
2 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:612: src/onvifserver-onvifinitstaticplugins.o] Error 1
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/sink-retriever.c:1:10: fatal error: gst/gst.h: No such file or directory
1 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:626: src/onvifserver-sink-retriever.o] Error 1
There are many dependency errors I assume. Maybe the distribution you're using already has all these dependencies?
From: Quedale @.> Sent: Thursday, December 22, 2022 11:25 PM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
I realized last night that I didn't document the build tools dependencies. I added a section in the README for that.
This was most likely the cause of the errors you were seeing in autogen.sh.
Keep me posted.
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1363402452, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IUBP2OVPBQL4UJOF2DWOTIL5ANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
The key error here is this : ../autogen.sh: line 529: meson: command not found
You don't have meson installed which is required to build gstreamer from source. (which is my preferred method running ubuntu 22.10)
I added a new section in README.md - Build Dependencies, which didn't exist when you reported this issue.
Make sure you pull the latest changes as I also updated the autogen script to include additional build dependencies. The autogen script will now also attempt to build the following libraries if missing : libasound2-dev, libpulse-dev and libgudev-1.0-dev.
Regarding E: Package 'python-gi' has no installation candidate
, you can use the alternative "python3-gi", but this is not required for this project. It is only required if you use RTSPServer Type #3 in "rposConfig.json.
The gstreamer package dependencies are documented for the RTSPServer Type #3 and not meant for development purposes. In order to avoid building from source, you can simply find the lib**-dev
alternative packages. (e.g. libgstreamer1.0-dev
)
I didn't bother documenting distro package dependencies yet, since I'm personally working from source.
Hi, thank you for your help. I've followed the new instructions in the README. I'll paste my terminal output
Cloning into 'OnvifRtspLauncher'... remote: Enumerating objects: 280, done. remote: Counting objects: 100% (280/280), done. remote: Compressing objects: 100% (195/195), done. remote: Total 280 (delta 179), reused 174 (delta 82), pack-reused 0 Receiving objects: 100% (280/280), 87.92 KiB | 1.06 MiB/s, done. Resolving deltas: 100% (179/179), done. aclocal: warning: couldn't open directory 'm4': No such file or directory configure.ac:3: installing './compile' configure.ac:96: installing './config.guess' configure.ac:96: installing './config.sub' configure.ac:97: installing './install-sh' configure.ac:96: error: required file './ltmain.sh' not found configure.ac:97: installing './missing' Makefile.am: installing './depcomp' aclocal: warning: couldn't open directory 'm4': No such file or directory Package libv4l2 was not found in the pkg-config search path. Perhaps you should add the directory containing `libv4l2.pc' to the PKG_CONFIG_PATH environment variable No package 'libv4l2' found Cloning into 'v4l-utils'... remote: Enumerating objects: 36265, done. remote: Counting objects: 100% (975/975), done. remote: Compressing objects: 100% (620/620), done. remote: Total 36265 (delta 438), reused 491 (delta 348), pack-reused 35290 Receiving objects: 100% (36265/36265), 7.98 MiB | 9.71 MiB/s, done. Resolving deltas: 100% (28797/28797), done. Note: switching to '47c8c377cf299bc42cd73a5ed7f2821f24a7bc47'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
configure.ac: warning: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION
autoreconf: running: libtoolize --copy --force
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:82: warning: The macro AC_GNU_SOURCE' is obsolete. configure.ac:82: You should run autoupdate. ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:82: the top level configure.ac:91: warning: The macro
AC_PROG_CC_C99' is obsolete.
configure.ac:91: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:91: the top level
configure.ac:93: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:93: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:82: installing 'build-aux/compile'
configure.ac:93: installing 'build-aux/config.guess'
configure.ac:93: installing 'build-aux/config.sub'
configure.ac:84: installing 'build-aux/install-sh'
configure.ac:84: installing 'build-aux/missing'
contrib/cobalt-ctl/Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory '.'
configure: WARNING: doxygen not found - will not generate any doxygen documentation
configure: WARNING: Qt5 or higher is not available
ca.1po: 26 translated messages.
uk.1po: 0 translated messages.
fr.1po: 22 translated messages.
pt_BR.1po: 278 translated messages.
de.1po: 398 translated messages.
ca.1po: 46 translated messages.
pt_BR.1po: 154 translated messages.
uk.1po: 124 translated messages.
de.1po: 154 translated messages.
control/libv4lcontrol.c: In function 'v4lcontrol_create':
control/libv4lcontrol.c:728:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
728 | ftruncate(shm_fd, V4LCONTROL_SHM_SIZE);
| ^~~~~~~~~~
In function ‘seek_chunks’,
inlined from ‘seek_firmware’ at firmware-tool.c:879:11,
inlined from ‘main’ at firmware-tool.c:1102:4:
firmware-tool.c:702:51: warning: pointer ‘temp_data’ may be used after ‘free’ [-Wuse-after-free]
702 | temp_data + fsize - end_sig, end_sig);
| ~~~~^~~
firmware-tool.c:680:9: note: call to ‘free’ here
680 | free(temp_data);
| ^~~~~~~
In file included from /usr/include/string.h:535,
from decode_tm6000.c:21:
In function ‘memcpy’,
inlined from ‘main’ at decode_tm6000.c:354:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘img’ may be used uninitialized [-Wmaybe-uninitialized]
29 | return builtin___memcpy_chk (dest, src, len,
| ^~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~
decode_tm6000.c: In function ‘main’:
decode_tm6000.c:253:48: note: ‘img’ declared here
253 | unsigned char buf[TM6000_URB_MSG_LEN], img[7202480];
| ^~~
Cloning into 'gstreamer'...
remote: Enumerating objects: 868751, done.
remote: Counting objects: 100% (183/183), done.
remote: Compressing objects: 100% (126/126), done.
remote: Total 868751 (delta 94), reused 91 (delta 56), pack-reused 868568
Receiving objects: 100% (868751/868751), 208.13 MiB | 10.91 MiB/s, done.
Resolving deltas: 100% (683298/683298), done.
Note: switching to 'fd6a3948c672aab588eacf7247f626e37739c656'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Updating files: 100% (10439/10439), done.
../autogen.sh: line 516: meson: command not found
../autogen.sh: line 527: meson: command not found
../autogen.sh: line 529: meson: command not found
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
ls: Must specify package names on the command line
cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvif-server.c:23:10: fatal error: gst/gst.h: No such file or directory
23 | #include <gst/gst.h>
| ^~~
compilation terminated.
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
make: [Makefile:617: src/onvifserver-onvif-server.o] Error 1
make: Waiting for unfinished jobs....
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvifinitstaticplugins.c:2:10: fatal error: gst/gst.h: No such file or directory
2 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:631: src/onvifserver-onvifinitstaticplugins.o] Error 1
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/sink-retriever.c:1:10: fatal error: gst/gst.h: No such file or directory
1 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:645: src/onvifserver-sink-retriever.o] Error 1
and I'll also attach the command's output in a text file (salida.txt)
As you can see, I still get an error related to gst.h even though I have gstreamer installed and have succesfully used normal rpos with gstreamer in this machine. Is there anything else I need to do to get this working? Maybe my system is corrupt somewhere. I understand you also got it working in Ubuntu 22.10.
I suspect it could be related to pkgconfig, as in: ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory The rest of the errors I assume are not important because autogen.sh keeps running. I apologize for not giving an insight on where the problem could be, but unfortunately I have no clue. Be assured I've really tried.
I want to thank you again for your help. Hope we can get this to work somehow.
From: Quedale @.> Sent: Wednesday, January 11, 2023 3:19 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
The key error here is this : ../autogen.sh: line 529: meson: command not found
You don't have meson installed which is required to build gstreamer from source. (which is my preferred method running ubuntu 22.10)
I added a new section in README.md - Build Dependencieshttps://github.com/Quedale/OnvifRtspLauncher#build-dependencies section which didn't exist when you reported this issue.
Make sure you pull the latest changes as I also updated the autogen script to include additional build dependencies. The following libraries will now be automatically built if missing : libasound2-dev, libpulse-dev and libgudev-1.0-dev.
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1378158657, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IR44LMBE5G4FEI5PJDWRYKETANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' gettext already found. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' Generating locale v4l-utils-po build files for gettext version 0.21 Generating locale libdvbv5-po build files for gettext version 0.21 checking for gcc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking whether _XOPEN_SOURCE should be defined... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for doxygen... no checking for perl... /usr/bin/perl checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking how to run the C preprocessor... gcc -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for mode_t... yes checking for promoted mode_t type... mode_t checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for sys/klog.h... yes checking for klogctl... yes checking for ioctl with POSIX signature... no checking for __secure_getenv... no checking for secure_getenv... yes checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for x11... yes checking for libelf... yes checking for clang... no checking for gl... yes checking for glu... no checking for jpeglib.h... yes checking for jpeg_read_header in -ljpeg... yes checking for Qt5Core >= 5.0 Qt5Gui >= 5.0 Qt5Widgets >= 5.0... no checking for Qt5Core >= 5.4 Qt5Gui >= 5.4 Qt5Widgets >= 5.4... no checking for alsa... yes checking for libudev... yes checking for library containing dlopen... none required checking for argp.h... yes checking for library containing argp_parse... none required checking for fork... yes checking for linux/i2c-dev.h... yes checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char inbuf, size_t inbytesleft, char outbuf, size_t outbytesleft); checking if gcc accepts -m32... yes checking for sdl2 SDL2_image... no checking for library containing backtrace... none required checking for libbpf... no @.*** @module @raw-io bpf checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/libv4lconvert/Makefile config.status: creating lib/libv4l2/Makefile config.status: creating lib/libv4l1/Makefile config.status: creating lib/libdvbv5/Makefile config.status: creating lib/libv4l2rds/Makefile config.status: creating lib/libv4l-mplane/Makefile config.status: creating utils/Makefile config.status: creating utils/libv4l2util/Makefile config.status: creating utils/libmedia_dev/Makefile config.status: creating utils/dvb/Makefile config.status: creating utils/keytable/Makefile config.status: creating utils/keytable/bpf_protocols/Makefile config.status: creating utils/ir-ctl/Makefile config.status: creating utils/cx18-ctl/Makefile config.status: creating utils/ivtv-ctl/Makefile config.status: creating utils/media-ctl/Makefile config.status: creating utils/v4l2-compliance/Makefile config.status: creating utils/v4l2-ctl/Makefile config.status: creating utils/v4l2-dbg/Makefile config.status: creating utils/v4l2-sysfs-path/Makefile config.status: creating utils/qv4l2/Makefile config.status: creating utils/libcecutil/Makefile config.status: creating utils/cec-ctl/Makefile config.status: creating utils/cec-ctl/cec-ctl.1 config.status: creating utils/cec-compliance/Makefile config.status: creating utils/cec-compliance/cec-compliance.1 config.status: creating utils/cec-follower/Makefile config.status: creating utils/cec-follower/cec-follower.1 config.status: creating utils/qvidcap/Makefile config.status: creating utils/rds-ctl/Makefile config.status: creating contrib/Makefile config.status: creating contrib/freebsd/Makefile config.status: creating contrib/test/Makefile config.status: creating contrib/gconv/Makefile config.status: creating contrib/cobalt-ctl/Makefile config.status: creating contrib/decode_tm6000/Makefile config.status: creating contrib/xc3028-firmware/Makefile config.status: creating contrib/rds-saa6588/Makefile config.status: creating v4l-utils-po/Makefile.in config.status: creating libdvbv5-po/Makefile.in config.status: creating v4l-utils.spec config.status: creating lib/libv4lconvert/libv4lconvert.pc config.status: creating lib/libv4l1/libv4l1.pc config.status: creating lib/libv4l2/libv4l2.pc config.status: creating lib/libdvbv5/libdvbv5.pc config.status: creating lib/libv4l2rds/libv4l2rds.pc config.status: creating utils/media-ctl/libmediactl.pc config.status: creating utils/media-ctl/libv4l2subdev.pc config.status: creating lib/include/libdvbv5/libdvb-version.h config.status: creating utils/qv4l2/qv4l2.1 config.status: creating utils/qvidcap/qvidcap.1 config.status: creating utils/v4l2-compliance/v4l2-compliance.1 config.status: creating utils/v4l2-ctl/v4l2-ctl.1 config.status: creating utils/keytable/ir-keytable.1 config.status: creating utils/keytable/rc_keymap.5 config.status: creating utils/ir-ctl/ir-ctl.1 config.status: creating utils/dvb/dvb-fe-tool.1 config.status: creating utils/dvb/dvbv5-scan.1 config.status: creating utils/dvb/dvb-format-convert.1 config.status: creating utils/dvb/dvbv5-zap.1 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating v4l-utils-po/POTFILES config.status: creating v4l-utils-po/Makefile config.status: creating libdvbv5-po/POTFILES config.status: creating libdvbv5-po/Makefile
Host OS : linux-gnu
X11 : yes
GL : yes
glu : no
libelf : yes
libjpeg : yes
libudev : yes
pthread : no
QT version : none
ALSA support : yes
SDL support : no
build dynamic libs : no
build static libs : yes
gconv : no
dynamic libv4l : yes
v4l_plugins : no
v4l_wrappers : no
libdvbv5 : yes
dvbv5-daemon : no
v4lutils : yes
qv4l2 : no
qvidcap : no
v4l2-ctl uses libv4l : yes
v4l2-ctl-32 : no
v4l2-compliance : yes
v4l2-compliance uses libv4l: yes
v4l2-compliance-32 : no
BPF IR Decoders: : no
Libraries have been installed in: /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:
Libraries have been installed in: /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:
Libraries have been installed in: /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:
Libraries have been installed in: /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:
Libraries have been installed in: /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:
/usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/include/libdvbv5' /usr/bin/install -c -m 644 ../include/libdvbv5/libdvb-version.h ../include/libdvbv5/dvb-demux.h ../include/libdvbv5/dvb-v5-std.h ../include/libdvbv5/dvb-file.h ../include/libdvbv5/countries.h ../include/libdvbv5/crc32.h ../include/libdvbv5/dvb-dev.h ../include/libdvbv5/dvb-frontend.h ../include/libdvbv5/dvb-fe.h ../include/libdvbv5/dvb-sat.h ../include/libdvbv5/dvb-scan.h ../include/libdvbv5/dvb-log.h ../include/libdvbv5/descriptors.h ../include/libdvbv5/header.h ../include/libdvbv5/pat.h ../include/libdvbv5/pmt.h ../include/libdvbv5/desc_language.h ../include/libdvbv5/desc_network_name.h ../include/libdvbv5/desc_cable_delivery.h ../include/libdvbv5/desc_sat.h ../include/libdvbv5/desc_terrestrial_delivery.h ../include/libdvbv5/desc_t2_delivery.h ../include/libdvbv5/desc_service.h ../include/libdvbv5/desc_frequency_list.h ../include/libdvbv5/desc_registration_id.h ../include/libdvbv5/desc_event_short.h ../include/libdvbv5/desc_event_extended.h ../include/libdvbv5/desc_atsc_service_location.h ../include/libdvbv5/desc_hierarchy.h ../include/libdvbv5/desc_extension.h ../include/libdvbv5/desc_isdbt_delivery.h ../include/libdvbv5/desc_logical_channel.h ../include/libdvbv5/desc_ts_info.h ../include/libdvbv5/desc_partial_reception.h ../include/libdvbv5/desc_ca.h ../include/libdvbv5/desc_ca_identifier.h ../include/libdvbv5/nit.h ../include/libdvbv5/sdt.h ../include/libdvbv5/vct.h ../include/libdvbv5/atsc_header.h '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/include/libdvbv5' /usr/bin/install -c -m 644 ../include/libdvbv5/mgt.h ../include/libdvbv5/eit.h ../include/libdvbv5/cat.h ../include/libdvbv5/atsc_eit.h ../include/libdvbv5/mpeg_ts.h ../include/libdvbv5/mpeg_pes.h ../include/libdvbv5/mpeg_es.h '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/include/libdvbv5' /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/lib/pkgconfig' /usr/bin/install -c -m 644 libdvbv5.pc '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/lib/pkgconfig' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. Making install in utils Making install in libv4l2util make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. Making install in libmedia_dev make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. Making install in ivtv-ctl /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' /bin/bash ../../libtool --mode=install /usr/bin/install -c ivtv-ctl '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' libtool: install: /usr/bin/install -c ivtv-ctl /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin/ivtv-ctl make[3]: Nothing to be done for 'install-data-am'. Making install in ir-ctl /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' /bin/bash ../../libtool --mode=install /usr/bin/install -c ir-ctl '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' libtool: install: /usr/bin/install -c ir-ctl /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin/ir-ctl /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man1' /usr/bin/install -c -m 644 ir-ctl.1 '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man1' Making install in cx18-ctl /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' /bin/bash ../../libtool --mode=install /usr/bin/install -c cx18-ctl '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' libtool: install: /usr/bin/install -c cx18-ctl /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin/cx18-ctl make[3]: Nothing to be done for 'install-data-am'. Making install in keytable /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' /bin/bash ../../libtool --mode=install /usr/bin/install -c ir-keytable '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' libtool: install: /usr/bin/install -c ir-keytable /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin/ir-keytable /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/etc' /usr/bin/install -c -m 644 rc_maps.cfg '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/etc' /bin/bash /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/build-aux/install-sh -d "/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/etc/rc_keymaps" /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/udev/rc_keymaps' /usr/bin/install -c -m 644 ./rc_keymaps/adstech_dvb_t_pci.toml ./rc_keymaps/af9005.toml ./rc_keymaps/alink_dtu_m.toml ./rc_keymaps/allwinner_ba10_tv_box.toml ./rc_keymaps/allwinner_i12_a20_tv_box.toml ./rc_keymaps/anysee.toml ./rc_keymaps/apac_viewcomp.toml ./rc_keymaps/astrometa_t2hybrid.toml ./rc_keymaps/asus_pc39.toml ./rc_keymaps/asus_ps3_100.toml ./rc_keymaps/ati_tv_wonder_hd_600.toml ./rc_keymaps/ati_x10.toml ./rc_keymaps/avermedia_a16d.toml ./rc_keymaps/avermedia_cardbus.toml ./rc_keymaps/avermedia_dvbt.toml ./rc_keymaps/avermedia_m135a.toml ./rc_keymaps/avermedia_m733a_rm_k6.toml ./rc_keymaps/avermedia_rm_ks.toml ./rc_keymaps/avermedia.toml ./rc_keymaps/avertv_303.toml ./rc_keymaps/az6027.toml ./rc_keymaps/azurewave_ad_tu700.toml ./rc_keymaps/beelink_gs1.toml ./rc_keymaps/behold_columbus.toml ./rc_keymaps/behold.toml ./rc_keymaps/budget_ci_old.toml ./rc_keymaps/cec.toml ./rc_keymaps/cinergy_1400.toml ./rc_keymaps/cinergyt2.toml ./rc_keymaps/cinergy.toml ./rc_keymaps/d680_dmb.toml ./rc_keymaps/delock_61959.toml ./rc_keymaps/dib0700_nec.toml ./rc_keymaps/dib0700_rc5.toml ./rc_keymaps/dibusb.toml ./rc_keymaps/digitalnow_tinytwin.toml ./rc_keymaps/digittrade.toml ./rc_keymaps/digitv.toml ./rc_keymaps/dish_network.toml ./rc_keymaps/dm1105_nec.toml '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/udev/rc_keymaps' /usr/bin/install -c -m 644 ./rc_keymaps/dntv_live_dvbt_pro.toml ./rc_keymaps/dntv_live_dvb_t.toml ./rc_keymaps/dtt200u.toml ./rc_keymaps/dvbsky.toml ./rc_keymaps/dvico_mce.toml ./rc_keymaps/dvico_portable.toml ./rc_keymaps/em_terratec.toml ./rc_keymaps/encore_enltv2.toml ./rc_keymaps/encore_enltv_fm53.toml ./rc_keymaps/encore_enltv.toml ./rc_keymaps/evga_indtube.toml ./rc_keymaps/eztv.toml ./rc_keymaps/flydvb.toml ./rc_keymaps/flyvideo.toml ./rc_keymaps/fusionhdtv_mce.toml ./rc_keymaps/gadmei_rm008z.toml ./rc_keymaps/geekbox.toml ./rc_keymaps/genius_tvgo_a11mce.toml ./rc_keymaps/gotview7135.toml ./rc_keymaps/hauppauge.toml ./rc_keymaps/haupp.toml ./rc_keymaps/hisi_poplar.toml ./rc_keymaps/hisi_tv_demo.toml ./rc_keymaps/imon_mce.toml ./rc_keymaps/imon_pad.toml ./rc_keymaps/imon_rsc.toml ./rc_keymaps/iodata_bctv7e.toml ./rc_keymaps/it913x_v1.toml ./rc_keymaps/it913x_v2.toml ./rc_keymaps/kaiomy.toml ./rc_keymaps/khadas.toml ./rc_keymaps/khamsin.toml ./rc_keymaps/kii_pro.toml ./rc_keymaps/kworld_315u.toml ./rc_keymaps/kworld_pc150u.toml ./rc_keymaps/kworld_plus_tv_analog.toml ./rc_keymaps/leadtek_y04g0051.toml ./rc_keymaps/lme2510.toml ./rc_keymaps/manli.toml ./rc_keymaps/mce_keyboard.toml '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/udev/rc_keymaps' /usr/bin/install -c -m 644 ./rc_keymaps/medion_x10_digitainer.toml ./rc_keymaps/medion_x10_or2x.toml ./rc_keymaps/medion_x10.toml ./rc_keymaps/megasky.toml ./rc_keymaps/minix_neo.toml ./rc_keymaps/msi_digivox_iii.toml ./rc_keymaps/msi_digivox_ii.toml ./rc_keymaps/msi_tvanywhere_plus.toml ./rc_keymaps/msi_tvanywhere.toml ./rc_keymaps/nebula.toml ./rc_keymaps/nec_terratec_cinergy_xs.toml ./rc_keymaps/norwood.toml ./rc_keymaps/npgtech.toml ./rc_keymaps/odroid.toml ./rc_keymaps/opera1.toml ./rc_keymaps/pctv_sedna.toml ./rc_keymaps/pine64.toml ./rc_keymaps/pinnacle310e.toml ./rc_keymaps/pinnacle_color.toml ./rc_keymaps/pinnacle_grey.toml ./rc_keymaps/pinnacle_pctv_hd.toml ./rc_keymaps/pixelview_002t.toml ./rc_keymaps/pixelview_mk12.toml ./rc_keymaps/pixelview_new.toml ./rc_keymaps/pixelview.toml ./rc_keymaps/powercolor_real_angel.toml ./rc_keymaps/proteus_2309.toml ./rc_keymaps/purpletv.toml ./rc_keymaps/pv951.toml ./rc_keymaps/rc6_mce.toml ./rc_keymaps/real_audio_220_32_keys.toml ./rc_keymaps/reddo.toml ./rc_keymaps/samsung_ak59_00125a.toml ./rc_keymaps/snapstream_firefly.toml ./rc_keymaps/streamzap.toml ./rc_keymaps/su3000.toml ./rc_keymaps/tanix_tx3mini.toml ./rc_keymaps/tanix_tx5max.toml ./rc_keymaps/tbs_nec.toml ./rc_keymaps/technisat_ts35.toml '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/udev/rc_keymaps' /usr/bin/install -c -m 644 ./rc_keymaps/technisat_usb2.toml ./rc_keymaps/terratec_cinergy_c_pci.toml ./rc_keymaps/terratec_cinergy_s2_hd.toml ./rc_keymaps/terratec_cinergy_xs.toml ./rc_keymaps/terratec_slim_2.toml ./rc_keymaps/terratec_slim.toml ./rc_keymaps/tevii_nec.toml ./rc_keymaps/tivo.toml ./rc_keymaps/total_media_in_hand_02.toml ./rc_keymaps/total_media_in_hand.toml ./rc_keymaps/trekstor.toml ./rc_keymaps/tt_1500.toml ./rc_keymaps/tvwalkertwin.toml ./rc_keymaps/twinhan_dtv_cab_ci.toml ./rc_keymaps/twinhan_vp1027_dvbs.toml ./rc_keymaps/vega_s9x.toml ./rc_keymaps/videomate_k100.toml ./rc_keymaps/videomate_s350.toml ./rc_keymaps/videomate_tv_pvr.toml ./rc_keymaps/vp702x.toml ./rc_keymaps/wetek_hub.toml ./rc_keymaps/wetek_play2.toml ./rc_keymaps/winfast.toml ./rc_keymaps/winfast_usbii_deluxe.toml ./rc_keymaps/wobo_i5.toml ./rc_keymaps/x96max.toml ./rc_keymaps/xbox_dvd.toml ./rc_keymaps/zx_irdec.toml '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/udev/rc_keymaps' /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man1' /usr/bin/install -c -m 644 ir-keytable.1 '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man1' /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man5' /usr/bin/install -c -m 644 rc_keymap.5 '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man5' /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/udev/rules.d' /usr/bin/install -c -m 644 70-infrared.rules '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/udev/rules.d' Making install in media-ctl make install-am /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' /bin/bash ../../libtool --mode=install /usr/bin/install -c media-ctl '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' libtool: install: /usr/bin/install -c media-ctl /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin/media-ctl make[4]: Nothing to be done for 'install-data-am'. Making install in v4l2-ctl make install-am /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' /bin/bash ../../libtool --mode=install /usr/bin/install -c v4l2-ctl '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin' libtool: install: /usr/bin/install -c v4l2-ctl /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/bin/v4l2-ctl /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man1' /usr/bin/install -c -m 644 v4l2-ctl.1 '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/share/man/man1' Making install in v4l2-dbg /usr/bin/mkdir -p '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/v4l-utils/dist/sbin' /bin/bash ../../libtool --mode=install /us
I've also tried to run it nonetheless, just in case, but it obviously fails:
Snapshot exec error: Error: Command failed: /usr/bin/python3 python/gst-rtsp-snapshot.py -v -u rtsp://127.0.0.1:8554/h264 -o /dev/shm/snapshot.jpg DEBUG:root:rtspsrc location="rtsp://127.0.0.1:8554/h264" ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! pngenc snapshot=true ! appsink sync=false max-buffers=2 drop=true name=sink emit-signals=true INFO:root:Creating Pipeline... INFO:root:Extracting buffer from appsink... DEBUG:root:Set to playing DEBUG:root:pull sample
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1022:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {
killed: true, code: null, signal: 'SIGTERM', cmd: '/usr/bin/python3 python/gst-rtsp-snapshot.py -v -u rtsp://127.0.0.1:8554/h264 -o /dev/shm/snapshot.jpg' }
and stops running. I send you this just in case it helps somewhat.
From: Quedale @.> Sent: Wednesday, January 11, 2023 3:19 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
The key error here is this : ../autogen.sh: line 529: meson: command not found
You don't have meson installed which is required to build gstreamer from source. (which is my preferred method running ubuntu 22.10)
I added a new section in README.md - Build Dependencieshttps://github.com/Quedale/OnvifRtspLauncher#build-dependencies section which didn't exist when you reported this issue.
Make sure you pull the latest changes as I also updated the autogen script to include additional build dependencies. The following libraries will now be automatically built if missing : libasound2-dev, libpulse-dev and libgudev-1.0-dev.
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1378158657, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IR44LMBE5G4FEI5PJDWRYKETANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
Sorry about the numerous emails. I've found another thing. There's no "build" folder in /rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/
Which is mentioned in the No such file or directory errors that halt autogen.sh execution.
I've followed the instructions in the gstreamer subproject README and after running the meson and ninja commands, "builddir" was created, which appears to have autogen able to create the "build" folder. Nonetheless, inside that folder there is no "dist" folder so the errors are still happening.
[cid:4ef54073-bd2d-4ef9-97ba-5bcf1f5fb7f7]
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
CC src/onvifserver-onvif-server.o
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
CC src/onvifserver-onvifinitstaticplugins.o
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/gstreamer-1.0/pkgconfig': No such file or directory
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvif-server.c:23:10: fatal error: gst/gst.h: No such file or directory
23 | #include <gst/gst.h>
| ^~~
compilation terminated.
CC src/onvifserver-sink-retriever.o
Must specify package names on the command line
ls: cannot access '/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/dist/lib/pkgconfig': No such file or directory
make: [Makefile:617: src/onvifserver-onvif-server.o] Error 1
make: Waiting for unfinished jobs....
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/onvifinitstaticplugins.c:2:10: fatal error: gst/gst.h: No such file or directory
2 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:631: src/onvifserver-onvifinitstaticplugins.o] Error 1
/home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/./src/sink-retriever.c:1:10: fatal error: gst/gst.h: No such file or directory
1 | #include <gst/gst.h>
| ^~~
compilation terminated.
make: [Makefile:645: src/onvifserver-sink-retriever.o] Error 1
From: Quedale @.> Sent: Wednesday, January 11, 2023 3:19 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
The key error here is this : ../autogen.sh: line 529: meson: command not found
You don't have meson installed which is required to build gstreamer from source. (which is my preferred method running ubuntu 22.10)
I added a new section in README.md - Build Dependencieshttps://github.com/Quedale/OnvifRtspLauncher#build-dependencies section which didn't exist when you reported this issue.
Make sure you pull the latest changes as I also updated the autogen script to include additional build dependencies. The following libraries will now be automatically built if missing : libasound2-dev, libpulse-dev and libgudev-1.0-dev.
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1378158657, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IR44LMBE5G4FEI5PJDWRYKETANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
You are still getting the following error, which causes the chain of failures:
../autogen.sh: line 516: meson: command not found
../autogen.sh: line 527: meson: command not found
../autogen.sh: line 529: meson: command not found
Was your installation of meson successful?
You can confirm the installation with the command meson --version
.
If you installed the latest version through PIP, remember to add the following to your PATH variable:
export PATH=$PATH:$HOME/.local/bin
I'll improve the autogen.sh script's error handling to be more descriptive.
meson --version says 1.0.0, and I've already run that command prior to executing autogen.sh. I'll keep trying, but I guess something's wrong. Should it just work with Ubuntu 22.10 out of the box? If it should, I'll try reinstalling the system.
From: Quedale @.> Sent: Friday, January 13, 2023 7:07 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
You are still getting the following error, which causes the chain of failures:
../autogen.sh: line 516: meson: command not found ../autogen.sh: line 527: meson: command not found ../autogen.sh: line 529: meson: command not found
Was your installation of meson successful?
You can confirm the installation with the command meson --version.
If you installed the latest version through PIP, remember to add the following to your PATH variable:
export PATH=$PATH:$HOME/.local/bin
I'll improve the autogen.sh script's error handling to be more descriptive.
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1381355811, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IRYVVK7UQIMXMBRG7LWSDWKBANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
My gstreamer install is 1.20.3, not 1.14. Hope that's not a problem. I've tried to install a previous version but I was not able to.El 13 ene 2023 7:07, Quedale @.***> escribió: You are still getting the following error, which causes the chain of failures: ../autogen.sh: line 516: meson: command not found ../autogen.sh: line 527: meson: command not found ../autogen.sh: line 529: meson: command not found
Was your installation of meson successful? You can confirm the installation with the command meson --version. If you installed the latest version through PIP, remember to add the following to your PATH variable: export PATH=$PATH:$HOME/.local/bin
I'll improve the autogen.sh script's error handling to be more descriptive.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
And trying to install python bindings gives the error: python-gi has no installation candidateEl 13 ene 2023 7:07, Quedale @.***> escribió: You are still getting the following error, which causes the chain of failures: ../autogen.sh: line 516: meson: command not found ../autogen.sh: line 527: meson: command not found ../autogen.sh: line 529: meson: command not found
Was your installation of meson successful? You can confirm the installation with the command meson --version. If you installed the latest version through PIP, remember to add the following to your PATH variable: export PATH=$PATH:$HOME/.local/bin
I'll improve the autogen.sh script's error handling to be more descriptive.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
openh264| Program nasm found: NO
subprojects/openh264-2.3.1/meson.build:139:2: ERROR: Program 'nasm' not found or not executable
A full log can be found at /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build/meson-logs/meson-log.txt
ERROR: Current directory is not a meson build directory: /home/ubuntu/Downloads/onvif-back/rpos/subprojects/OnvifRtspLauncher/subprojects/gstreamer/build
.
Please specify a valid build dir or change the working directory to it.
It is also possible that the build directory was generated with an old
meson version. Please regenerate it in this case.
I get this at some point in autogen.sh
From: Quedale @.> Sent: Friday, January 13, 2023 7:07 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
You are still getting the following error, which causes the chain of failures:
../autogen.sh: line 516: meson: command not found ../autogen.sh: line 527: meson: command not found ../autogen.sh: line 529: meson: command not found
Was your installation of meson successful?
You can confirm the installation with the command meson --version.
If you installed the latest version through PIP, remember to add the following to your PATH variable:
export PATH=$PATH:$HOME/.local/bin
I'll improve the autogen.sh script's error handling to be more descriptive.
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1381355811, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IRYVVK7UQIMXMBRG7LWSDWKBANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
Thanks for this feedback! It looks like I missed a dependency.
I'm currently revamping autogen.sh to include it and to add error handling.
I'm also testing it from a minimal ubuntu 22.10 install.
It should be ready really soon.
Until then, you can simply install nasm using the package manager. sudo apt install nasm
.
I updated the autogen.sh script to include the build of nasm if it's not found on the system.
I also added error handling, so it should abort on failure.
Give it a shot when you get a chance!
It seems that the commit was not uploaded to the github repo. Last one is from 5 days ago. Did something go wrong in the upload maybe?
I have a fresh Ubuntu 22.10 minimal installation in which I'll try it as soon as possible.
From: Quedale @.> Sent: Monday, January 16, 2023 4:38 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
I updated the autogen.sh script to include the build of nasm if it's not found on the system. I also added error handling, so it should abort on failure.
Give it a shot when you get a chance!
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1383433505, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IVI3U2MJMV6BAZYSNDWSS7BVANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
I'm sorry. I see you only had to update the OnvifRtspLauncher repo, obviously.
I've just tried it. Success! Autogen works now.
Unfortunately, rpos doesn't seem to. It runs, and I can discover it with my NVR, but when trying to get video from it, this happens:
(node:74635) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
GetCapabilities : {"Category":["All"]}
GetServices : {"IncludeCapability":true}
GetAudioDecoderConfigurationOptions : {"ConfigurationToken":"audio_dec_token","ProfileToken":"profile_token"}
Return : {"Options":[{"attributes":{"token":"audio_enc_token"},"Name":"PrimAudioEnc","UseCount":1,"Encoding":"PCMU","Bitrate":8000,"SampleRate":48000}]}
GetStreamUri : {"Protocol":"RtspOverHttp","ProfileToken":"profile_token"}
Response : {"Uri":"rtsp://192.168.0.195:8554/h264"}
GetSnapshotUri : {"ProfileToken":"profile_token"}
Return : {"Uri":"http://192.168.0.195:8081/web/snapshot.jpg"}
Snapshot - starting - /usr/bin/python3 python/gst-rtsp-snapshot.py -v -u rtsp://127.0.0.1:8554/h264 -o /dev/shm/snapshot.jpg
Snapshot - finished
Snapshot exec error: Error: Command failed: /usr/bin/python3 python/gst-rtsp-snapshot.py -v -u rtsp://127.0.0.1:8554/h264 -o /dev/shm/snapshot.jpg
Traceback (most recent call last):
File "/home/ubuntu/Downloads/rpos/python/gst-rtsp-snapshot.py", line 35, in
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1022:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {
killed: false, code: 1, signal: null, cmd: '/usr/bin/python3 python/gst-rtsp-snapshot.py -v -u rtsp://127.0.0.1:8554/h264 -o /dev/shm/snapshot.jpg' } GetStreamUri : {"Protocol":"RTSP","ProfileToken":"profile_token"} Response : {"Uri":"rtsp://192.168.0.195:8554/h264"} GetStreamUri : {"Protocol":"RTSP","ProfileToken":"profile_token"} Response : {"Uri":"rtsp://192.168.0.195:8554/h264"}
Do I need to install gstreamer and gstrtspserver normally even if I'm only using Option 4? I've installed Node 16 because it's the latest one and "sudo apt install nodejs" doesn't seem to work. Do I need version 12 specifically?
I will keep debugging this. Thank you for your help, it seems we are getting somewhere.
From: Quedale @.> Sent: Monday, January 16, 2023 4:38 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
I updated the autogen.sh script to include the build of nasm if it's not found on the system. I also added error handling, so it should abort on failure.
Give it a shot when you get a chance!
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1383433505, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IVI3U2MJMV6BAZYSNDWSS7BVANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
It seems that it is python who complains. This could be related to the fact that, in step 5.c.1a, more than half of the libraries don't find an installation candidate and python-gi doesn't either, so I can't install Python binding gir files. Even though I have already added universe to my repositories in order to install python3-pip.
From: Quedale @.> Sent: Monday, January 16, 2023 4:38 AM To: Quedale/OnvifRtspLauncher @.> Cc: noomSik @.>; Author @.> Subject: Re: [Quedale/OnvifRtspLauncher] Issues with rpos fork and OnvifRtspLauncher (Issue #1)
I updated the autogen.sh script to include the build of nasm if it's not found on the system. I also added error handling, so it should abort on failure.
Give it a shot when you get a chance!
— Reply to this email directly, view it on GitHubhttps://github.com/Quedale/OnvifRtspLauncher/issues/1#issuecomment-1383433505, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEP2IVI3U2MJMV6BAZYSNDWSS7BVANCNFSM6AAAAAAS5C3PFQ. You are receiving this because you authored the thread.Message ID: @.***>
This project [OnvifRtspLauncher] is for Step 5d of the rpos project.
You are trying to follow "5.c.1a" which isn't related to this project.
Nonetheless, python-gi is for Python2 which is no longer supported. Try to install python3-gi instead.
"STEP 5 - PICK YOUR RTSP SERVER" are all mutually exclusive, since you can only choose one when launching the rpos service.
Note that I'm not the original author or rpos (original repo). I simply forked the original project to add a new RtspServer option.
Please let me know if you have an issue using RTSPServer #4 in rposConfig.json.
Otherwise this issue can be considered resolved. (rpos issues should be reported on the rpos repository)
That's right. I was missing changing the server type in the config. Sorry about the wrong repo, I was not able to open an issue on your fork. Thank you for all your help. You can close this issue.El 16 ene 2023 15:55, Quedale @.***> escribió: This project [OnvifRtspLauncher] is for Step 5d of the rpos project. You are trying to follow "5.c.1a" which isn't related to this project. Nonetheless, python-gi is for Python2 which is no longer supported. Try to install python3-gi instead. "STEP 5 - PICK YOUR RTSP SERVER" are all mutually exclusive, since you can only choose one when launching the rpos service. Note that I'm not the original author or rpos (original repo). I simply forked the original project to add a new RtspServer option. Please let me know if you have an issue using RTSPServer #4 in rposConfig.json. Otherwise this issue can be considered resolved. (rpos issues should be reported on the rpos repository)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Although I don't own rpos, I'll make the adjustments in my fork's the documentations.
I'll also look at issue submission for it.
Thanks for all your feedback.
Feel free to open another issue if you encounter anything else.
I just enabled "Issues" under my rpos fork for future reference.
Cheers!
Hello, I was using the previous version of the rpos fork and had some problems with the hardcoded references in gst-rtsp-launch.sh, but I see they have disappeared in the last commit. However, when trying the last versions, I get numerous errors with autogen.sh, like missing files, directories...
Do I have to assume it's still being worked on and not usable? Or should it be fully usable as of now? Because I was interested on the new server option but it does not seem to be working.
If I don't try to use the new server option, I always get the same error no matter the configuration, even with testsrc:
_
_