Package Details: libvlc-luajit 3.0.21-7

Git Clone URL: https://aur.archlinux.org/vlc-luajit.git (read-only, click to copy)
Package Base: vlc-luajit
Description: Multi-platform MPEG, VCD/DVD, and DivX player built with luajit for OBS Studio compatibility - library
Upstream URL: https://www.videolan.org/vlc/
Keywords: luajit media obs obs-studio vlc
Licenses: GPL-2.0-or-later, LGPL-2.1-or-later
Conflicts: libvlc
Provides: libvlc
Submitter: tytan652
Maintainer: tytan652
Last Packager: tytan652
Votes: 21
Popularity: 0.28
First Submitted: 2021-05-11 19:45 (UTC)
Last Updated: 2024-11-08 07:13 (UTC)

Dependencies (108)

Required by (2)

Sources (4)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

lwg-galuise commented on 2022-05-06 18:53 (UTC) (edited on 2022-05-06 18:55 (UTC) by lwg-galuise)

I can't seem to get this to build. It's complaining about the dav1d encoder code:

In file included from codec/dav0d.c:33:
codec/dav0d.c: In function ‘vlc_entry__3_0_0f’:
codec/dav0d.c:66:57: error: ‘DAV1D_MAX_FRAME_THREADS’ undeclared (first use in this function); did you mean ‘DAV1D_MAX_THREADS’?
    65 |     add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS,
        |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
../include/vlc_plugin.h:245:54: note: in definition of macro ‘vlc_config_set’
  245 | #define vlc_config_set(...) vlc_set (opaque, config, __VA_ARGS__)
        |                                                      ^~~~~~~~~~~
../include/vlc_plugin.h:433:5: note: in expansion of macro ‘change_integer_range’
  433 |     change_integer_range( i_min, i_max )
        |     ^~~~~~~~~~~~~~~~~~~~
codec/dav0d.c:66:5: note: in expansion of macro ‘add_integer_with_range’
    65 |     add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS,
        |     ^~~~~~~~~~~~~~~~~~~~~~
codec/dav0d.c:66:57: note: each undeclared identifier is reported only once for each function it appears in
    65 |     add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS,
        |                                                         ^~~~~~~~~~~~~~~~~~~~~~~

I did try swapping out the "extra/dav1d 1.0.0-1" Arch package for https://aur.archlinux.org/packages/dav1d-git to no avail.

ArchBoxHero commented on 2022-03-01 17:10 (UTC) (edited on 2022-03-01 17:12 (UTC) by ArchBoxHero)

Thanks for the info @tytan652. I have no issue getting it to build manually replacing the "ffmpeg" version to the "ffmpeg-amd-full" version and looks good.

tytan652 commented on 2022-03-01 14:57 (UTC) (edited on 2022-03-01 14:59 (UTC) by tytan652)

I can't add it, every FFmpeg package should add in there provide this "ffmpeg=$pkgver". But this is not a requirement.

It allow me to avoid that this package is built with FFmpeg 4. You can replace "ffmpeg>=5" by "ffmpeg" in VLC PKGBUILD. Or ask the maintainer of your FFmpeg package to add "ffmpeg=$pkgver" in provided package.

ArchBoxHero commented on 2022-03-01 14:53 (UTC)

Hey @tytan652 -I've swapped out the ffmpeg>=5 with ffmpeg-amd-full>=5 in the PKBUILD. Could you add it? Thanks.

tytan652 commented on 2022-03-01 07:27 (UTC)

@ArchBoxHero I can't help if you don't gave me the full error.

ArchBoxHero commented on 2022-02-28 23:35 (UTC) (edited on 2022-02-28 23:42 (UTC) by ArchBoxHero)

No chance of building this using ffmpeg-amd-full version? I can't build it with that ffmpeg. And I'd really much rather keep that ffmpeg version. Any help? Thanks.

ngoonee commented on 2022-02-21 02:22 (UTC)

Thanks this works @tytan652

tal commented on 2022-02-20 20:24 (UTC) (edited on 2022-02-20 21:35 (UTC) by tal)

I'm still getting this when trying to build. is there any workaround for it?

error: libva is present but libavcodec/vaapi.h is missing

Edit:

It looks like it's not finding the ffmpeg-5.0.patch:


==> Retrieving sources...
  -> Found vlc-3.0.16.tar.xz
  -> Found update-vlc-plugin-cache.hook
  -> Found vlc-3.0.11.1-srt_1.4.2.patch
  -> Found vlc-live-media-2021.patch

RESOLVED:

Looks like I had a dirty PKGBUILD cached. I was using paru, and paru -Scc still wasn't getting rid of old pkgbuild files. a full paru -Sccd and some manual cache deletion seems to have resolved the problem

tytan652 commented on 2022-02-18 11:46 (UTC)

@Freso because Arch Linux vlc package did the same thing because of ffmpeg4.4 but I think I can add it back since I use FFmpeg 5.