vlc 无法通过 vlc-wrapper 显示,但 cvlc 在 22.10 升级后可以工作

vlc 无法通过 vlc-wrapper 显示,但 cvlc 在 22.10 升级后可以工作

从 22.04 升级到 22.10 后,vlc-wrapper不再显示 DVD 视频内容(声音正常)。但是,奇怪的是,运行cvlc正常。

由于另一个软件要求,我使用的是 x11 而不是 wayland。我使用的是 NVidia 的 470 驱动程序集(与 22.04 相同),使用的是 Geforce 1030。

从 22.04 升级到 22.10 很顺利,其他一切都正常(包括基本的 opengl 检查)。我在网上搜索了一下,除了一个建议cvlc可能有效之外,没有其他建议。

错误信息表明我缺乏

$ vlc-wrapper Videos/some_mp4_file_recorded_on_my_phone.mp4 
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055c362a95550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fe8bc0049c0] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
[00007fe8bc0049c0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
[00007fe8b8098690] main video output error: video output creation failed
[00007fe8ccc7a220] main decoder error: failed to create video output
[00007fe8bc0049c0] gl gl: Initialized libplacebo v4.192.1 (API v192)
[00007fe8ccc7a220] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  470.161.03  Wed Oct 19 00:03:46 UTC 2022 for hardware decoding

cvlc 得到了

$ cvlc Videos/some_mp4_file_recorded_on_my_phone.mp4 
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000561a244132c0] dummy interface: using the dummy interface module...
[00007f4170004b10] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
[00007f4170004b10] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
[00007f4180001b40] main video output error: video output creation failed
[00007f4188c79d80] main decoder error: failed to create video output
[00007f4174001720] gl gl: Initialized libplacebo v4.192.1 (API v192)
[00007f4188c79d80] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  470.161.03  Wed Oct 19 00:03:46 UTC 2022 for hardware decoding

我对 package.ubuntu.com 的搜索相当熟悉,但却不知道/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so哪个包可以提供这个功能?

相关内容