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.24
First Submitted: 2021-05-11 19:45 (UTC)
Last Updated: 2024-11-08 07:13 (UTC)

Pinned Comments

Latest Comments

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

tytan652 commented on 2022-12-10 14:05 (UTC)

@angelochecked, you said that you were a new arch user but you are a manjaro user.

AUR is not 100% compatbile with Manjaro, when it comes to up-to-date: Manjaro is always a little behind Arch Linux which cause issues like the one you have.

The easiest way to avoid that will be to use the official OBS Flatpak. I can't always keep track of how much Manjaro is behind.

angelochecked commented on 2022-12-10 13:57 (UTC) (edited on 2022-12-10 13:58 (UTC) by angelochecked)

Hi @tytan652!!! thanks for replay!!! today I reinstalled Majaro completely, the only command i runned are:

sudo pacman -Syu
sudo pacman -Sy base-devel
sudo pacman -S yay
yay -S cef-minimal-obs-bin
yay -Sy obs-studio-tytan652

the error in vlc-luajit is the same ꃋᴖꃋ what am I doing wrong? ꃋᴖꃋ

tytan652 commented on 2022-12-10 12:12 (UTC)

@angelochecked please retry with a up-to-date system.

angelochecked commented on 2022-12-09 19:03 (UTC) (edited on 2022-12-09 19:05 (UTC) by angelochecked)

hi guys, I'm a new arch user and I'm not used to compiling stuff. i get this error when i tried to install vlc-luajit:

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::write(char const*, unsigned int)':
(.text+0x3a): undefined reference to `SSL_write'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::read(unsigned char*, unsigned int)':
(.text+0x4e): undefined reference to `SSL_read'
/usr/bin/ld: (.text+0x68): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::initLibrary()':
(.text+0xba): undefined reference to `OPENSSL_init_ssl'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::reset()':
(.text+0xe9): undefined reference to `SSL_free'
/usr/bin/ld: (.text+0x100): undefined reference to `SSL_CTX_free'
/usr/bin/ld: (.text+0x116): undefined reference to `SSL_shutdown'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ClientTLSState::setup(int)':
(.text+0x237): undefined reference to `TLS_client_method'
/usr/bin/ld: (.text+0x245): undefined reference to `SSL_CTX_new'
/usr/bin/ld: (.text+0x257): undefined reference to `SSL_new'
/usr/bin/ld: (.text+0x26a): undefined reference to `BIO_new_socket'
/usr/bin/ld: (.text+0x27a): undefined reference to `SSL_set_bio'
/usr/bin/ld: (.text+0x284): undefined reference to `SSL_set_connect_state'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ClientTLSState::connect(int)':
(.text+0x2e4): undefined reference to `SSL_connect'
/usr/bin/ld: (.text+0x2f2): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ServerTLSState::setup(int)':
(.text+0x3f7): undefined reference to `TLS_server_method'
/usr/bin/ld: (.text+0x405): undefined reference to `SSL_CTX_new'
/usr/bin/ld: (.text+0x420): undefined reference to `SSL_CTX_use_certificate_file'
/usr/bin/ld: (.text+0x435): undefined reference to `ERR_print_errors_fp'
/usr/bin/ld: (.text+0x45f): undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/bin/ld: (.text+0x46e): undefined reference to `SSL_new'
/usr/bin/ld: (.text+0x481): undefined reference to `BIO_new_socket'
/usr/bin/ld: (.text+0x491): undefined reference to `SSL_set_bio'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ServerTLSState::accept(int)':
(.text+0x4c3): undefined reference to `SSL_accept'
/usr/bin/ld: (.text+0x4d1): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(SRTPCryptographicContext.o): in function `SRTPCryptographicContext::cryptData(SRTPCryptographicContext::derivedKeys&, unsigned long, unsigned int, unsigned char*, unsigned int)':
(.text+0x2f3): undefined reference to `EVP_CIPHER_CTX_new'
/usr/bin/ld: (.text+0x301): undefined reference to `EVP_aes_128_ecb'
/usr/bin/ld: (.text+0x312): undefined reference to `EVP_EncryptInit'
/usr/bin/ld: (.text+0x369): undefined reference to `EVP_EncryptUpdate'
/usr/bin/ld: (.text+0x3bd): undefined reference to `EVP_CIPHER_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(SRTPCryptographicContext.o): in function `SRTPCryptographicContext::deriveSingleKey(unsigned char const*, unsigned char const*, SRTPCryptographicContext::SRTPKeyDerivationLabel, unsigned int, unsigned char*)':
(.text+0xa37): undefined reference to `EVP_CIPHER_CTX_new'
/usr/bin/ld: (.text+0xa45): undefined reference to `EVP_aes_128_ecb'
/usr/bin/ld: (.text+0xa56): undefined reference to `EVP_EncryptInit'
/usr/bin/ld: (.text+0xaef): undefined reference to `EVP_EncryptUpdate'
/usr/bin/ld: (.text+0xafd): undefined reference to `EVP_CIPHER_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(HMAC_SHA1.o): in function `sha1(unsigned char*, unsigned char const*, unsigned int, unsigned char const*, unsigned int)':
(.text+0x1e): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: (.text+0x27): undefined reference to `EVP_sha1'
/usr/bin/ld: (.text+0x33): undefined reference to `EVP_DigestInit'
/usr/bin/ld: (.text+0x41): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x55): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x63): undefined reference to `EVP_DigestFinal'
/usr/bin/ld: (.text+0x7a): undefined reference to `EVP_MD_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(HMAC_SHA1.o): in function `HMAC_SHA1(unsigned char const*, unsigned int, unsigned char const*, unsigned int, unsigned char*)':
(.text+0x236): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: (.text+0x23f): undefined reference to `EVP_sha1'
/usr/bin/ld: (.text+0x24b): undefined reference to `EVP_DigestInit'
/usr/bin/ld: (.text+0x259): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x26f): undefined reference to `EVP_DigestFinal'
/usr/bin/ld: (.text+0x278): undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status

what can be the problem? before that i installed the package: davinci-resolve, can be the problem?

tytan652 commented on 2022-07-20 18:46 (UTC) (edited on 2022-07-20 18:53 (UTC) by tytan652)

I just forgot to remove the optional deps.

And latest versions VLC 3 do support being built with FFmpeg 5 just without VAAPI.

https://code.videolan.org/videolan/vlc/-/merge_requests/1245

Sorry to disappoint you but I stick with FFmpeg 5.

I forgot to specify that on Arch Linux side ffmpeg4.4 will be progressively phased out.

https://archlinux.org/todo/ffmpeg44-removal/

HurricanePootis commented on 2022-07-20 17:34 (UTC) (edited on 2022-07-20 17:43 (UTC) by HurricanePootis)

I'm rather confused by the fact that while this package lists VAAPI drivers as optional dependencies, and at line 266 --enable-libva is listed, why at line 335 is there a conflicting --disable-libva?

EDIT: So, vlc 3.0x is not supposed to be built with ffmpeg 5, which your package is doing incorrectly. If you look at the official VLC package, they use ffmpeg4.4 because VAAPI won't work with VLC on ffmpeg5, and even the official vlc developers said they have no plans to support ffmpeg5 on the vlc 3.0 branch here.

Here is a patch file to build with ffmpeg4.4 and re-enable VAAPI

diff --git a/PKGBUILD b/PKGBUILD
index 7cd6f81..e23965b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _vlcver=3.0.17.4
 # optional fixup version including hyphen
 _vlcfixupver=
 pkgver=${_vlcver}${_vlcfixupver//-/.r}
-pkgrel=8
+pkgrel=9
 pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player built with luajit for OBS Studio compatibility'
 url='https://www.videolan.org/vlc/'
 arch=('i686' 'x86_64' 'aarch64')
@@ -26,7 +26,7 @@ depends=(
   'a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'libproxy' 'luajit' 'libidn'
   'libmatroska' 'taglib' 'libmpcdec' 'faad2' 'libmad'
   'libmpeg2' 'xcb-util-keysyms' 'libtar' 'libxinerama' 'libsecret'
-  'libarchive' 'qt5-base' "ffmpeg>=5"
+  'libarchive' 'qt5-base' "ffmpeg4.4"
   'qt5-x11extras' 'qt5-svg' 'freetype2' 'fribidi' 'harfbuzz'
   'fontconfig' 'libxml2' 'gnutls' 'libplacebo' 'wayland-protocols'
 )
@@ -233,6 +233,7 @@ build() {
   export LUA_LIBS="$(pkg-config --libs luajit)"
   export LUA_CFLAGS="$(pkg-config --cflags luajit)"
   export RCC=/usr/bin/rcc-qt5
+  export PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig/:$PKG_CONFIG_PATH"

   ./configure \
     --prefix=/usr \

Alkaris commented on 2022-06-26 03:21 (UTC)

Why is it this package has to conflict with itself. vlc-luajit is required by OBS, but when you go to install VLC, it complains its in conflict with itself, despite the fact it's the exact same package used by OBS, and wants to uninstall itself when trying to install VLC. Instead I have to jump through hoops to ignore the vlc-luajit package altogether by extracting the package and adding an ignore rule to it. Because if I don't do that, it fucks with OBS that's already installed, preventing OBS from working at all.

lwg-galuise commented on 2022-05-06 19:54 (UTC)

That worked! Thank you thank you thank you very much!

tytan652 commented on 2022-05-06 19:00 (UTC)

@lwg-galuise I just happen to have pushed the fix with the 3.0.17.4-5