A video works on mpv & Chrome but not on VLC

*nix specific usage questions
jebez
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2023 16:33

A video works on mpv & Chrome but not on VLC

Postby jebez » 04 Dec 2024 19:18

Hi

I'm on Debian testing KDE Wayland, VLC 3.0.21 from the Debian repository.

E.g. https://www.youtube.com/watch?v=oqZZ2hYD9dQ downloaded via yt-dlp (giving a .webm file) works on mpv & Chrome but not on VLC: sound but black screen.

Thanks.
Last edited by jebez on 05 Dec 2024 15:24, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: A video works on mpv but not on VLC

Postby Rémi Denis-Courmont » 05 Dec 2024 12:13

VLC 3.0 doesn't officially support Wayland. Be sure to use XWayland if you really need that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jebez
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2023 16:33

Re: A video works on mpv but not on VLC

Postby jebez » 05 Dec 2024 15:14

There's Xwayland, displayed in System Monitor.

Whether Debian testing KDE Wayland or X11: same.

mpv & Chrome can be both X11 or Wayland (verifiable with xeyes).

By the way why not VLC Wayland?

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: A video works on mpv & Chrome but not on VLC

Postby Rémi Denis-Courmont » 05 Dec 2024 18:19

Qt didn't support Wayland properly at the time when VLC 3.0.0.came out.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jebez
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2023 16:33

Re: A video works on mpv & Chrome but not on VLC

Postby jebez » 06 Dec 2024 00:58

Well I failed to build VLC 4 https://wiki.videolan.org/UnixCompile/, with lot of --disable-, otherwise error messages:

Code: Select all

./configure --disable-xcb --disable-qt --disable-nls --disable-avcodec --disable-swscale --disable-dav1d
I finished with:

Code: Select all

make[4]: *** [Makefile:32903: demux/dash/mpd/libvlc_adaptive_la-TemplatedUri.lo] Error 1
I also built VLC 3.0.x with --enable-wayland:

Code: Select all

cd /media/a/01DAC9FBBCD9DE20;git clone --branch 3.0.x https://code.videolan.org/videolan/vlc.git;cd vlc;./bootstrap;cd contrib;mkdir native;cd native;../bootstrap;make;cd /media/a/01DAC9FBBCD9DE20/vlc;./configure --enable-wayland;make
but as https://wiki.archlinux.org/title/VLC_me ... nd_support it's broke: it's X11 (xeyes follows) & the video still doesn't work.

Will my bug be fixed?

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: A video works on mpv & Chrome but not on VLC

Postby Rémi Denis-Courmont » 06 Dec 2024 14:20

Your problem description is much too vague for anyone to fix it. Besides it seems specific to your setup.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jebez
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2023 16:33

Re: A video works on mpv & Chrome but not on VLC

Postby jebez » 06 Dec 2024 16:23

You right: the video works on VLC on Debian stable KDE Wayland live https://www.debian.org/distrib/.

2 differences: I'm on Debian testing & the official Nvidia beta driver https://www.nvidia.com/en-us/drivers/, the installer is NVIDIA-Linux-x86_64-565.57.01.run, the live it's NV168 (Nouveau).

A bug of Debian testing so? I wonder why it still works on mpv & Chrome...

What is your distro?

jebez
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2023 16:33

Re: A video works on mpv & Chrome but not on VLC

Postby jebez » 03 Feb 2025 16:34

I'm on Arch Linux now.

The solution:

Code: Select all

env -u DISPLAY vlc
https://wiki.archlinux.org/title/VLC_me ... nd_support


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 38 guests