Page 1 of 1

VLC Works but CVLC does not

Posted: 20 Oct 2024 07:49
by rjwilson01
From the command line I have tried as follows
On a raspberry PI4b - only one display connected ,one screen from the command line
I installed the PI from scratch 2 days ago - Its bookworm , full install so includes the desktop

I thought this worked yesterday but today it did not so I've uninstalled VLC and reinstalled, updated and upgraded all packages



This is the CVLC not working -
pi@halloween:~/Documents/halloween $ cvlc -v Buffer.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[00000055ab5664b0] dummy interface: using the dummy interface module...
[0000007f70c16840] mp4 stream warning: unknown box type cTIM (incompletely loaded)
[0000007f70c16840] mp4 stream warning: unknown box type cTSC (incompletely loaded)
[0000007f70c16840] mp4 stream warning: unknown box type cTSZ (incompletely loaded)
[0000007f70c16840] mp4 stream warning: Unknown uuid type box
[0000007f70c550c0] mp4 demux warning: elst box found
[0000007f70c550c0] mp4 demux warning: STTS table of 1 entries
[0000007f70c550c0] mp4 demux warning: CTTS table of 296 entries
[0000007f70c550c0] mp4 demux warning: elst box found
[0000007f70c550c0] mp4 demux warning: STTS table of 1 entries
[0000007f70d1eef0] wl_xdg_shell window: <<< WL XDG, type=0
Segmentation fault
Where as VLC works plays and exits
pi@halloween:~/Documents/halloween $ vlc -v Buffer.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[000000559c9e1560] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000007f30c01e10] mp4 stream warning: unknown box type cTIM (incompletely loaded)
[0000007f30c01e10] mp4 stream warning: unknown box type cTSC (incompletely loaded)
[0000007f30c01e10] mp4 stream warning: unknown box type cTSZ (incompletely loaded)
[0000007f30c01e10] mp4 stream warning: Unknown uuid type box
[0000007f30c0aea0] mp4 demux warning: elst box found
[0000007f30c0aea0] mp4 demux warning: STTS table of 1 entries
[0000007f30c0aea0] mp4 demux warning: CTTS table of 296 entries
[0000007f30c0aea0] mp4 demux warning: elst box found
[0000007f30c0aea0] mp4 demux warning: STTS table of 1 entries
[0000007f240013f0] wl_dmabuf vout display: <<< Open: DPV0 1920x1080(1920x1080 @ 0,0 0/0), cfg.display: 1920x1080, source: 1920x1080(1920x1080 @ 0,0 1/1)
[0000007f30c1aa70] avcodec decoder: Using DRM Video Accel for hardware decoding
[0000007f30c55850] faad decoder warning: decoded zero sample
[000000559cab4ab0] pulse audio output warning: starting late (-9723 us)
[000000559cab4ab0] main audio output warning: playback too late (103209): up-sampling
[000000559ca7def0] main playlist: end of playlist, exiting

Re: VLC Works but CVLC does not

Posted: 20 Oct 2024 09:42
by RĂ©mi Denis-Courmont
VLC presumably starts the UI in X11 mode, causing the video to render in X11, which works. CVLC does not start the UI, and since you have enabled the experimental Wayland video output, the Wayland video output starts, and for whatever reason crashes. Without further infos, can't really tell if it's a limitation of VLC 3.0 or a bug elsewhere in your system.

However I have to note that Wayland is disabled by default in VLC 3.0, since it is only stable from VLC 4.0 onward. This would probably not have happened if the package did not enable experimental features, or at least not by default. Unfortunately, Debian offers no way to remove VLC's Wayland support without also removing X11.

You can try to work around the problem by forcing an X11 video output (-V command line flag).