[FFmpeg-user] ffplay disables DPMS timeouts; How to enable? (e.g., for electricsheep)

Ted Pavlic ted at tedpavlic.com
Tue Sep 6 23:02:02 CEST 2011


RESOLVED on ffmpeg-devel list. Solution:

set SDL_VIDEO_ALLOW_SCREENSAVER environment variable to 1

[ FYI, a related problem in mplayer was due to a bug that was causing it
to ignore -nostop-xscreensaver. That problem should be fixed soon. ]

On 09/02/2011 04:29 PM, Ted Pavlic wrote:
> I've noticed that my DPMS timeouts are never triggered while
> electricsheep runs despite "xset q" showing that DPMS is enabled.
> Drilling down further, I see that running mplayer actually causes the
> problem. Moreover, ffplay causes the same problem.
> 
> If I'm playing a video with ffplay, how can I tell ffplay to *not*
> disable DPMS so that my screen will be blanked/etc. on schedule?
> 
> Thanks --
> Ted
> 

-- 
Ted Pavlic <ted at tedpavlic.com>


More information about the ffmpeg-user mailing list