将 ubuntu 22.04 升级到 22.10 后无法观看任何 mp4 文件或任何流媒体视频(如 youtube):无法打开 VDPAU 后端 libvdpau_nvidia.so

将 ubuntu 22.04 升级到 22.10 后无法观看任何 mp4 文件或任何流媒体视频(如 youtube):无法打开 VDPAU 后端 libvdpau_nvidia.so

你好,

我刚刚将 Ubuntu 22.04 升级到 22.10。除了 Firefox、mplayer 和我想是属于某些未正确安装或重新安装的库或组件的其他 mp4 播放器之外,一切似乎都运行良好。下面您可以看到我在升级后的 ubuntu 22.10 上看到的错误。事实上,我已经从头安装了 ubuntu 22.10,我看到了这些错误,但我可以毫无问题地播放 mp4 视频。但如果我将 ubuntu 22.04 升级到 22.10,视频流不会自动流动。所以,我猜升级过程中出现了一些问题。在 ubuntu 22.10(从 22.04 升级)上,ffmpeg 和 ubuntu-restricted-extras 包已经安装。我可以使用 vlc 毫无问题地播放 mp4 文件,但不能用 mplayer 播放...

这也是我尝试做的:

#dpkg-reconfigure libdvd-pkg

libdvd-pkg: Downloading orig source...
I: libdvdcss_1.4.3
/usr/bin/wget --tries=3 --timeout=40 --read-timeout=40 --continue -O libdvdcss_1.4.3.orig.tar.bz2 \
**********https://download.videolan.org/pub/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2 \
********|| /usr/bin/uscan --noconf --verbose --rename --destdir=/usr/src/libdvd-pkg --check-dirname-level=0 --force-download --download-current-version /usr/share/libdvd-pkg/debian
--2022-11-08 12:35:23-- https://download.videolan.org/pub/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2
Risoluzione di download.videolan.org (download.videolan.org)... 213.36.253.2, 2a01:e0d:1:3:58bf:fa02:c0de:5
Connessione a download.videolan.org (download.videolan.org)|213.36.253.2|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 388404 (379K) [application/octet-stream]
Salvataggio in: ‘libdvdcss_1.4.3.orig.tar.bz2’

libdvdcss_1.4.3.orig.tar 100%[==================================>] 379.30K --.-KB/s in 0.1s

2022-11-08 12:35:23 (3.09 MB/s) - ‘libdvdcss_1.4.3.orig.tar.bz2’ salvato [388404/388404]

libdvd-pkg: Checking orig.tar integrity...
/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
libdvd-pkg: Unpacking and configuring...
libdvd-pkg: Building the package... (it may take a while)
libdvd-pkg: Build log will be saved to /usr/src/libdvd-pkg/libdvdcss2_1.4.3-1~local_amd64.build
Current: =ep
Bounding set =cap_chown,cap_dac_override,cap_fowner,cap_wake_alarm,cap_block_suspend,cap_audit_read,cap_perfmon,cap_bpf,cap_checkpoint_restore
Ambient set =
Current IAB: !cap_dac_read_search,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog
Securebits: 024/0x14/5'b10100
*secure-noroot: no (unlocked)
*secure-no-suid-fixup: yes (unlocked)
*secure-keep-caps: yes (unlocked)
*secure-no-ambient-raise: no (unlocked)
uid=0(root) euid=0(root)
gid=0(root)
groups=0(root),107(input),108(kvm),139(libvirt)
Guessed mode: UNCERTAIN (0)
libdvd-pkg: Installing...
Selezionato il pacchetto libdvdcss-dev:amd64 non precedentemente selezionato.
(Lettura del database... 818121 file e directory attualmente installati.)
Preparativi per estrarre .../libdvdcss-dev_1.4.3-1~local_amd64.deb...
Estrazione di libdvdcss-dev:amd64 (1.4.3-1~local)...
Selezionato il pacchetto libdvdcss2:amd64 non precedentemente selezionato.
Preparativi per estrarre .../libdvdcss2_1.4.3-1~local_amd64.deb...
Estrazione di libdvdcss2:amd64 (1.4.3-1~local)...
Configurazione di libdvdcss2:amd64 (1.4.3-1~local)...
Configurazione di libdvdcss-dev:amd64 (1.4.3-1~local)...
Elaborazione dei trigger per libc-bin (2.36-0ubuntu4)...

此时我看到一个不同的错误:

/usr/bin/mpv:加载共享库时出错。libsixel.so.1:无法共享对象文件:没有此文件或目录……

目前我确信这不是 Firefox 独有的错误,因为当我尝试使用 VLC 以外的其他播放器打开任何 mp4 文件时,视频流根本不流动。我应该多次按下停止并播放来移动视频流。

更新 :

我已经修复了缺少库的问题,我认为现在真正的问题出现了:

# mplayer video.mp4

MPlayer 1.4 (Debian), built with gcc-12 (C) 2000-2019 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing video.mp4.
libavformat version 59.27.100 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa55868ad00]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  720x544  24bpp  23.976 fps  1172.0 kbps (143.1 kbyte/s)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 59.37.100 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf59.20.101
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[aac @ 0x7fa557c0bea0]Multiple frames in a packet.
AUDIO: 48000 Hz, 2 ch, floatle, 129.5 kbit/4.22% (ratio: 16190->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
[aac @ 0x7fa557c0bea0]channel element 0.0 duplicate
Movie-Aspect is 1.32:1 - prescaling to correct movie aspect.
VO: [x11] 720x544 => 720x544 Planar YV12 
[swscaler @ 0x7fa5587b5f20]bicubic scaler, from yuv420p to bgra using MMXEXT
[swscaler @ 0x7fa5587b5f20]using unscaled yuv420p -> bgra special converter
A:   0.2 V:   0.3 A-V: -0.105 ct: -0.015   0/  0 ??% ??% ??,?% 1 0 
Capturing not enabled (forgot -capture parameter?)
A:   0.2 V:   0.3 A-V: -0.105 ct: -0.015   0/  0 ??% ??% ??,?% 1 0 


MPlayer interrupted by signal 2 in module: sleep_timer
A:   0.2 V:   0.3 A-V: -0.105 ct: -0.015   0/  0 ??% ??% ??,?% 1 0 

Exiting... (Quit)

相关内容