Package Details: lib32-gst-libav 1.24.3-2

Git Clone URL: https://aur.archlinux.org/lib32-gst-bad-ugly.git (read-only, click to copy)
Package Base: lib32-gst-bad-ugly
Description: Multimedia graph framework (32-bit) - libav plugin
Upstream URL: https://gstreamer.freedesktop.org/
Licenses: LGPL
Provides: lib32-gst-ffmpeg
Replaces: lib32-gst-libav-latest
Submitter: ahmubashshir
Maintainer: ahmubashshir (MarsSeed)
Last Packager: ahmubashshir
Votes: 46
Popularity: 0.25
First Submitted: 2023-01-07 17:47 (UTC)
Last Updated: 2024-06-27 07:44 (UTC)

Pinned Comments

ahmubashshir commented on 2023-11-18 14:43 (UTC) (edited on 2023-11-18 14:44 (UTC) by ahmubashshir)

If you have any improvements/suggestions for the pkgbuilds I maintain, please create an issue/pr on github.com/ahmubashshir/pkgbuilds or send the patches to ahmubashshir+pkgbuilds@gmail.com

p.s. sorry for being late, I was busy with my mid and part-time job last three months... it was truly chaotic...

Latest Comments

1 2 3 4 5 6 .. 20 Next › Last »

ahmubashshir commented on 2024-07-06 12:31 (UTC)

Guys, lib32-x265 is outdated, so the build is failing.

Jaska commented on 2024-07-02 21:02 (UTC)

@zepar Thanks, the patch also worked for me.

also adding the compiler flag to the meson options fixed the other error for me -D c_args="-Wno-error=incompatible-pointer-types"

zepar commented on 2024-06-27 13:12 (UTC)

@NeWolf to bypass that error i added this to the PKGBUILD:

export CFLAGS="${CFLAGS} -Wno-error=incompatible-pointer-types"

I'm now using the patch below and seems that line is no longer nedded:

https://gitlab.archlinux.org/archlinux/packaging/packages/gstreamer/-/blob/main/0002-libav-Fix-compatibility-with-ffmpeg-7.patch?ref_type=heads

NeWolf commented on 2024-06-27 10:55 (UTC) (edited on 2024-06-27 10:55 (UTC) by NeWolf)

package fails to build with this error


[1092/1461] Compiling C object subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o
FAILED: subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o 
gcc -m32 -Isubprojects/gst-libav/ext/libav/libgstlibav.so.p -Isubprojects/gst-libav/ext/libav -I../gstreamer/subprojects/gst-libav/ext/libav -Isubprojects/gst-libav -I../gstreamer/subprojects/gst-libav -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -fno-strict-aliasing -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Waggregate-return -Wvla -Wpointer-arith -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o -MF subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o.d -o subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o -c ../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c
../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c: In function ‘gst_ffmpegdata_open’:
../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c:272:28: error: passing argument 6 of ‘avio_alloc_context’ from incompatible pointer type [-Wincompatible-pointer-types]
  272 |       gst_ffmpegdata_read, gst_ffmpegdata_write, gst_ffmpegdata_seek);
      |                            ^~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            int (*)(void *, uint8_t *, int) {aka int (*)(void *, unsigned char *, int)}
In file included from /usr/include/libavformat/avformat.h:319,
                 from ../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c:27:
/usr/include/libavformat/avio.h:404:25: note: expected ‘int (*)(void *, const uint8_t *, int)’ {aka ‘int (*)(void *, const unsigned char *, int)’} but argument is of type ‘int (*)(void *, uint8_t *, int)’ {aka ‘int (*)(void *, unsigned char *, int)’}
  404 |                   int (*write_packet)(void *opaque, const uint8_t *buf, int buf_size),
      |                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1101/1461] Compiling C object subprojects/gst-plugin...tests/check/elements_dash_mpd.p/elements_dash_mpd.c.o
In file included from ../gstreamer/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c:52:
../gstreamer/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c:6012:17: warning: ‘dash_mpdparser_xlink_period’ defined but not used [-Wunused-function]
 6012 | GST_START_TEST (dash_mpdparser_xlink_period)
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gstreamer-1.0/gst/check/gstcheck.h:240:13: note: in definition of macro ‘GST_START_TEST’
  240 | static void __testname (int G_GNUC_UNUSED __i__) \
      |             ^~~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

zepar commented on 2024-06-26 03:33 (UTC)

I was able to build using version 1.24.5 and applying the patch that is on github link that Jaska provided (https://github.com/OpenMandrivaAssociation/gst-libav/blob/master/6505.diff)

Jaska commented on 2024-06-25 22:28 (UTC) (edited on 2024-06-25 22:29 (UTC) by Jaska)

lib32-gst-plugins-bad fails to build with:

../gstreamer/subprojects/gst-libav/ext/libav/gstavdemux.c:1403:16: error: ‘AVInputFormat’ has no member named ‘read_probe’ 1403 | if (in_plugin->read_probe && |

related: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3378

mozo commented on 2024-05-06 14:10 (UTC)

@rodrigo21 Thank you!

rodrigo21 commented on 2024-05-06 13:55 (UTC)

@mozo Press q.

mozo commented on 2024-05-06 11:42 (UTC)

Good day, I have a question:

When I reach this stage, what I should do? Enter doesn't work for we're already at the end of file and Ctrl+C aborts the installation process:

https://pastebin.com/dyuC7fwc

Player01osu commented on 2024-03-22 15:45 (UTC)

Patches not updated for 1.24.0, rollback to 1.22.10 until then

diff --git a/PKGBUILD b/PKGBUILD
index 12a693d..01557f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ pkgname=(lib32-gst-plugins-ugly)
 )
 readonly LIB32GST_DISABLE_{AV,BAD}

-pkgver=1.24.0
+pkgver=1.22.10
 pkgrel=1
 pkgdesc="Multimedia graph framework (32-bit)"
 url="https://gstreamer.freedesktop.org/"

Or checkout commit 7c47df747f09a06237832e08a63e5103ed1ef551