我正在尝试运行 wmv 文件,并尝试了这里的一些建议,但没有任何成功。我已经vlc
和ubuntu-restricted-extras
。我还做了purge
,autoremove
并重新做了install
它们。
这就是我得到的。
~/Downloads$ vlc test_wmv.wmv
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x1260058] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
"sni-qt/11611" WARN 08:10:57.390 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
libva info: VA-API version 0.35.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: va_openDriver() returns -1
[0x7f24d0c5da78] vaapi generic error: Failed to initialize the VAAPI device
libva info: VA-API version 0.35.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: va_openDriver() returns -1
[0x7f24d0c6aeb8] vaapi generic error: Failed to initialize the VAAPI device
libva info: VA-API version 0.35.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: va_openDriver() returns -1
[0x7f24c8000958] vaapi generic error: Failed to initialize the VAAPI device
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7f24c0001248] main vout display error: Failed to resize display
[0x7f24d80009b8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
[0x7f24d80009b8] main input error: ES_OUT_RESET_PCR called
[wmv3 @ 0x7f24d0c58ee0] warning: first frame is no keyframe
Segmentation fault (core dumped)
答案1
快速浏览一下VLC 维基揭示了以下内容:
在现代 Ubuntu 发行版上,首先安装硬件支持(包 i965-va-driver、libva-intel-vaapi-driver 和 vainfo),然后在“首选项”->“输入和编解码器”中激活 GPU 硬件加速。
安装终端命令:sudo apt-get install i965-va-driver libva-intel-vaapi-driver vainfo
支持以下视频编解码器:MPEG-1、MPEG-2、MPEG-4 Visual、WMV3、VC-1 和 H.264(MPEG-4 AVC)。