Solved VLC crashes when trying to play DVDs

I just got a Blu-Ray USB player and FreeBSD detects it just fine. I've made sure it works by mounting it and I can see everything just fine.
I'm having an issue where VLC keeps crashing whenever I try to play from DVD. I'm trying to play a DVD on the Blu-Ray, specifically Matrix Reloaded.
I tried changing to video output and audio output devices to no avail.
I also added:
perm /dev/cd0 0666
to my /etc/devfs.conf file and restarted devfs. It now shows 0666 permissions for /dev/cd0.

Here is the output when running VLC from the terminal:
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000000800c5d060] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000800d30860] main playlist: playlist is empty
[0000000813617060] dvdnav demux: DVD Title: MATRIX_RELOADED_DISC_1
[0000000813617060] dvdnav demux: DVD Serial Number: 2EEE7BB6
[0000000813617060] dvdnav demux: DVD Title (Alternative): MATRIX_RELOADED_DISC_1
[0000000813617060] dvdnav demux: DVD disk reports itself with Region mask 0x00fe0000. Regions: 01
libdvdnav: Suspected RCE Region Protection!!!
[0000000813617060] dvdnav demux: Menu Languages available: ��
[0000000813617060] dvdnav demux: Menu Languages available: ��
[0000000813617060] dvdnav demux: Menu Languages available: ��
[0000000800d45760] main audio output error: too low audio sample frequency (0)
[00000008136f58e0] main decoder error: failed to create audio output
[0000000800d45760] main audio output error: Can't convert non linear input
[0000000818013060] main audio filter error: cannot add user audio filter "scaletempo" (skipped)
[0000000800d45760] main audio output error: Can't convert non linear input
[0000000800d45760] main audio output error: cannot setup filtering pipeline
[00000008136f58e0] main decoder error: failed to create audio output
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce2e0] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce2e0] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce2e0] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce2e0] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce2e0] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce2e0] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce9e0] chain filter error: Too high level of recursion (3)
[00000008140ce660] main filter error: Failed to create video converter
[00000008140ce2e0] main filter error: Failed to create video converter
[0000000814001560] main vout display error: Failed to create video converter
[0000000814001560] main vout display error: Failed to adapt decoder format to display
[0000000813c3a060] main video output error: video output creation failed
[00000008136f4e60] main decoder error: failed to create video output
[00000008136f4e60] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 535.104.05 Sat Aug 19 00:39:34 UTC 2023 for hardware decoding
Segmentation fault (core dumped)
 
Try to set the hardware acceleration to VA-API video decoder.
Unfortunately, the option is excluded now and cannot set.

See /usr/ports/multimedia/vlc/Makefile if you have ports tree in hand at default place. If not, see on official cgit.

At line 88, you would see below.
OPTIONS_EXCLUDE+= VAAPI # Not compatible until VLC 4
This means you cannot select VAAPI option on make config and VAAPI support cannot built, even if you had enabled it before. Saved VAAPI option is ignored.
 
I think it works for me because when I have changed from VDPAU to VAAPI,vlc restarted working. Anyway,I've installed vlc 3.0.20 from packages.
 
It seems that VLC accepted VA-API and it does not report errors on the terminal :

Screenshot_2023-12-15_13-20-41.jpg
 
vlc_screenshot-2023-12-16 06-52-01.png

The same configuration page (in Japanese) for me. Pull down is opened.
Only VDPAU is listed here as hardware acceleration method.
 
Generally, pkg info packagename will show you (among other things) which options a package was built with, for vlc that would be pkg info vlc.
 
An built version of libdvdcss is not allowed for distribution.
That would not have surprised me a few years ago. Much like LAME. They errored on the cautious side.
Easy enough to build even for pkg users.
Finally they caved:
Patents are a complicated topic, and their regulation varies depending on
jurisdiction. Patents are not necessarily related to the license and so
should not be connected to the license framework.

As a project we will officially remove all patent limitations within the
ports tree and leave it to the user or consumer to deal with their local
legislation to determine if they can use the software without legal
restrictions.
audio/lame

It looks like multimedia/libdvdcss needs a maintainer. There are no restrictions on it.
 
Reading the last comments I see that the focus of the discussion may have been lost. Why VD-PAU is not working. Or,after having installed "libdvdcss" it started to work ?
 
Back
Top