Package Details: vlc-plugin-luajit 3.0.22-26

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 - LuaJIT scripting plugins
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: vlc-plugin-lua
Provides: vlc-plugin-lua
Submitter: tytan652
Maintainer: tytan652
Last Packager: tytan652
Votes: 21
Popularity: 0.005608
First Submitted: 2021-05-11 19:45 (UTC)
Last Updated: 2026-04-04 08:30 (UTC)

Pinned Comments

tytan652 commented on 2025-07-09 10:49 (UTC) (edited on 2025-07-09 18:55 (UTC) by tytan652)

Arch Linux split the vlc package between it's plugins.

This package has been refactored to only replace vlc-plugin-lua, updating will require manual intervention:

  • Install vlc (and libvlc)
  • Build the PKGBUILD and install vlc-plugin-luajit
  • Install vlc-luajit

Latest Comments

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

copygirl commented on 2026-04-02 18:33 (UTC) (edited on 2026-04-02 21:00 (UTC) by copygirl)

Trying to build this but running into a couple of invalid conversion errors like this one:

services_discovery/upnp.cpp: In static member function ‘static int Access::Upnp_i11e_cb::run(Upnp_EventType, UpnpEventPtr, void*)’:
services_discovery/upnp.cpp:974:34: error: invalid conversion from ‘UpnpEventPtr’ {aka ‘const void*’} to ‘void*’ [-fpermissive]

Presumably this is because the compiler has become a bit more strict.
I added -fpermissive to CPPFLAGS to get it to compile for now.
(Though the proper solution would be for the code to be fixed.)

edit: Official package fixed it here.

rev.cressy commented on 2026-03-05 13:48 (UTC) (edited on 2026-03-05 14:08 (UTC) by rev.cressy)

vlc-3.0.21-fix-opus-crash.patch ... FAILED
did not pass validity check when used:
git clone https://aur.archlinux.org/vlc-luajit.git
makepkg --sign -s

Edited PKGBUILD sha512sum 7359e40e537dfd9e1894d392e7759896d29a5179a0e6db051cafd26d7ea873837012c564f8adf3bbba43616deaf915fbc3254a0dcb08c3b47437dabfbfa5b9db

2ko commented on 2026-02-26 09:23 (UTC) (edited on 2026-02-26 09:49 (UTC) by 2ko)

didn't compile without manual intervention. remove:

#include <gst/gstbufferpool.h>
#include <gst/video/gstvideopool.h>

from: modules/codec/gstreamer/gstvlcvideopool.h

then compile using makepkg --noextract -si as for extraction not to override changes

source for changes: https://code.videolan.org/videolan/vlc/-/merge_requests/8479.patch

cucu9 commented on 2026-02-17 07:05 (UTC) (edited on 2026-02-17 07:06 (UTC) by cucu9)

failing to compile. i updated the sha512 for vlc-3.0.21-fix-opus-crash.patch. now receiving an error which may or may not have something to do with gstreamer...

In file included from /usr/include/glib-2.0/glib/gmacros.h:40:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h:468:9: note: this is the location of the previous definition
  468 | #define unreachable() (__builtin_unreachable ())
      |         ^~~~~~~~~~~
make[4]: *** [Makefile:22705: codec/gstreamer/libgstdecode_plugin_la-gstvlcvideopool.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:22712: codec/gstreamer/libgstdecode_plugin_la-gstvlcvideosink.lo] Error 1
make[4]: Leaving directory '/home/user/.cache/paru/clone/vlc-luajit/src/vlc-3.0.21/modules'
make[3]: *** [Makefile:28318: all-recursive] Error 1
make[3]: Leaving directory '/home/user/.cache/paru/clone/vlc-luajit/src/vlc-3.0.21/modules'
make[2]: *** [Makefile:12950: all] Error 2
make[2]: Leaving directory '/home/user/.cache/paru/clone/vlc-luajit/src/vlc-3.0.21/modules'
make[1]: *** [Makefile:1577: all-recursive] Error 1
make[1]: Leaving directory '/home/user/.cache/paru/clone/vlc-luajit/src/vlc-3.0.21'
make: *** [Makefile:1464: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

MBRWolf commented on 2026-01-11 11:57 (UTC) (edited on 2026-01-11 11:58 (UTC) by MBRWolf)

This kind of message is just a compile warning, let it run:


make[3]: Entering directory '/home/user/bkbuild_vlc-luajit/vlc-luajit/src/vlc-3.0.21/compat'
  CC       dummy.lo
  CC       strnstr.lo
In file included from strnstr.c:22:
../config.h:927:9: warning: ‘_FORTIFY_SOURCE’ redefined
  927 | #define _FORTIFY_SOURCE 2
      |         ^~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition

MandleRex commented on 2026-01-09 09:53 (UTC)

sha512 for vlc-3.0.21-fix-opus-crash.patch has changed. 7359e40e537dfd9e1894d392e7759896d29a5179a0e6db051cafd26d7ea873837012c564f8adf3bbba43616deaf915fbc3254a0dcb08c3b47437dabfbfa5b9db

fera-maxwell commented on 2025-10-19 20:35 (UTC) (edited on 2025-10-19 20:36 (UTC) by fera-maxwell)

  468 | #define unreachable() (__builtin_unreachable ())
      |         ^~~~~~~~~~~
  CC       access/http/libvlc_http_la-tunnel.lo
In file included from access/http/tunnel.c:22:
../config.h:927:9: warning: ‘_FORTIFY_SOURCE’ redefined
  927 | #define _FORTIFY_SOURCE 2
      |         ^~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
In file included from access/http/tunnel.c:31:
../include/vlc_common.h:115:10: warning: ‘unreachable’ redefined
  115 | # define unreachable() __builtin_unreachable()
      |          ^~~~~~~~~~~
In file included from ../include/vlc_fixups.h:97,
                 from ../config.h:1004:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h:468:9: note: this is the location of the previous definition
  468 | #define unreachable() (__builtin_unreachable ())
      |         ^~~~~~~~~~~
  CC       access/http/libvlc_http_la-connmgr.lo
In file included from access/http/connmgr.c:22:
../config.h:927:9: warning: ‘_FORTIFY_SOURCE’ redefined
  927 | #define _FORTIFY_SOURCE 2
      |         ^~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
In file included from access/http/connmgr.c:26:
../include/vlc_common.h:115:10: warning: ‘unreachable’ redefined
  115 | # define unreachable() __builtin_unreachable()
      |          ^~~~~~~~~~~
In file included from ../include/vlc_fixups.h:97,
                 from ../config.h:1004:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h:468:9: note: this is the location of the previous definition
  468 | #define unreachable() (__builtin_unreachable ())
      |         ^~~~~~~~~~~

this repeats infinitely trying to do yay -S vlc-plugin-luajit :(

theburto commented on 2025-07-14 00:20 (UTC) (edited on 2025-07-14 00:21 (UTC) by theburto)

Following the comment of @brunofontes, I'm trying that path I've installed osb-studio, vlc and libvlc, but step 2 isn't working:

>yay -Syu vlc-plugin-luajit

[trim noise]

resolving dependencies...
looking for conflicting packages...
:: vlc-plugin-luajit-3.0.21-1 and vlc-plugin-lua-3.0.21-26 are in conflict. Remove vlc-plugin-lua? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing vlc-plugin-lua breaks dependency 'vlc-plugin-lua=3.0.21' required by vlc-gui-qt
-> error installing repo packages

If I go down the path of trying to remove vlc-gui-qt then it starts getting into kde base dependencies. Am I missing something?

brunofontes commented on 2025-07-13 23:54 (UTC)

These last two comments (shaybox and tytan652) worked pretty well for me!

  1. sudo pacman -Sy obs-studio vlc libvlc
  2. Install vlc-plugin-luajit
  3. Install vlc-luajit
  4. Install obs-studio-tytan652