我覺得,如果不寫下來,多半又會忘記。
如果有人裝了debian linux stretch,
而且也是使用nvidia的GPU,
也裝了x264套件,
也裝了ffmpeg,
然後不管用什麼播放器就是無法播放h.264影片.....
而且,使用firefox也無法播放facebook上的影片.....
這時候,可以開一下console, 然後輸入:
vdpauinfo
如果的到回應是:
vdpauinfo: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No such file or directory
這時候,請去把套件libvdpau1裝起來。
之後在執行:
vdpauinfo
應該就會得到以下回應:
display: :0.0 screen: 0
Error creating VDPAU device: 1
如此一來,就可以恢復播放h.264影片的能力了。
ps:
VDPAU (Video Decode and Presentation API for Unix) is an open source library (libvdpau) and API designed by NVIDIA originally for its GeForce 8 series and later GPU hardware, targeted at the X Window System on Unix operating-systems (including Linux, FreeBSD, and Solaris). This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.
如果有人裝了debian linux stretch,
而且也是使用nvidia的GPU,
也裝了x264套件,
也裝了ffmpeg,
然後不管用什麼播放器就是無法播放h.264影片.....
而且,使用firefox也無法播放facebook上的影片.....
這時候,可以開一下console, 然後輸入:
vdpauinfo
如果的到回應是:
vdpauinfo: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No such file or directory
這時候,請去把套件libvdpau1裝起來。
之後在執行:
vdpauinfo
應該就會得到以下回應:
display: :0.0 screen: 0
Error creating VDPAU device: 1
如此一來,就可以恢復播放h.264影片的能力了。
ps:
VDPAU (Video Decode and Presentation API for Unix) is an open source library (libvdpau) and API designed by NVIDIA originally for its GeForce 8 series and later GPU hardware, targeted at the X Window System on Unix operating-systems (including Linux, FreeBSD, and Solaris). This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.
留言