You are not logged in.

#1 2014-03-18 13:41:25

nem
Member
Registered: 2009-12-15
Posts: 46

[Solved] mpv vs. mplayer --rootwin

hej,

is there a way to use mpv like mplayer with the --rootwin option to play videos on the rootwindow (for animated backgrounds)?
couldn't find any help in the man-file of mpv.

regards,
nem

Last edited by nem (2014-03-18 18:35:30)

Offline

#2 2014-03-18 17:00:30

sekret
Member
Registered: 2013-07-22
Posts: 308

Re: [Solved] mpv vs. mplayer --rootwin

It's possible that this functionality was removed. It's best if you ask on their irc channel. They are very polite (at least they were when I had a question a few months ago), so give it a try, come back here and tell us about it.

Offline

#3 2014-03-18 18:34:47

nem
Member
Registered: 2009-12-15
Posts: 46

Re: [Solved] mpv vs. mplayer --rootwin

thanks for pointing that out. very friendly people indeed!

solution:
mpv --wid=0 file.mp4

handing over window-id zero is hardcoded so that mpv draws to the rootwindow. that's the direct analogue to mplayer --rootwin.

regards,
nem

edit: also added a wiki-entry: Drawing to root window

Last edited by nem (2014-03-18 18:52:34)

Offline

#4 2014-03-18 22:22:57

sekret
Member
Registered: 2013-07-22
Posts: 308

Re: [Solved] mpv vs. mplayer --rootwin

Perfect! Thanks for sharing!

Offline

Board footer

Powered by FluxBB