st2110-toolkit icon indicating copy to clipboard operation
st2110-toolkit copied to clipboard

Unable to locate srt-devel and srt-libs packages during installation

Open Funkvay opened this issue 1 year ago • 7 comments

Hi Patrick.

I tried to install the transcoder software on my Ubuntu system by running ./install.sh transcoder, but I encountered the following errors:

E: Unable to locate package srt-devel
E: Unable to locate package srt-libs

I searched for these packages in the Ubuntu package repositories using the apt-cache search command, but I couldn't find them. I also tried to download the packages manually from trusted sources, but I couldn't find any suitable sources for these packages.

As a result, I was unable to complete the installation of the transcoder software on my Ubuntu system. Can you please advise on how I can resolve this issue and install the transcoder software successfully?

Funkvay avatar Mar 07 '23 13:03 Funkvay

Hi, this is due to a wrong OS-related logic that should now be fixed. Let me know.

pkeroulas avatar Mar 07 '23 19:03 pkeroulas

yeah, that solved my problem and it works now, thank you! I have 1 more question I tried to use your terminal code from SW_source.md for gstreamer, but got

gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
ERROR: pipeline could not be constructed: no element "rtpbin".

do you know anything about this? I tried to use gst-inspect-1.0 gstrtp but this still didn't help

Funkvay avatar Mar 08 '23 07:03 Funkvay

Going back to to your ffmpeg question make sure, it is correctly built. The ouput should look like:

ffmpeg version n5.1-6-gffaf606130 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr/local --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-version3 --enable-gpl --enable-nonfree --enable-postproc --enable-libsrt --enable-libx264 --enable-libfdk-aac --enable-libmp3lame --disable-ffplay --disable-ffprobe --enable-small --disable-stripping --disable-debug

pkeroulas avatar Mar 09 '23 15:03 pkeroulas

For gstreamer, make sure you installed gst-plugins-good. I haven't used gstreamer for years. Note that ffmpeg now can generate ST 2110 streams but I haven't tested it yet.

pkeroulas avatar Mar 09 '23 17:03 pkeroulas

yeah I saw about ffmpeg and st 2110. Trying to find a way how to use it. About building I got this

st2110-toolkit/transcoder/install.sh: line 147: ffmpeg_gpu_options: unbound variable

So yeah, sadly it's still not build correctly.

for gstreamer I downloaded all needed, but I'm still not sure whats the problem, that's why I'm going to try build it from source.

funkvay-star avatar Mar 15 '23 07:03 funkvay-star

Weird that this error didn't pop before. Fixed now. Sorry for the tedious build process. It may break with new OS releases as dependencies may change. Thanks for reporting.

pkeroulas avatar Mar 16 '23 14:03 pkeroulas

For gstreamer, make sure you installed gst-plugins-good. I haven't used gstreamer for years. Note that ffmpeg now can generate ST 2110 streams but I haven't tested it yet.

Could you elaborate how it could be done? Just using RTP muxer?

matiaspl avatar Mar 28 '24 10:03 matiaspl