You are not logged in.

#1 2024-03-04 09:11:54

Astronautical
Member
Registered: 2024-03-04
Posts: 1

vlc-luajit not decoding h264

I've been looking for an answer for this problem for a few hours, but couldn't find an exact solution to my specific problem. Whenever I try to open any media files on my PC, it spits out this:

[astro@archlinux FLCL]$ cvlc S1E1.mkv
VLC media player 3.0.20 Vetinari (revision fdd57c7)
[0000609d6eb87720] dummy interface: using the dummy interface module...
[00007de834c0a280] gstdecode decoder error: no suitable decoder found
[00007de834c0a280] main decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.
[00007de834c0a280] main decoder error: Codec not supported
[00007de834c0a280] main decoder error: VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))
[ass] libass API version: 0x1701000
[ass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[ass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[ass] Using font provider fontconfig

After some troubleshooting and searching, I ran vlc -vvv --list |grep avcodec and got this output:

[astro@archlinux ~]$ vlc -vvv --list |grep avcodec
VLC media player 3.0.20 Vetinari (revision fdd57c7)
[000063900e64c550] main libvlc debug: VLC media player - 3.0.20 Vetinari
[000063900e64c550] main libvlc debug: Copyright © 1996-2023 the VideoLAN team
[000063900e64c550] main libvlc debug: revision fdd57c7
[000063900e64c550] main libvlc debug: configured with ./configure  '--prefix=/usr' '--sysconfdir=/etc' '--with-kde-solid=/usr/share/solid/actions/' '--disable-rpath' '--enable-nls' '--enable-archive' '--enable-live555' '--enable-dc1394' '--enable-dv1394' '--enable-dvdread' '--enable-dvdnav' '--enable-bluray' '--disable-opencv' '--enable-smbclient' '--enable-sftp' '--enable-nfs' '--enable-realrtsp' '--enable-dvbpsi' '--enable-gme' '--enable-ogg' '--enable-shout' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mad' '--enable-mpg123' '--enable-gst-decode' '--enable-avcodec' '--disable-libva' '--enable-avformat' '--enable-postproc' '--enable-faad' '--enable-vpx' '--enable-twolame' '--disable-fdkaac' '--enable-a52' '--enable-dca' '--enable-flac' '--enable-fluidsynth' '--enable-libmpeg2' '--enable-vorbis' '--enable-speex' '--enable-opus' '--enable-oggspots' '--disable-schroedinger' '--enable-png' '--enable-jpeg' '--enable-x264' '--enable-x265' '--enable-zvbi' '--enable-libass' '--enable-kate' '--enable-tiger' '--enable-vdpau' '--enable-wayland' '--enable-sdl-image' '--enable-freetype' '--enable-fribidi' '--enable-harfbuzz' '--enable-fontconfig' '--enable-svg' '--enable-svgdec' '--enable-aa' '--enable-caca' '--enable-pulse' '--enable-alsa' '--enable-jack' '--enable-samplerate' '--enable-soxr' '--enable-chromaprint' '--enable-chromecast' '--enable-qt' '--enable-skins2' '--enable-libtar' '--enable-ncurses' '--enable-lirc' '--enable-goom' '--enable-projectm' '--enable-avahi' '--enable-mtp' '--enable-upnp' '--enable-microdns' '--enable-libxml2' '--disable-libgcrypt' '--enable-gnutls' '--enable-taglib' '--enable-secret' '--enable-kwallet' '--disable-update-check' '--enable-notify' '--disable-libplacebo' '--enable-vlc' '--enable-aribsub' '--enable-aribcam' '--enable-aom' '--enable-srt' '--enable-dav1d' '--disable-decklink' '--disable-gles2' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/astro/vlc-luajit/src=/usr/src/debug/vlc-luajit -flto=auto -I/usr/include/samba-4.0' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto' 'CPPFLAGS= -I/usr/include/samba-4.0 -ffat-lto-objects' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/astro/vlc-luajit/src=/usr/src/debug/vlc-luajit -flto=auto -std=c++17' 'LUA_CFLAGS=-I/usr/include/luajit-2.1' 'LUA_LIBS=-lluajit-5.1' 'LUAC=/usr/bin/luac5.1'
[000063900e64c550] main libvlc debug: searching plug-in modules
[000063900e64c550] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[000063900e64c550] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[000063900e64c550] main libvlc debug: plug-ins loaded: 523 modules
[000063900e64c550] main libvlc debug: opening config file (/home/astro/.config/vlc/vlcrc)
[000063900e64c8a0] main logger debug: looking for logger module matching "any": 4 candidates
[000063900e64c8a0] main logger debug: using logger module "console"
[000063900e64c550] main libvlc debug: translation test: code is "C"
  vdpau_avcodec          VDPAU video decoder
  avcodec                FFmpeg audio/video decoder
  avcodec                FFmpeg audio/video decoder
[000063900e64c550]   avcodec                FFmpeg audio/video decoder
main libvlc debug: removing all interfaces  avcodec                FFmpeg audio/video decoder

  avcodec                FFmpeg audio/video encoder

I also ran pacman -Qk to see if I had any broken packages, which I didn't. Finally, I ran vlc -vv and saw this:

[astro@archlinux ~]$ vlc -vv
VLC media player 3.0.20 Vetinari (revision fdd57c7)
[000064bf66624550] main libvlc debug: VLC media player - 3.0.20 Vetinari
[000064bf66624550] main libvlc debug: Copyright © 1996-2023 the VideoLAN team
[000064bf66624550] main libvlc debug: revision fdd57c7
[000064bf66624550] main libvlc debug: configured with ./configure  '--prefix=/usr' '--sysconfdir=/etc' '--with-kde-solid=/usr/share/solid/actions/' '--disable-rpath' '--enable-nls' '--enable-archive' '--enable-live555' '--enable-dc1394' '--enable-dv1394' '--enable-dvdread' '--enable-dvdnav' '--enable-bluray' '--disable-opencv' '--enable-smbclient' '--enable-sftp' '--enable-nfs' '--enable-realrtsp' '--enable-dvbpsi' '--enable-gme' '--enable-ogg' '--enable-shout' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mad' '--enable-mpg123' '--enable-gst-decode' '--enable-avcodec' '--disable-libva' '--enable-avformat' '--enable-postproc' '--enable-faad' '--enable-vpx' '--enable-twolame' '--disable-fdkaac' '--enable-a52' '--enable-dca' '--enable-flac' '--enable-fluidsynth' '--enable-libmpeg2' '--enable-vorbis' '--enable-speex' '--enable-opus' '--enable-oggspots' '--disable-schroedinger' '--enable-png' '--enable-jpeg' '--enable-x264' '--enable-x265' '--enable-zvbi' '--enable-libass' '--enable-kate' '--enable-tiger' '--enable-vdpau' '--enable-wayland' '--enable-sdl-image' '--enable-freetype' '--enable-fribidi' '--enable-harfbuzz' '--enable-fontconfig' '--enable-svg' '--enable-svgdec' '--enable-aa' '--enable-caca' '--enable-pulse' '--enable-alsa' '--enable-jack' '--enable-samplerate' '--enable-soxr' '--enable-chromaprint' '--enable-chromecast' '--enable-qt' '--enable-skins2' '--enable-libtar' '--enable-ncurses' '--enable-lirc' '--enable-goom' '--enable-projectm' '--enable-avahi' '--enable-mtp' '--enable-upnp' '--enable-microdns' '--enable-libxml2' '--disable-libgcrypt' '--enable-gnutls' '--enable-taglib' '--enable-secret' '--enable-kwallet' '--disable-update-check' '--enable-notify' '--disable-libplacebo' '--enable-vlc' '--enable-aribsub' '--enable-aribcam' '--enable-aom' '--enable-srt' '--enable-dav1d' '--disable-decklink' '--disable-gles2' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/astro/vlc-luajit/src=/usr/src/debug/vlc-luajit -flto=auto -I/usr/include/samba-4.0' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto' 'CPPFLAGS= -I/usr/include/samba-4.0 -ffat-lto-objects' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/astro/vlc-luajit/src=/usr/src/debug/vlc-luajit -flto=auto -std=c++17' 'LUA_CFLAGS=-I/usr/include/luajit-2.1' 'LUA_LIBS=-lluajit-5.1' 'LUAC=/usr/bin/luac5.1'
[000064bf66624550] main libvlc debug: searching plug-in modules
[000064bf66624550] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[000064bf66624550] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[000064bf66624550] main libvlc debug: plug-ins loaded: 523 modules
[000064bf66624550] main libvlc debug: opening config file (/home/astro/.config/vlc/vlcrc)
[000064bf666248a0] main logger debug: looking for logger module matching "any": 4 candidates
[000064bf666248a0] main logger debug: using logger module "console"
[000064bf66624550] main libvlc debug: translation test: code is "C"
[000064bf66625280] main keystore debug: looking for keystore module matching "memory": 4 candidates
[000064bf66625280] main keystore debug: using keystore module "memory"
[000064bf66624550] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 SSE4A AVX AVX2 FPU 
[000064bf666bf770] main input debug: Creating an input for 'Media Library'
[000064bf666bf770] main input debug: Input is a meta file: disabling unneeded options
[000064bf666bf770] main input debug: using timeshift granularity of 50 MiB
[000064bf666bf770] main input debug: using default timeshift path
[000064bf666bf770] main input debug: `file/directory:///home/astro/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/astro/.local/share/vlc/ml.xspf'
[000064bf666c8d40] main input source debug: creating demux: access='file' demux='directory' location='/home/astro/.local/share/vlc/ml.xspf' file='/home/astro/.local/share/vlc/ml.xspf'
[000064bf666c8ec0] main demux debug: looking for access_demux module matching "file": 19 candidates
[000064bf666c8ec0] main demux debug: no access_demux modules matched
[000064bf666d7b10] main stream debug: creating access: file:///home/astro/.local/share/vlc/ml.xspf
[000064bf666d7b10] main stream debug:  (path: /home/astro/.local/share/vlc/ml.xspf)
[000064bf666d7b10] main stream debug: looking for access module matching "file": 30 candidates
[000064bf666d7b10] main stream debug: using access module "filesystem"
[000064bf666d8d10] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 27 candidates
[000064bf666d8d10] cache_read stream debug: Using stream method for AStream*
[000064bf666d8d10] cache_read stream debug: starting pre-buffering
[000064bf666d8d10] cache_read stream debug: received first data after 0 ms
[000064bf666d8d10] cache_read stream debug: pre-buffering done 296 bytes in 0s - 14453 KiB/s
[000064bf666d8d10] main stream debug: using stream_filter module "cache_read"
[000064bf666d9ce0] main stream debug: looking for stream_filter module matching "any": 27 candidates
[000064bf666d9ce0] playlist stream debug: using XSPF playlist reader
[000064bf666d9ce0] main stream debug: using stream_filter module "playlist"
[000064bf666d9ce0] main stream debug: stream filter added to 0x64bf666d8d10
[000064bf666dd5f0] main stream debug: looking for stream_filter module matching "any": 27 candidates
[000064bf666dd5f0] main stream debug: no stream_filter modules matched
[000064bf666c44b0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[000064bf666c44b0] main stream_directory debug: no stream_directory modules matched
[000064bf666c8d40] main input source debug: attachment of directory-extractor failed for file:///home/astro/.local/share/vlc/ml.xspf
[000064bf666dd5f0] main stream debug: looking for stream_filter module matching "record": 27 candidates
[000064bf666dd5f0] main stream debug: using stream_filter module "record"
[000064bf666c8d40] main input source debug: creating demux: access='file' demux='directory' location='/home/astro/.local/share/vlc/ml.xspf' file='/home/astro/.local/share/vlc/ml.xspf'
[000064bf666c8ec0] main demux debug: looking for demux module matching "directory": 55 candidates
[000064bf666c8ec0] main demux debug: using demux module "directory"
[000064bf666e1240] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[000064bf666e1240] lua demux meta debug: Trying Lua scripts in /home/astro/.local/share/vlc/lua/meta/reader
[000064bf666e1240] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[000064bf666e1240] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[000064bf666e1240] lua demux meta warning: Error loading script /usr/lib/vlc/lua/meta/reader/filename.luac: /usr/lib/vlc/lua/meta/reader/filename.luac: cannot load incompatible bytecode
[000064bf666e1240] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[000064bf666e1240] main demux meta debug: no meta reader modules matched
[000064bf666bf770] main input debug: `file/directory:///home/astro/.local/share/vlc/ml.xspf' successfully opened
[000064bf666f7630] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[000064bf666f7630] main xml reader debug: using xml reader module "xml"
[000064bf666bf770] main input debug: EOF reached
[000064bf666c8ec0] main demux debug: removing module "directory"
[000064bf666dd5f0] main stream debug: removing module "record"
[000064bf666d9ce0] main stream debug: removing module "playlist"
[000064bf666d8d10] main stream debug: removing module "cache_read"
[000064bf666d7b10] main stream debug: removing module "filesystem"
[000064bf666bd0b0] main playlist debug: creating audio output
[000064bf666f8040] main audio output debug: looking for audio output module matching "any": 7 candidates
[000064bf666f8040] vlcpulse audio output debug: using library version 17.0.0
[000064bf666f8040] vlcpulse audio output debug:  (compiled with version 17.0.0, protocol 35)
[000064bf666f8040] vlcpulse audio output debug: connected locally to /run/user/1000/pulse/native as client #702
[000064bf666f8040] vlcpulse audio output debug: using protocol 35, server protocol 35
[000064bf666f8040] pulse audio output debug: adding sink 111: alsa_output.pci-0000_03_00.6.3.analog-stereo (Family 17h/19h HD Audio Controller Analog Stereo)
[000064bf666f8040] main audio output debug: using audio output module "pulse"
[000064bf666bd0b0] main playlist debug: keeping audio output
[000064bf666c13a0] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[000064bf666c13a0] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[000064bf666c13a0] main interface debug: using interface module "dbus"
[000064bf66729720] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[000064bf66729720] main interface debug: using interface module "hotkeys"
[000064bf6672a120] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[000064bf6672a120] main interface debug: using interface module "xcb_hotkeys"
[000064bf66624550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000064bf6672b070] main interface debug: looking for interface module matching "any": 19 candidates
[000064bf666c13a0] dbus interface debug: Getting All properties
[000064bf666c13a0] dbus interface debug: Getting All properties
[00007dbd741164c0] main generic debug: looking for extension module matching "any": 1 candidates
[00007dbd741164c0] lua generic debug: Opening Lua Extension module
[00007dbd741164c0] lua generic debug: Trying Lua scripts in /home/astro/.local/share/vlc/lua/extensions
[00007dbd741164c0] lua generic debug: Trying Lua scripts in /usr/lib/vlc/lua/extensions
[00007dbd741164c0] lua generic debug: Trying Lua playlist script /usr/lib/vlc/lua/extensions/VLSub.luac
[00007dbd741164c0] lua generic debug: Scanning Lua script /usr/lib/vlc/lua/extensions/VLSub.luac
[00007dbd741164c0] lua generic warning: Error loading script /usr/lib/vlc/lua/extensions/VLSub.luac: /usr/lib/vlc/lua/extensions/VLSub.luac: cannot load incompatible bytecode
[00007dbd741164c0] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[00007dbd741164c0] main generic debug: using extension module "lua"
[000064bf6672b070] main interface debug: using interface module "qt"
[000064bf666bd0b0] main playlist: playlist is empty
[000064bf666bd0b0] main playlist debug: nothing to play
[000064bf6672b070] qt interface debug: video widget is orphaned
[000064bf66624550] main libvlc debug: exiting
[000064bf66624550] main libvlc debug: exiting
[000064bf66624550] main libvlc debug: removing all interfaces
[000064bf6672b070] main interface debug: removing module "qt"
[000064bf666bd0b0] main playlist debug: deactivating the playlist
[000064bf666f8040] main audio output debug: removing module "pulse"
[000064bf6672b070] qt interface debug: requesting exit...
[000064bf6672b070] qt interface debug: waiting for UI thread...
[000064bf6672b070] qt interface debug: QApp exec() finished
[000064bf6672b070] qt interface debug: video widget is orphaned
[000064bf6672b070] qt interface debug: Killing extension dialog provider
[000064bf6672b070] qt interface debug: ExtensionsDialogProvider is quitting...
[00007dbd741164c0] main generic debug: removing module "lua"
[000064bf6672a120] main interface debug: removing module "xcb_hotkeys"
[000064bf66729720] main interface debug: removing module "hotkeys"
[000064bf666c13a0] main interface debug: removing module "dbus"
[000064bf666bd0b0] main playlist debug: destroying
[000064bf66707920] main playlist export debug: saving media library to file /home/astro/.local/share/vlc/ml.xspf.tmp17952
[000064bf66707920] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[000064bf66707920] main playlist export debug: using playlist export module "export"
[000064bf66707920] main playlist export debug: removing module "export"
[000064bf666bd0b0] main playlist debug: deleting item `Media Library'
[000064bf666bd0b0] main playlist debug: deleting item `Playlist'
[000064bf66625280] main keystore debug: removing module "memory"

Suffice to say, I'm feeling a little over my head here, and could use some support.

Offline

#2 2024-03-04 15:12:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,960

Re: vlc-luajit not decoding h264

You're using that version instead of the repo, because?

In any case assuming you want to continue using that,  rebuild it against current system deps

Offline

Board footer

Powered by FluxBB