mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

disable screensaver #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
I expected the screensaver not to run when I am playing a film

What version of the product are you using? On what operating system?
gnome-mplayer 0.7.0 on Debian GNU/Linux

thank you very much 

Original issue reported on code.google.com by david.ho...@gmail.com on 28 Sep 2008 at 10:29

GoogleCodeExporter commented 8 years ago
The gnome-screensaver is disabled by gnome-mplayer, Is there another screen 
saver you
are using? The application is telling gnome-screensaver to inhibit operation 
while a
video is playing. Also, mplayer disables the xscreensaver. 

Original comment by kdeko...@gmail.com on 28 Sep 2008 at 7:42

GoogleCodeExporter commented 8 years ago
Mmmm... I'm using xscreensaver. Mplayer (gmplayer) disables it but not 
gnome-mplayer. 

I have compiled it from the source for debian etch. I don't know if it is a 
library
version issue.

Original comment by david.ho...@gmail.com on 28 Sep 2008 at 11:09

GoogleCodeExporter commented 8 years ago
try adding

stop-xscreensaver=1 to the ~/.mplayer/config file in the gnome-mplayer section. 
I
think that will help.

Original comment by kdeko...@gmail.com on 29 Sep 2008 at 1:11

GoogleCodeExporter commented 8 years ago
It doesn't works. Here the log (some items in spanish):

tuko@casiopea:~$ gnome-mplayer -v
GNOME MPlayer v0.7.0
PCM Range is 0 to 255
PCM Volume is 87,450981
Using volume of 87,45
vo = (null) ao = (null)
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Using match: type='signal',interface='org.gnome.SettingsDaemon.MediaKeys'
Proxy connections and Command connected
playlist detection = 0
playing - /home/tuko/Desktop/1222901520525.flv
Spawn succeeded for filename /home/tuko/Desktop/1222901520525.flv
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz (Family: 6, Model: 15, 
Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
ERROR: Option msglevel: Unknown suboption 5
Compilado para CPU x86 con extensiones: MMX MMX2 SSE SSE2
ERROR: Warning unknown option msglevel at line 13
ERROR: /usr/share/fonts/truetype/openoffice/opens___.ttf doesn't look like a 
bitmap
font description, ignoring.
ERROR: No se pudo cargar typografía: 
/usr/share/fonts/truetype/openoffice/opens___.ttf.
Reproduciendo /home/tuko/Desktop/1222901520525.flv.
Llenando cache:  0.40% (8192 bytes)
Detectado formato de archivo libavformat.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  624x468  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=/home/tuko/Desktop/1222901520525.flv
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=FLV1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=624
ID_VIDEO_HEIGHT=468
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=96000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=2191.84
[ass] auto-open
Abriendo filtro de video: [screenshot]
[ass] Inicialización
[ass] Actualizando la caché de la fuente.
==========================================================================
Abriendo decodificador de video: [ffmpeg] FFmpeg's libavcodec codec family.
Video codec seleccionado: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
ID_VIDEO_CODEC=ffflv
==========================================================================
Abriendo decodificador de audio: [mp3lib] MPEG layer-2, layer-3.
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
ID_AUDIO_BITRATE=96000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Audio codec seleccionado: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO ESD] latencia: [servidor: 0.28s, red: 0.00s] (ajuste 0.28s)
AO: [esd] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Comenzando la reproducción...
VDec: vo solicitud de config - 624 x 468 (csp preferida: Planar YV12).
VDec: usando Planar YV12 como salida csp (no 0)
Aspecto de película no es definido - no se ha aplicado prescalado.
[swscaler @ 0xd3f8f0]SwScaler: using unscaled yuv420p -> bgr24 special 
converterVO:
[xv] 624x468 => 624x468 Planar YV12
Resizing to 624 x 468
Changing window size to 624 x 468
[Mixer] No se ecnontró mezclador de volumen por hardware, insertando filtro de 
volumen.

thank you

Original comment by david.ho...@gmail.com on 2 Oct 2008 at 10:08

GoogleCodeExporter commented 8 years ago
can you please post your ~/.mplayer/config file.

You also might try this from the mplayer man page..

echo 'heartbeat-cmd="xscreen-saver-command -deactivate &"' >> ~/.mplayer/config

Original comment by kdeko...@gmail.com on 2 Oct 2008 at 10:41

GoogleCodeExporter commented 8 years ago

[default]
# Write your default config options here!
ao=esd

[gnome-mplayer]
msglevel=5
stop-xscreensaver=1

Original comment by david.ho...@gmail.com on 3 Oct 2008 at 2:02

GoogleCodeExporter commented 8 years ago
any luck with the heartbeat-cmd option?

Original comment by kdeko...@gmail.com on 3 Oct 2008 at 2:16

GoogleCodeExporter commented 8 years ago
No, neither does it.

Original comment by david.ho...@gmail.com on 3 Oct 2008 at 6:56

GoogleCodeExporter commented 8 years ago
Well if none of those options disables the screensaver I'm out of ideas. Those 
are
straight from the mplayer man page. And I know it works with gnome-screensaver.

Original comment by kdeko...@gmail.com on 3 Oct 2008 at 7:20

GoogleCodeExporter commented 8 years ago
just to say i dont see this problem with xscreensaver under icewm or in 
gnome-screensaver

Original comment by Hairy.Pa...@gmail.com on 26 Oct 2008 at 12:39

GoogleCodeExporter commented 8 years ago
Any updates on this? Otherwise I will close the bug

Original comment by kdeko...@gmail.com on 5 Nov 2008 at 6:30

GoogleCodeExporter commented 8 years ago
Yes, I think you could close the bug.

May be a Debian patch problem because I downloaded and compiled Debian sources 
from
here [http://packages.qa.debian.org/g/gnome-mplayer.html]. Anyway, that sources 
are
from Debian unstable (Sid) and I compiled them for Debian stable (Etch).

Original comment by david.ho...@gmail.com on 6 Nov 2008 at 8:03

GoogleCodeExporter commented 8 years ago
Marking as 'WontFix' only because there was nothing to do.

Original comment by kdeko...@gmail.com on 6 Nov 2008 at 1:42

GoogleCodeExporter commented 8 years ago
lol

Original comment by mama21ma...@gmail.com on 3 Mar 2009 at 2:22

GoogleCodeExporter commented 8 years ago
sorry

Original comment by mama21ma...@gmail.com on 3 Mar 2009 at 2:23

GoogleCodeExporter commented 8 years ago
heartbeat-cmd="/usr/bin/xscreensaver-command -deactivate &"
<snip>
Resizing to 640 x 480 
Changing window size to 640 x 480 
xscreensaver-command: not active: idle timer reset.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this works

Original comment by weedy2...@gmail.com on 5 Apr 2009 at 4:44