mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Does not work "-vo wayland"

Open gfvehlhg opened this issue 10 years ago β€’ 5 comments

Does not work output through wayland on ArchLinux.

$ mpv -V
mpv 0.16.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
 built on Mon Feb 29 16:27:06 CET 2016
ffmpeg library versions:
   libavutil       55.17.103
   libavcodec      57.24.102
   libavformat     57.25.100
   libswscale      4.0.100
   libavfilter     6.31.100
   libswresample   2.0.101
ffmpeg version: 3.0

gfvehlhg avatar Mar 08 '16 18:03 gfvehlhg

How did you compile it? Or did you compile it yourself? What is the output when you actually try to use --vo=wayland ?

My guess is that wayland just isn't enabled in your build.

kevmitch avatar Mar 08 '16 20:03 kevmitch

The package from the repository. The window does not appear, but there is sound.

$ mpv "/home/maks/The.Martian.2015_720p_BDRip.mkv" -vo wayland
Playing: /home/maks/The.Martian.2015_720p_BDRip.mkv
 (+) Video --vid=1 (*) 'The Martian 2015' (h264)
 (+) Audio --aid=1 --alang=rus (*) 'ДубляТ - ЛицСнзия' (ac3)
 (+) Subs  --sid=1 --slang=rus (*) 'РусскиС, форсированныС' (subrip)
     Subs  --sid=2 --slang=rus 'РусскиС, ΠΏΠΎΠ»Π½Ρ‹Π΅' (subrip)
     Subs  --sid=3 --slang=eng 'ΠžΡ€ΠΈΠ³ΠΈΠ½Π°Π»' (subrip)
VO does not support requested hardware decoder, or loading it failed.
AO: [alsa] 48000Hz stereo 2ch float
Using software decoding.
VO: [wayland] 1280x534 yuv420p
AV: 00:00:04 / 02:21:37 (0%) A-V: -0.000
$ mpv "/home/maks/Π—Π°Π³Ρ€ΡƒΠ·ΠΊΠΈ/The.Martian.2015_720p_BDRip.mkv" -vo wayland -hwdec no
Playing: /home/maks/Π—Π°Π³Ρ€ΡƒΠ·ΠΊΠΈ/The.Martian.2015_720p_BDRip.mkv
 (+) Video --vid=1 (*) 'The Martian 2015' (h264)
 (+) Audio --aid=1 --alang=rus (*) 'ДубляТ - ЛицСнзия' (ac3)
 (+) Subs  --sid=1 --slang=rus (*) 'РусскиС, форсированныС' (subrip)
     Subs  --sid=2 --slang=rus 'РусскиС, ΠΏΠΎΠ»Π½Ρ‹Π΅' (subrip)
     Subs  --sid=3 --slang=eng 'ΠžΡ€ΠΈΠ³ΠΈΠ½Π°Π»' (subrip)
AO: [alsa] 48000Hz stereo 2ch float
VO: [wayland] 1280x534 yuv420p
AV: 00:00:02 / 02:21:37 (0%) A-V:  0.000

Have compiled the git version, doesn't work -vo wayland http://pastebin.com/s8HU3zAA

gfvehlhg avatar Mar 09 '16 02:03 gfvehlhg

Do you have autofit options in your config? try to comment them. is it working after?

ksimuk avatar Mar 24 '16 19:03 ksimuk

I compile git version - yes, now works. However, the launch 4K VP9 (software rendering), at 260% CPU load (command top), resize the window - now 340% load. Can transfer scaling to the compositor? When -vo opengl is similar, but the video is not laggy, the CPU load is the same.

gfvehlhg avatar Mar 29 '16 03:03 gfvehlhg

Can transfer scaling to the compositor?

No, use vo_opengl.

When -vo opengl is similar, but the video is not laggy, the CPU load is the same.

Then what the heck is the problem?

ghost avatar Mar 29 '16 08:03 ghost