Originally Posted by
SeijiSensei
For the first output I posted, I forgot to force VDPAU so it used OpenGL instead. But here I forced hardware decoding, and it still worked.
....
VO: [vdpau] 718x480 => 718x527 yuv420p
That's not 10bit output & you're not doing hwdec. -vo=vdpau has nothing to do with hwdec
The command should be --hwdec=vdpau or --hwdec= or hwdec=yes
(- here in mpv.conf I just use this
hwdec=
As example of successful vdpau hwdec ( I generally just use opengl as the vo
Code:
mpv --hwdec= /home/doug/Videos/amostviolentyear-nowplaying_h1080p.mkv
Playing: /home/doug/Videos/amostviolentyear-nowplaying_h1080p.mkv
(+) Video --vid=1 (*) (h264 1920x816 23.000fps)
(+) Audio --aid=1 (*) (mp3 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch s16
Using hardware decoding (vdpau).
VO: [opengl] 1920x816 vdpau[yuv420p]
AV: 00:00:02 / 00:00:31 (8%) A-V: 0.000
Or lets say I wanted to use cuda, it must be specified or vdpau will be used. cuda only works with opengl
Code:
mpv --hwdec=cuda /home/doug/Videos/amostviolentyear-nowplaying_h1080p.mkv
Playing: /home/doug/Videos/amostviolentyear-nowplaying_h1080p.mkv
(+) Video --vid=1 (*) (h264 1920x816 23.000fps)
(+) Audio --aid=1 (*) (mp3 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch s16
Using hardware decoding (cuda).
VO: [opengl] 1920x816 cuda[nv12]
AV: 00:00:01 / 00:00:31 (5%) A-V: 0.000
or for wmv I think a --vo of vdpau is better, that's set in my mpv.conf under [extension.wmv] & hwdec is also enabled in the .conf's general section so -
Code:
$ mpv /home/doug/Videos/Amazon_720.wmv
Auto-loading profile 'extension.wmv'
Playing: /home/doug/Videos/Amazon_720.wmv
(+) Video --vid=1 (wmv3 1280x720 23.976fps)
(+) Audio --aid=1 --alang=eng (wmapro 6ch 48000Hz)
AO: [pulse] 48000Hz 5.1 6ch float
Using hardware decoding (vdpau).
VO: [vdpau] 1280x720 vdpau[yuv420p]
[vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate
AV: 00:00:14 / 00:01:42 (13%) A-V: 0.000.
What you could also do is check vdpauinfo for what your card supports
Also what's quite useful is to add this to ~/.config/mpv/mpv.conf
Then everytime mpv is run, (either standalone or thru a front-end) it will create a log in home folder, it's just an over-write so the log is just showing last time used. Read thru that for greater detail.
Bookmarks