[FFmpeg-devel] Question for dev's: Does ffplay disable DPMS timeouts? "xset q" looks good, but timeouts never trigger

Michael Niedermayer michaelni at gmx.at
Tue Sep 6 21:03:41 CEST 2011


On Tue, Sep 06, 2011 at 02:06:22PM -0400, Ted Pavlic wrote:
> FFMpeg devs --
> 
> 	I'm sorry if this question doesn't belong here, but this seems to be
> something that most users are clueless about, and it appears like it
> might be linked to the FFMpeg library and not particular applications.
> 
> 	I've noticed that when ffplay (and mplayer, actually) is running, my
> monitors never turn off even though "xset q" shows that DPMS is enabled
> and timeouts are set correctly.
> 
> 	I did notice that I can "xset force dpms off" and the monitors stay off
> despite mplayer being up and running (forcing suspend or standby doesn't
> work; they pop back on). However, this trick doesn't work with ffplay.
> 
> 	If this behavior is by design, is there any way to disable it?
> Distributed computing screen savers like electricsheep use utilities
> like ffplay and mplayer to display AVI's as they are computed. Because
> they are screen savers, it would be nice if monitors would flip off on
> schedule.

Its a SDL "feature" it seems
you should be able to disable it by setting the
"SDL_VIDEO_ALLOW_SCREENSAVER" environment variable to 1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110906/a89e7ab7/attachment.asc>


More information about the ffmpeg-devel mailing list