Package Details: mediastreamer-git 5.3.0.alpha.r64.g62a23baa-1

Git Clone URL: https://aur.archlinux.org/mediastreamer-git.git (read-only, click to copy)
Package Base: mediastreamer-git
Description: A modular sound and video processing and streaming library
Upstream URL: https://github.com/BelledonneCommunications/mediastreamer2
Licenses: GPL
Conflicts: mediastreamer
Provides: mediastreamer
Submitter: vnoel
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 12
Popularity: 0.003852
First Submitted: 2010-10-17 12:05 (UTC)
Last Updated: 2023-06-20 02:10 (UTC)

Latest Comments

1 2 3 4 Next › Last »

dreieck commented on 2023-12-22 15:23 (UTC)

Build fails for me with mediastreamer2/src/utils/ffmpeg-priv.h:121:17: error: conflicting types for ‘avcodec_alloc_context3’; have ‘AVCodecContext *(AVCodec *)’:

[ 55%] Building C object src/CMakeFiles/mediastreamer2.dir/voip/msvideo.c.o
In file included from /tmp/makepkg/build/mediastreamer-git/src/mediastreamer2/src/voip/msvideo.c:25:
/tmp/makepkg/build/mediastreamer-git/src/mediastreamer2/src/utils/ffmpeg-priv.h:121:17: error: conflicting types for ‘avcodec_alloc_context3’; have ‘AVCodecContext *(AVCodec *)’
  121 | AVCodecContext *avcodec_alloc_context3(AVCodec *codec);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/makepkg/build/mediastreamer-git/src/mediastreamer2/src/utils/ffmpeg-priv.h:51:
/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of ‘avcodec_alloc_context3’ with type ‘AVCodecContext *(const AVCodec *)’
 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/mediastreamer2.dir/build.make:1266: src/CMakeFiles/mediastreamer2.dir/voip/msvideo.c.o] Error 1

Regards!

dreieck commented on 2023-12-22 15:22 (UTC)

If I change source location from github.com to https://gitlab.linphone.org/BC/public/mediastreamer2.git, source retrieval works.

Anyway, this seems to be the more official upstream place.

Can you change $url and the source entry accordingly?

Thanks for maintaining!

dreieck commented on 2023-12-22 15:18 (UTC)

Source retrieval repeatedly fails for me with PC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8):

  -> Cloning mediastreamer2 git repo...
Cloning into bare repository '/tmp/makepkg/sources/mediastreamer2'...
remote: Enumerating objects: 58135, done.
remote: Counting objects: 100% (8736/8736), done.
remote: Compressing objects: 100% (2197/2197), done.
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6469 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Regards!

dreieck commented on 2023-12-22 14:20 (UTC) (edited on 2023-12-22 15:18 (UTC) by dreieck)

Can you please add provides=("mediastreamer2=${pkgver}"), conflicts=("mediastreamer2")?

Upstream name is still "mediastreamer2" and there are packages that depend on it.

Regards and thanks for maintaining!

cknoblauch commented on 2023-06-20 18:33 (UTC)

Build fails with this error:

CMake Error at CMakeLists.txt:182 (find_package):
  Could not find a package configuration file provided by "BZRTP" with any of
  the following names:

    BZRTPConfig.cmake
    bzrtp-config.cmake

  Add the installation prefix of "BZRTP" to CMAKE_PREFIX_PATH or set
  "BZRTP_DIR" to a directory containing one of the above files.  If "BZRTP"
  provides a separate development package or SDK, be sure it has been
  installed.

v5.2.75, the previous non-alpha tag, does not build either. It's been a long time since this package was last updated, it's likely the packaging/build requirements changed in the meantime.

aquilarubra commented on 2021-09-02 19:29 (UTC)

Build fails: mediastreamer2/include/mediastreamer2/msrtp.h:28:70: error: unknown type name ‘rtp_audio_level_t’

smeuser commented on 2021-07-16 10:41 (UTC) (edited on 2021-07-16 10:43 (UTC) by smeuser)

i have pretty much the same problem like the user in the previous comment


[ 94%] Linking CXX executable msaudiocmp
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/ring.dir/build.make:119: tools/ring] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:404: tools/CMakeFiles/ring.dir/all] Fehler 2
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/bench.dir/build.make:119: tools/bench] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:378: tools/CMakeFiles/bench.dir/all] Fehler 2
collect2: Fehler: ld gab 1 als Ende-Status zurück
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
make[2]: *** [tools/CMakeFiles/mkvstream.dir/build.make:119: tools/mkvstream] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:560: tools/CMakeFiles/mkvstream.dir/all] Fehler 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/tones.dir/build.make:119: tools/tones] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:456: tools/CMakeFiles/tones.dir/all] Fehler 2
collect2: Fehler: ld gab 1 als Ende-Status zurück
collect2: Fehler: ld gab 1 als Ende-Status zurück
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
make[2]: *** [tools/CMakeFiles/mtudiscover.dir/build.make:119: tools/mtudiscover] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:430: tools/CMakeFiles/mtudiscover.dir/all] Fehler 2
make[2]: *** [tools/CMakeFiles/msaudiocmp.dir/build.make:119: tools/msaudiocmp] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:612: tools/CMakeFiles/msaudiocmp.dir/all] Fehler 2
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/mediastream.dir/build.make:135: tools/mediastream] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:534: tools/CMakeFiles/mediastream.dir/all] Fehler 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/ms-echo.dir/build.make:119: tools/ms-echo] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:508: tools/CMakeFiles/ms-echo.dir/all] Fehler 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/videodisplay.dir/build.make:119: tools/videodisplay] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:482: tools/CMakeFiles/videodisplay.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

reclusivesage commented on 2021-07-13 05:30 (UTC) (edited on 2021-07-13 05:32 (UTC) by reclusivesage)

After I realized this package is required for liblinphone-git, I installed: bcmatroska2-git, bcg729-git, ortp-git, and bzrtp-git. (I should also have libsrtp installed.)

However, I received several "undefined reference to 'srtp_add_or_update_stream'" errors when almost finishing the installation, which also involve msaudiocmp:

[ 98%] Building C object tools/CMakeFiles/msaudiocmp.dir/msaudiocmp.c.o
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
[ 99%] Linking CXX executable msaudiocmp
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/ring.dir/build.make:119: tools/ring] Error 1
make[1]: *** [CMakeFiles/Makefile2:404: tools/CMakeFiles/ring.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/videodisplay.dir/build.make:119: tools/videodisplay] Error 1
make[1]: *** [CMakeFiles/Makefile2:482: tools/CMakeFiles/videodisplay.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/mtudiscover.dir/build.make:119: tools/mtudiscover] Error 1
make[1]: *** [CMakeFiles/Makefile2:430: tools/CMakeFiles/mtudiscover.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/tones.dir/build.make:119: tools/tones] Error 1
make[1]: *** [CMakeFiles/Makefile2:456: tools/CMakeFiles/tones.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/mkvstream.dir/build.make:119: tools/mkvstream] Error 1
make[1]: *** [CMakeFiles/Makefile2:560: tools/CMakeFiles/mkvstream.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/ms-echo.dir/build.make:119: tools/ms-echo] Error 1
make[1]: *** [CMakeFiles/Makefile2:508: tools/CMakeFiles/ms-echo.dir/all] Error 2
[100%] Linking CXX executable mediastream
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/bench.dir/build.make:119: tools/bench] Error 1
make[1]: *** [CMakeFiles/Makefile2:378: tools/CMakeFiles/bench.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/msaudiocmp.dir/build.make:119: tools/msaudiocmp] Error 1
make[1]: *** [CMakeFiles/Makefile2:612: tools/CMakeFiles/msaudiocmp.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/mediastream.dir/build.make:135: tools/mediastream] Error 1
make[1]: *** [CMakeFiles/Makefile2:534: tools/CMakeFiles/mediastream.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Manifest0 commented on 2020-11-22 21:48 (UTC)

The error is fixed after we update the ortp-git package

Manifest0 commented on 2020-09-19 15:17 (UTC)

I have the same error as jose1711