英特尔VAAPI:无法在VLC上播放MKV


8

我可以找到为什么我无法使用vlc播放任何mkv文件的原因,似乎出现绘图错误,是否存在解决方法或其他问题?我有擎天柱(intel + nvidia),并且我与最近的nvidia驱动程序358使用大黄蜂。

VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000001686148] core libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
[00007f5994c75a08] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding.
[00007f59986dbea8] adjust filter error: Unsupported input chroma (VDV0)
[00007f59986dd2a8] sharpen filter error: Unsupported chroma (VDV0)
[00007f59986dd2a8] vdpau_sharpen filter error: sharpening/blurring not supported by VDPAU device
[00007f598803c038] core video output error: Failed to create video filter2 'sharpen'
[00007f598803c038] core video output error: Failed to add filter 'sharpen'
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC Y -> VDP_YCBCR_FORMAT_YV12
[00007f59985cc008] vdpau_chroma filter error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC Y -> VDP_YCBCR_FORMAT_YV12
[00007f59985cc008] vdpau_chroma filter error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC Y -> VDP_YCBCR_FORMAT_YV12

Answers:


15

好的,我根据https://bbs.archlinux.org/viewtopic.php?id=199749要做的就是用vlc --avcodec-hw=vaapi或更改“编解码器”中的vlc设置来启动vlc,然后通过x11而不是vdpau选择vaapi。


2
感谢这篇文章!您可以通过编辑~/.config/vlc/vlcrc文件和设置使此设置永久生效avcodec-hw=vaapi
Tony Mancill '16

我发现使用此开关使视频再次可见时,它不会从原始视频大小放大到显示器的大小。
安德鲁

1

如果您希望系统清洁,也可以删除vdpau驱动程序(程序包看起来像vdpau-driver-all:amd64和mesa-vdpau-drivers:amd64)。这将强制使用VAAPI。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.