VLC borked after update&upgrade :-(

Code:
$ uname -av
FreeBSD local.domain 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
Code:
vlc --version

VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
VLC version 3.0.21 Vetinari (3.0.21-0-gdd8bfdbabe8)
Compiled by root on 141amd64-quarterly-job-38 (Nov 28 2024 01:34:57)
Compiler: InstalledDir: /usr/bin
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file

Code:
vlc --open large-language-models.mp4

VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000000800c5a060] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
 
Last edited by a moderator:
Update is a little vague. Update of the OS or this software?

vlc is one of the most sensitive software I've seen about its dependencies. Try to upgrade all your packages with pkg upgrade or the equivalent if you use ports.
 
I did freebsd-update and pkg upgrade. Plus, I've installed simplescreenrecorder-0.4.4.9_3. which maybe did something to ffmpeg that was part of its install.

Interesting info from
pkg info simplescreenrecorder-0.4.4.9_3

Features:
* Graphical user interface (Qt-based).
* Faster than VLC and ffmpeg/avconv.
* Records the entire screen or part of it, or records OpenGL
applications directly (similar to Fraps on Windows).
* Synchronizes audio and video properly (a common issue with
VLC and ffmpeg/avconv).
* Reduces the video frame rate if your computer is too slow
(rather than using up all your RAM like VLC does).


I didn't have any issues with VLC, but now I do :-)
 
After the pkg upgrade you should have vlc version 3.0.21_7,4 (quarterly) or 3.0.21_10,4 ("latest").

What does this say: freebsd-version -kru ?
 
Code:
freebsd-version -kru
14.1-RELEASE-p5
14.1-RELEASE-p5
14.1-RELEASE-p6

I did this again:
Code:
freebsd-update fetch

src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 14.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 14.1-RELEASE-p6.
 
Last edited by a moderator:
You didn't mention it, but if you're using ZFS-on-root, then you could boot into the previous BE, before the patch update & pkg upgrade. My guess would be however that your problems are related to your pkg upgrade though; are you on "latest"?
 
After the pkg upgrade you should have vlc version 3.0.21_7,4 (quarterly) or 3.0.21_10,4 ("latest").

What does this say: freebsd-version -kru ?

Code:
pkg info vlc

vlc-3.0.21_7,4
Name           : vlc
Version        : 3.0.21_7,4
Installed on   : Sat Nov 30 07:04:21 2024 PST
Origin         : multimedia/vlc
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : www wayland net multimedia audio
Licenses       : GPLv2
Maintainer     : multimedia@FreeBSD.org
WWW            : https://www.videolan.org
Comment        : Qt based multimedia player and streaming server
 
Last edited by a moderator:
vlc-3.0.21_7,4 on 14.2 seems fine for me (played a mp4 audio and wmv video)

Code:
vlc --version
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
VLC version 3.0.21 Vetinari (3.0.21-0-gdd8bfdbabe8)
Compiled by root on 141amd64-quarterly-job-38 (Nov 28 2024 01:34:57)

Unrelated, but HW accel doesn't work for me with VA-API so I'm going back to mpv :p (it also works fine currently)
 
Use Clonezilla (UFS) before updates. I can restore from the image in 7-8 minutes. Recently, the Tor-browser crashed after an update, I had to wait. Now I use the command
# pkg version -vRL=
before updating packages. If it is not critical, I do not update.
 
I have the same problem with both VLC and MPV.
Sorry, the topic is about vlc, but after the update (20241013):
mpv: 0.38.0_1,1 -> 0.39.0,1

I can only use mpv with --vo=x11:
Code:
$ mpv --vo=x11 test.mp4

(But I use the xf86-video-nv driver (my hardware is old))

After updating vlc (20241013):
vlc: 3.0.21_2,4 -> 3.0.21_7,4

vlc can only work for me as follows:
Code:
$ LIBGL_ALWAYS_SOFTWARE=1 vlc test.mp4
This is not a solution to the problem, it just works for me.
 
Back
Top