Hi , of all the packages I've built in my time, this one has to be the most broken one I have seen so far and the most complicated to get installed and working properly. It has been a failure in Debian, Ubuntu, Amazon Linux AMI etc.
Ive been trying for days to get a gstreamer package with SRT support working. It was completely missing from the bad plugins package. According to this post, I was able to rebuild just the bad plugins repository with libsrt, in Ubutu server. But in Debian Buster , it complained about missing a plugins base package verson which was installed https://qiita.com/tetsu_koba/items/b12a6de83185a5267217 This led me to attempting to rebuild the whole thing from sources. I need this tool for testing SRT streaming functionality, and its taken a few days to get to this point. The Windows binary crashes when trying to turn the receiver into SRT server mode (For testing Wowza SRT Push streaming) My target environment will be a receiver on Raspberry PI. But I am trying to get it built within the PI Desktop VMware for now. On attempting to setup cerbero according to the docs. In Debian Buster, configure fails. Any help would be good, so i can move on confirming UDP NAT issues with SRT. checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/home/pi/Downloads/cerbero/build/sources/build-tools/m4-1.4.18': configure: error: C compiler cannot create executables See `config.log' for more details ***** Error running 'bootstrap' command: Recipe 'm4' failed at the build step 'configure' Fatal Error: Running ['sh', '-c', './configure --prefix /home/pi/Downloads/cerbero/build/build-tools --libdir /home/pi/Downloads/cerbero/build/build-tools/lib --with-pic --disable-maintainer-mode --disable-silent-rules --disable-gtk-doc --disable-introspection --disable-gcc-warnings --with-pic --disable-maintainer-mode --disable-silent-rules --disable-gtk-doc --disable-introspection --disable-gcc-warnings '], returncode 77 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le samedi 13 juillet 2019 à 11:46 +0000, Daniel Rossi a écrit :
> Hi , of all the packages I've built in my time, this one has to be > the most broken one I have seen so far and the most complicated to > get installed and working properly. It has been a failure in Debian, > Ubuntu, Amazon Linux AMI etc. > > Ive been trying for days to get a gstreamer package with SRT support > working. It was completely missing from the bad plugins package. > > According to this post, I was able to rebuild just the bad plugins > repository with libsrt, in Ubutu server. But in Debian Buster , it > complained about missing a plugins base package verson which was > installed > > https://qiita.com/tetsu_koba/items/b12a6de83185a5267217 > > This led me to attempting to rebuild the whole thing from sources. I > need this tool for testing SRT streaming functionality, and its taken > a few days to get to this point. The Windows binary crashes when > trying to turn the receiver into SRT server mode (For testing Wowza > SRT Push streaming) Could it be that one ? https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/1acd9c726a9dfc99980c6eeaa20d95be9d693d13 1. Note that I notice that SRT elements only works when configured through URI, configuring through the properties seems broken. I must admit I thought this crash was introduced by the re-factoring (the one that merge srtserver/client pairs to allow fully URI based handling. > > My target environment will be a receiver on Raspberry PI. But I am > trying to get it built within the PI Desktop VMware for now. > > > On attempting to setup cerbero according to the docs. In Debian > Buster, configure fails. Any help would be good, so i can move on > confirming UDP NAT issues with SRT. SRT is NAT friendly in the sense it uses a single port, but you still need to port forward, as it does not do NAT traversal like WebRTC as an example. > > checking for gcc... gcc > checking whether the C compiler works... no > configure: error: in `/home/pi/Downloads/cerbero/build/sources/build- > tools/m4-1.4.18': > configure: error: C compiler cannot create executables > See `config.log' for more details More details are inside config.log as stated by this message. > > ***** Error running 'bootstrap' command: > Recipe 'm4' failed at the build step 'configure' > Fatal Error: Running ['sh', '-c', './configure --prefix > /home/pi/Downloads/cerbero/build/build-tools --libdir > /home/pi/Downloads/cerbero/build/build-tools/lib --with-pic -- > disable-maintainer-mode --disable-silent-rules --disable-gtk-doc > --disable-introspection --disable-gcc-warnings --with-pic -- > disable-maintainer-mode --disable-silent-rules --disable-gtk-doc > --disable-introspection --disable-gcc-warnings '], returncode 77 > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
This is the exact problem on windows. I've gone around in circles with getting it installed on Debian, I need to get a working Debian package anyway for Raspberry PI targets. The gst-build project was a failure. I couldnt get it properly installed and running gst-launch, it complained about missing a gst-doc project after an hour downloading and compiling. I've tried cerbero twice. It failed intially on a PI Desktop Debian image because of wierd arch issues with 32 bit library locations. It successfully built packages on Debian 10, but it did not go as far as install the packages. It seems to not have made a package for "plugins-bad" which is needed for SRT support and there is zero documentation how to do that. I tried to install gstreamer as a binary package and recompile "plugins-bad" from sources but it complained about not finding a gstreamer version that was already there so I scrapped trying there. According to these docs. This documented process worked on Ubuntu Server however. https://qiita.com/tetsu_koba/items/b12a6de83185a5267217 I've hit deadends and roadblocks along the way for something that might have taken a few minutes to install. I've spent 3 days trying to get a working linux binary because SRT is missing from the Debian/Ubuntu packages. Still nothing yet. This is the Windows output. gst-launch-1.0 -v srtserversrc uri="srt://127.0.0.1:8888" ! decodebin ! autovideosink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock 18:55:57.646831!!FATAL!!: SRT.c: CChannel reported ERROR DURING TRANSMISSION - IPE. INTERRUPTING worker anyway.
Acting as a pull client test has been working with the Windows version. I was able to test gst-launch on the Ubuntu server where wowza is. So locally that was working but I need to do remote tests to receiver client behind a NAT. Wowza SRT transmission acts as a push to the client acting as a UDP server. I've not managed to test this and confirm NAT configuring on my EdgeRouter is actually working. ------ Original Message ------
From: "Nicolas Dufresne" <[hidden email]>
To: "Daniel Rossi" <[hidden email]>; "Discussion of the development of and with GStreamer" <[hidden email]>
Sent: 7/13/2019 10:42:31 PM
Subject: Re: SRT support build on Debian Buster. Nothing available yet. Cerbero fails to configure for source install.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Nicolas Dufresne-5
Trying to install the built cerbero packages to see if plugins bad is also installed. I hit a wall there too
dpkg -i *.deb "dpkg: error processing archive gstreamer-1.0-effects_1.17.0.1-1_amd64.deb (--install): trying to overwrite '/home/danielr/Downloads/cerbero/build/dist/linux_x86_64/lib/libSoundTouch.so', which is also in package gstreamer-1.0-effects-dev 1.17.0.1-1 Preparing to unpack gstreamer-1.0-encoding-dbg_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-encoding-dbg (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-encoding-dev_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-encoding-dev (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-encoding_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-encoding (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-libav-dbg_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-libav-dbg (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-libav-dev_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-libav-dev (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-libav_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-libav (1.17.0.1-1) ... dpkg: error processing archive gstreamer-1.0-libav_1.17.0.1-1_amd64.deb (--install): trying to overwrite '/home/danielr/Downloads/cerbero/build/dist/linux_x86_64/lib/libavcodec.so', which is also in package gstreamer-1.0-libav-dev 1.17.0.1-1 Preparing to unpack gstreamer-1.0-net-dbg_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-net-dbg (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-net-dev_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-net-dev (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-net-restricted-dbg_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-net-restricted-dbg (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-net-restricted-dev_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-net-restricted-dev (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-net-restricted_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-net-restricted (1.17.0.1-1) ... dpkg: error processing archive gstreamer-1.0-net-restricted_1.17.0.1-1_amd64.deb (--install): trying to overwrite '/home/danielr/Downloads/cerbero/build/dist/linux_x86_64/lib/libmms.so', which is also in package gstreamer-1.0-net-restricted-dev 1.17.0.1-1 Preparing to unpack gstreamer-1.0-net_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-net (1.17.0.1-1) ... dpkg: error processing archive gstreamer-1.0-net_1.17.0.1-1_amd64.deb (--install): trying to overwrite '/home/danielr/Downloads/cerbero/build/dist/linux_x86_64/lib/libcrypto.so', which is also in package gstreamer-1.0-net-dev 1.17.0.1-1 Preparing to unpack gstreamer-1.0-playback-dbg_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-playback-dbg (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-playback-dev_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-playback-dev (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-playback_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-playback (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-system-dbg_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-system-dbg (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-system-dev_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-system-dev (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-system_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-system (1.17.0.1-1) ... dpkg: error processing archive gstreamer-1.0-system_1.17.0.1-1_amd64.deb (--install): trying to overwrite '/home/danielr/Downloads/cerbero/build/dist/linux_x86_64/lib/libcdda_interface.so', which is also in package gstreamer-1.0-system-dev 1.17.0.1-1 Preparing to unpack gstreamer-1.0-visualizers-dbg_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-visualizers-dbg (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-visualizers-dev_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-visualizers-dev (1.17.0.1-1) over (1.17.0.1-1) ... Preparing to unpack gstreamer-1.0-visualizers_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0-visualizers (1.17.0.1-1) ... dpkg: error processing archive gstreamer-1.0-visualizers_1.17.0.1-1_amd64.deb (--install): trying to overwrite '/home/danielr/Downloads/cerbero/build/dist/linux_x86_64/lib/libvisual-0.4.so', which is also in package gstreamer-1.0-visualizers-dev 1.17.0.1-1 Preparing to unpack gstreamer-1.0_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0 (1.17.0.1-1) over (1.17.0.1-1) ... dpkg: dependency problems prevent configuration of base-crypto-dbg: base-crypto-dbg depends on base-crypto (= 1.17.0.1-1); however: Package base-crypto is not installed." "Processing was halted because there were too many errors." ------ Original Message ------
From: "Nicolas Dufresne" <[hidden email]>
To: "Daniel Rossi" <[hidden email]>; "Discussion of the development of and with GStreamer" <[hidden email]>
Sent: 7/13/2019 10:42:31 PM
Subject: Re: SRT support build on Debian Buster. Nothing available yet. Cerbero fails to configure for source install.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Nicolas Dufresne-5
Trying to install just the base package didn't work sudo dpkg -i gstreamer-1.0_1.17.0.1-1_amd64.deb (Reading database ... 130926 files and directories currently installed.) Preparing to unpack gstreamer-1.0_1.17.0.1-1_amd64.deb ... Unpacking gstreamer-1.0 (1.17.0.1-1) over (1.17.0.1-1) ... dpkg: dependency problems prevent configuration of gstreamer-1.0: gstreamer-1.0 depends on gstreamer-1.0-core; however: Package gstreamer-1.0-core is not configured yet. dpkg: error processing package gstreamer-1.0 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: gstreamer-1.0
Only getting into this shell am I able to make it run. As an end user for development, that isn't the desired outcome ./cerbero-uninstalled shell danielr@debian:~/Downloads/cerbero$ ./cerbero-uninstalled shell [cerbero-linux-x86_64]gst-inspect-1.0 |grep srt subparse: subparse_typefind: srt, sub, mpsub, mdvd, smi, txt, dks, vtt dtls: dtlssrtpdec: DTLS-SRTP Decoder dtls: dtlssrtpenc: DTLS-SRTP Encoder dtls: dtlssrtpdemux: DTLS SRTP Demultiplexer subenc: srtenc: Srt encoder srt: srtsrc: SRT source srt: srtsink: SRT sink srt: srtclientsrc: SRT source srt: srtserversrc: SRT source srt: srtclientsink: SRT sink srt: srtserversink: SRT sink srtp: srtpenc: SRTP encoder srtp: srtpdec: SRTP decoder [cerbero-linux-x86_64] ------ Original Message ------
From: "Nicolas Dufresne" <[hidden email]>
To: "Daniel Rossi" <[hidden email]>; "Discussion of the development of and with GStreamer" <[hidden email]>
Sent: 7/13/2019 10:42:31 PM
Subject: Re: SRT support build on Debian Buster. Nothing available yet. Cerbero fails to configure for source install.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Mon, Jul 15, 2019 at 3:10 PM Daniel Rossi <[hidden email]> wrote:
> > Trying to install just the base package didn't work > > sudo dpkg -i gstreamer-1.0_1.17.0.1-1_amd64.deb > (Reading database ... 130926 files and directories currently installed.) > Preparing to unpack gstreamer-1.0_1.17.0.1-1_amd64.deb ... > Unpacking gstreamer-1.0 (1.17.0.1-1) over (1.17.0.1-1) ... > dpkg: dependency problems prevent configuration of gstreamer-1.0: > gstreamer-1.0 depends on gstreamer-1.0-core; however: > Package gstreamer-1.0-core is not configured yet. > > dpkg: error processing package gstreamer-1.0 (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > gstreamer-1.0 > The Debian packaging output of Cerbero is known to be broken: https://gitlab.freedesktop.org/gstreamer/gst-ci/issues/23 https://gitlab.freedesktop.org/gstreamer/cerbero/issues/56 You can use `package -t` to get a tarball instead which you can extract wherever you want and then you can point your application to that prefix. Alternatively, if you're interested in debugging and fixing the debian packaging, that would also be welcome. Cheers, Nirbheek _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
My apt system had issues from trying to install packages upon running a command to fix the issue it deleted files from the project. I am unable to run the package -t command now with an error like this and seems I have to start all over again. I hadn't successfully installed it and had to run it in the uninstalled environment meson.build:443:0: ERROR: Dependency "glib-2.0" not found, tried pkgconfig and cmake
------ Original Message ------
From: "Nirbheek Chauhan" <[hidden email]>
To: "Daniel Rossi" <[hidden email]>; "Discussion of the development of and with GStreamer" <[hidden email]>
Cc: "Nicolas Dufresne" <[hidden email]>
Sent: 7/16/2019 4:55:08 AM
Subject: Re: Re[2]: SRT support build on Debian Buster. Nothing available yet. Cerbero fails to configure for source install.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |