Hi!
In the full screen mode playing of a video file with the smpeg-0.4.4
mpeg player, the mouse cursor is inactive in the sense that it is not
visible. Can anyone tell me how to activate it, i.e., make it visible.
regards,
pati
Hi!
In the full screen mode playing of a video file with the smpeg-0.4.4
mpeg player, the mouse cursor is inactive in the sense that it is not
visible. Can anyone tell me how to activate it, i.e., make it visible.
regards,
pati
Hi!
In the full screen mode playing of a video file with the smpeg-0.4.4
mpeg player, the mouse cursor is inactive in the sense that it is not
visible. Can anyone tell me how to activate it, i.e., make it visible.
(Why would you want to see the cursor if you’re in fullscreen mode?)
Look in SMPEG (or plaympeg?)'s source for SDL_ShowCursor(), and change the
parameter from 0 to 1.
I don’t imagine you can fix it from the command line; it’ll take a source
change (but I haven’t looked, so this is all just a horrible, but likely
accurate, assumption).
–ryan.
Hi!
Thanks a lot for the reply.
(Why would you want to see the cursor if you’re in fullscreen mode?)
I am trying to make some modifications to the source code (I am sorry
that I didn’t mention it explicitly in my first mail.). I want to use it
for some psychophysical experiments.
Look in SMPEG (or plaympeg?)'s source for SDL_ShowCursor(), and change the
parameter from 0 to 1.
This did make it work. But it moves only within the video display region
and not every where on the screen. How to handle that?
I don’t imagine you can fix it from the command line; it’ll take a source
change (but I haven’t looked, so this is all just a horrible, but likely
accurate, assumption).
–ryan.
with regards,
pati
I am trying to make some modifications to the source code (I am sorry
that I didn’t mention it explicitly in my first mail.). I want to use it
for some psychophysical experiments.
Interesting.
Look in SMPEG (or plaympeg?)'s source for SDL_ShowCursor(), and change the
parameter from 0 to 1.This did make it work. But it moves only within the video display region
and not every where on the screen. How to handle that?
SDL is faking a fullscreen mode. If you’ve got a movie that plays at
640x480, and your display can only do 1024x768, it’ll render the video in
a 640x480 rectangle, centered in a black border of 192 pixels on each side
and 144 pixels on the top and bottom.
I don’t think you can change this behaviour trivially.
Your options are either to get a fullscreen mode that fits the video
perfectly (removing the black border…you still can’t move the cursor
outside the video, but the video is the whole screen), or run the program
windowed, in which case you’ll have access to the rest of the desktop.
–ryan.
At 11:25 AM 9/17/2001 -0400, you wrote:
I am trying to make some modifications to the source code (I am sorry
that I didn’t mention it explicitly in my first mail.). I want to use it
for some psychophysical experiments.Interesting.
Look in SMPEG (or plaympeg?)'s source for SDL_ShowCursor(), and
change theparameter from 0 to 1.
This did make it work. But it moves only within the video display region
and not every where on the screen. How to handle that?SDL is faking a fullscreen mode. If you’ve got a movie that plays at
640x480, and your display can only do 1024x768, it’ll render the video in
a 640x480 rectangle, centered in a black border of 192 pixels on each side
and 144 pixels on the top and bottom.I don’t think you can change this behaviour trivially.
it is actually fairly simple to change this behavior … just use the
SMPEG_scaleXY() function
also for my program i passed an offscreen surface to smpeg for the video
playback and then blitted the contents of the ofscreen surface onto the
primary screen … this allows you to control exactly where the video
playback is rendered.>Your options are either to get a fullscreen mode that fits the video
perfectly (removing the black border…you still can’t move the cursor
outside the video, but the video is the whole screen), or run the program
windowed, in which case you’ll have access to the rest of the desktop.–ryan.
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
also for my program i passed an offscreen surface to smpeg for the video
playback and then blitted the contents of the ofscreen surface onto the
primary screen … this allows you to control exactly where the video
playback is rendered.
You can also specify the screen surface and a different target rectangle,
for the same effect.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment