Package Details: mplayer-vaapi 36265-20

Git Clone URL: https://aur.archlinux.org/mplayer-vaapi.git (read-only, click to copy)
Package Base: mplayer-vaapi
Description: A movie player, compiled with vaapi support
Upstream URL: http://gitorious.org/vaapi/mplayer
Licenses: GPL
Conflicts: mplayer
Provides: mplayer
Submitter: foutrelis
Maintainer: None
Last Packager: ryshglene
Votes: 10
Popularity: 0.000000
First Submitted: 2015-04-02 12:39 (UTC)
Last Updated: 2023-12-25 08:07 (UTC)

Dependencies (47)

Required by (103)

Sources (9)

Pinned Comments

ryshglene commented on 2020-04-02 20:52 (UTC) (edited on 2020-09-19 15:49 (UTC) by ryshglene)

It seems the last packager has lost interest on this package, so I've taken maintainership of it now.

I've added new patches to get it building again in this repository. I've changed the sources to use new mirrors. And I've also tweaked a few things in the PKGBUILD, because some of the dependencies have become missing and/or unneeded.

The package is now building again. Though, if new issues arise, feel free to email me at the URL linked in the PKGBUILD. You can also flag this package instead, if you want, then explain in the comments what's wrong.

NOTE: This package uses GPG keys for verification.

To avoid build failures, make sure to run the following command before you install:

$ gpg --recv-key 51E8B148A9999C34

For more information, see the Arch Wiki article on makepkg verification.

Latest Comments

1 2 3 Next › Last »

kikislater commented on 2024-10-28 10:50 (UTC)

It seems to be broken !

OTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/ cs de en es fr hu it pl ru zh_CN/bugreports.html.

cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4  -fpie -DPIC -D_REENTRANT -I/usr/include/   -D_REENTRANT  -I/usr/include/opus -I/usr/include/bs2b -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -c -o libvo/vo_aa.o libvo/vo_aa.c
In file included from ffmpeg/libavutil/common.h:402,
                 from ffmpeg/libavutil/avutil.h:271,
                 from ffmpeg/libswscale/swscale.h:37,
                 from libvo/vo_aa.c:42:
ffmpeg/libavutil/mem.h:149:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  149 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
In file included from ffmpeg/libavutil/avutil.h:278:
ffmpeg/libavutil/pixfmt.h:248:5: warning: "AV_HAVE_INCOMPATIBLE_LIBAV_ABI" is not defined, evaluates to 0 [-Wundef]
  248 | #if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_aa.c: In function 'draw_frame':
libvo/vo_aa.c:358:17: error: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types]
  358 |   sws_scale(sws,src,stride,0,src_height,image,image_stride);
      |                 ^~~
      |                 |
      |                 uint8_t ** {aka unsigned char **}
ffmpeg/libswscale/swscale.h:226:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'}
  226 | scale(struct SwsContext *c, const uint8_t *const srcSlice[],
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

libvo/vo_aa.c: In function 'draw_slice':
libvo/vo_aa.c:378:17: error: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types]
  378 |   sws_scale(sws,src,stride,y,h,image,image_stride);
      |                 ^~~
      |                 |
      |                 uint8_t ** {aka unsigned char **}
ffmpeg/libswscale/swscale.h:226:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'}
  226 | scale(struct SwsContext *c, const uint8_t *const srcSlice[],
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

libvo/vo_aa.c: In function 'preinit':
libvo/vo_aa.c:670:17: warning: variable 'major' set but not used [-Wunused-but-set-variable]
  670 |     int fd, vt, major, minor;
      |                 ^~~~~
make: *** [Makefile:760: libvo/vo_aa.o] Error 1

talessx commented on 2024-06-27 13:23 (UTC)

Hallo, I've installed "patch" package and imprted the key by typing "gpg --recv-key 51E8B148A9999C34"; anyway I'm not able to compile.


libvo/vo_aa.c: In function 'preinit': libvo/vo_aa.c:670:17: warning: variable 'major' set but not used [-Wunused-but-set-variable] 670 | int fd, vt, major, minor; | ^ make: *** [Makefile:760: libvo/vo_aa.o] Error 1


jkl commented on 2024-03-09 11:40 (UTC)

@carsten See https://wiki.archlinux.org/title/PKGBUILD#makedepends. PKGBUILD assume base-devel is installed and patch is a dependency of base-devel.

Eirikr commented on 2024-03-06 19:31 (UTC) (edited on 2024-03-06 19:32 (UTC) by Eirikr)

This is not building. Failure occurs here:

libavcodec/libilbc.c:90:75: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 90 | av_log(avctx, AV_LOG_ERROR, "iLBC frame too short (%u, should be %u)\n", | ~^ | | | unsigned int | %lu 91 | buf_size, s->decoder.no_of_bytes); | ~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} In file included from libavcodec/libmp3lame.c:35: libavcodec/avcodec.h:4512:5: warning: "AV_HAVE_INCOMPATIBLE_LIBAV_ABI" is not defined, evaluates to 0 [-Wundef] 4512 | #if AV_HAVE_INCOMPATIBLE_LIBAV_ABI | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/libilbc.c:99:31: error: 'WebRtc_Word16' undeclared (first use in this function) 99 | WebRtcIlbcfix_DecodeImpl((WebRtc_Word16*) frame->data[0], | ^~~~~~~~~~~~~ libavcodec/libilbc.c:99:31: note: each undeclared identifier is reported only once for each function it appears in libavcodec/libilbc.c:99:45: error: expected expression before ')' token 99 | WebRtcIlbcfix_DecodeImpl((WebRtc_Word16*) frame->data[0], | ^ libavcodec/libilbc.c:99:5: error: too few arguments to function 'WebRtcIlbcfix_DecodeImpl' 99 | WebRtcIlbcfix_DecodeImpl((WebRtc_Word16*) frame->data[0], | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ilbc.h:449:5: note: declared here 449 | int WebRtcIlbcfix_DecodeImpl( | ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/libilbc.c:83:20: warning: unused variable 'buf' [-Wunused-variable] 83 | const uint8_t *buf = avpkt->data; | ^~~ libavcodec/libilbc.c: At top level: libavcodec/libilbc.c:121:5: warning: 'iLBC_Enc_Inst_t' is deprecated [-Wdeprecated-declarations] 121 | iLBC_Enc_Inst_t encoder; | ^~~~~~~~~~~~~~~ /usr/include/ilbc.h:333:16: note: declared here 333 | typedef struct IlbcEncoder_ { | ^~~~~~~~~~~~ libavcodec/libilbc.c: In function 'ilbc_encode_frame': libavcodec/libilbc.c:173:31: error: 'WebRtc_UWord16' undeclared (first use in this function) 173 | WebRtcIlbcfix_EncodeImpl((WebRtc_UWord16*) avpkt->data, (const WebRtc_Word16*) frame->data[0], &s->encoder); | ^~~~~~~~~~~~~~ libavcodec/libilbc.c:173:46: error: expected expression before ')' token 173 | WebRtcIlbcfix_EncodeImpl((WebRtc_UWord16*) avpkt->data, (const WebRtc_Word16*) frame->data[0], &s->encoder); | ^ libavcodec/libilbc.c:173:5: error: too few arguments to function 'WebRtcIlbcfix_EncodeImpl' 173 | WebRtcIlbcfix_EncodeImpl((WebRtc_UWord16*) avpkt->data, (const WebRtc_Word16*) frame->data[0], &s->encoder); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ilbc.h:463:6: note: declared here 463 | void WebRtcIlbcfix_EncodeImpl( | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [common.mak:48: libavcodec/libilbc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/eirikr/.cache/yay/mplayer-vaapi/src/mplayer-vaapi-36265/ffmpeg' make: *** [Makefile:774: ffmpeg/libavcodec/libavcodec.a] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: mplayer-vaapi-exit status 4

carsten commented on 2023-12-31 12:58 (UTC)

The package requires the "patch" package installed. Is that a manjaro thing, or do Arch users have the same problem?

kensmith commented on 2023-12-25 17:43 (UTC)

Confirmed, thank you @ryshglene

ryshglene commented on 2023-12-25 08:10 (UTC)

@kensmith I added a patch and tested with aur-build. Should be working now.

kensmith commented on 2023-12-23 20:08 (UTC)

This build seems to be broken.

CC      libavformat/adtsenc.o
In file included from ./libavutil/avutil.h:278,
                 from ./libavutil/mem.h:34,
                 from ./libavutil/common.h:402,
                 from ./libavcodec/get_bits.h:31,
                 from libavformat/adtsenc.c:23:
./libavutil/pixfmt.h:248:5: warning: "AV_HAVE_INCOMPATIBLE_LIBAV_ABI" is not defined, evaluates to 0 [-Wundef]
  248 | #if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libavutil/mem.h:149:1: warning: 'alloc_size' attribute ignored on a function returning  int' [-Wattributes]
  149 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
In file included from ./libavcodec/mathops.h:45,
                 from ./libavcodec/get_bits.h:35:
./libavcodec/x86/mathops.h:71:5: warning: "HAVE_I686" is not defined, evaluates to 0 [-Wundef]
   71 | #if HAVE_I686
      |     ^~~~~~~~~
In file included from libavformat/adtsenc.c:25:
./libavcodec/avcodec.h:4512:5: warning: "AV_HAVE_INCOMPATIBLE_LIBAV_ABI" is not defined, evaluates to 0 [-Wundef]
 4512 | #if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libavcodec/x86/mathops.h: Assembler messages:
./libavcodec/x86/mathops.h:120: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:120: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:120: Error: operand type mismatch for `shr'
make[1]: *** [common.mak:48: libavformat/adtsenc.o] Error 1
make[1]: Leaving directory '/home/k3/code/aur/mplayer-vaapi/src/mplayer-vaapi-36265/ffmpeg'
make: *** [Makefile:774: ffmpeg/libavformat/libavformat.a] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

ryshglene commented on 2022-03-03 02:23 (UTC)

Hello @talessx. This is a common issue for AUR packages that link against libraries from the official repositories. What you need to do is to rebuild the AUR package against the new version of the library. You have to do this every time the library it depends on (in this case, libx264) is updated.

talessx commented on 2022-02-27 14:13 (UTC)

Hi, it requires libx264.so.163 that is no longer supported by pacman, last update is 3:0.164.r3081.19856cc-1 version.

" xxxxx@xxxxxx ~ $ mplayer mplayer: error while loading shared libraries: libx264.so.163: cannot open shared object file: No such file or directory "