Smpeg

Hi All,

Does anyone know if and where I can download SMPEG as a zip or tar file?

Thank you,

Andre de Leiradella
http://www.geocities.com/andre_leiradella/

I noticed the other day, that SMPEG’s website only links to CVS. :^)

I found it kinda odd…

-bill!
bill at newbreedsoftware.com Got kids? Get Tux Paint!
http://newbreedsoftware.com/bill/ http://newbreedsoftware.com/tuxpaint/On Mon, Dec 15, 2003 at 09:54:13AM -0200, Andre de Leiradella wrote:

Hi All,

Does anyone know if and where I can download SMPEG as a zip or tar file?

hi,

I’m trying smpeg library, right now I can play mpg files
in the main surface (screen), it is possible to make a new
surface and make the playback on it, but I can’t do it, I’m
creating the surface with sdl_creatergbsurface, but there’s
no output at all, I think that maybe is the update function
(based on the plaympeg example code that cames with the
smpeg library), has anyone try it? it’ll be great to have a look
at some code, cause the library dosen’t have any documentation
:frowning:

thanx for you time…

I had a similar problem with a surface which was created with the
OpenGL-bit enabled: SMPEG showed no output at all. Maybe you’re doing
the same?

HTH

Marc

paco wrote:> hi,

I’m trying smpeg library, right now I can play mpg files
in the main surface (screen), it is possible to make a new
surface and make the playback on it, but I can’t do it, I’m
creating the surface with sdl_creatergbsurface, but there’s
no output at all, I think that maybe is the update function
(based on the plaympeg example code that cames with the
smpeg library), has anyone try it? it’ll be great to have a look
at some code, cause the library dosen’t have any documentation
:frowning:

thanx for you time…


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

no, I’m not using OpenGL, the smpeg library comes with two examples
glmovie and plaympeg, as far as I know, plaympeg don’t use any opengl,
but know that you mention it, it’s possible, the code in glmovie looks
like what I’m trying to do… (use a different surface), I have no
experience in opengl… could someone guide me to the installation
process? (right know glmovie show’s no output at all (but it loops for a
while displaying a black window, just as long as the movie size), so it
most be playing it…

how can I install opengl? I have two pcs here, a nvidia and a intel 810…

thanx for you time

M.A. Oude Kotte wrote:> I had a similar problem with a surface which was created with the

OpenGL-bit enabled: SMPEG showed no output at all. Maybe you’re doing
the same?

HTH

Marc

paco wrote:

hi,

I’m trying smpeg library, right now I can play mpg files
in the main surface (screen), it is possible to make a new
surface and make the playback on it, but I can’t do it, I’m
creating the surface with sdl_creatergbsurface, but there’s
no output at all, I think that maybe is the update function
(based on the plaympeg example code that cames with the
smpeg library), has anyone try it? it’ll be great to have a look
at some code, cause the library dosen’t have any documentation
:frowning:

thanx for you time…


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

As far as I know, if you have Visual Studio 6 or .NET, the OpenGL
libraries should already be installed with the both. Otherwise, you’d
have to find the libraries somewhere. Try http://www.opengl.org/

For quick OpenGL tutorials, you could check out NeHe
http://nehe.gamedev.net/ Those tutorials aren’t half bad. :wink:

If you want to learn OpenGL, I would recommend picking up some books on
it. I have OpenGL Game Programming, and I rifle through it often enough.
It’s a decent book.

Hope that helps a little.

Kevin> ----- Original Message -----

From: sdl-admin@libsdl.org [mailto:sdl-admin at libsdl.org] On Behalf Of
paco
Sent: Tuesday, February 17, 2004 7:04 PM
To: sdl at libsdl.org
Subject: Re: [SDL] SMPEG

no, I’m not using OpenGL, the smpeg library comes with two examples
glmovie and plaympeg, as far as I know, plaympeg don’t use any opengl,
but know that you mention it, it’s possible, the code in glmovie looks
like what I’m trying to do… (use a different surface), I have no
experience in opengl… could someone guide me to the installation
process? (right know glmovie show’s no output at all (but it loops for a

while displaying a black window, just as long as the movie size), so it
most be playing it…

how can I install opengl? I have two pcs here, a nvidia and a intel
810…

thanx for you time

M.A. Oude Kotte wrote:

I had a similar problem with a surface which was created with the
OpenGL-bit enabled: SMPEG showed no output at all. Maybe you’re doing
the same?

HTH

Marc

paco wrote:

hi,

I’m trying smpeg library, right now I can play mpg files
in the main surface (screen), it is possible to make a new
surface and make the playback on it, but I can’t do it, I’m
creating the surface with sdl_creatergbsurface, but there’s
no output at all, I think that maybe is the update function
(based on the plaympeg example code that cames with the
smpeg library), has anyone try it? it’ll be great to have a look
at some code, cause the library dosen’t have any documentation
:frowning:

thanx for you time…


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hello !

I found the following in the README.SDL_mixer in the SMPEG CVS :

"There is no longer explicit support for the SDL_mixer library.

You can have the SDL mixer library mix audio
from a movie by hooking into
the SDL mixer music hooks:"

What does this mean exactly ?

Is it not possible to compile SDL_mixer with SMPEG support ?
Do i always have to compile it using something like --enable-music-mp3=no ?

CU

Hello!

I am running SDL 1.2.8 with OpenGL 1.1 on WinXP. I open a
non-fullscreen window and then immediately call glViewport. However,
when I render the scene there is a small (2 or 3 pixel) black band along
the top and right hand sides of the client area of the window. If I
begin in fullscreen mode this band does not appear. If I begin
windowed, switch to fullscreen, and then switch back the band is gone.
the only time I call glViewport is at the moment I create the window.
I tried setting the glClearColor to bright red and erasing the buffer
immediately after setting the viewport and the band does show up red.
…and yet the image I am drawing ever touch the edges again.
My next thought was to 2x check the projection matrix which is only
updated immediately following a change in the viewport. I always set
glMatrixMode( GL_PROJECTION );
glLoadIdentity();
glOrtho(-320.0f,320.0f,-240.0f,240.0f,-1,1);
and the window can only be sizes with a 4/3 ratio like 800x600, 640x480,
1024x768, etc.

Does anyone have any thoughts? (other than “don’t run in windowed
mode”) I’ve run out of ideas.

Thank you in advance,–

Dan “Aggrav8d” Royer
CEO / Lead Programmer
Marginally Clever Games

Dan Royer wrote:

Hello!

I am running SDL 1.2.8 with OpenGL 1.1 on WinXP. I open a
non-fullscreen window and then immediately call glViewport. However,
when I render the scene there is a small (2 or 3 pixel) black band
along the top and right hand sides of the client area of the window.
If I begin in fullscreen mode this band does not appear. If I begin
windowed, switch to fullscreen, and then switch back the band is
gone. the only time I call glViewport is at the moment I create the
window.
I tried setting the glClearColor to bright red and erasing the buffer
immediately after setting the viewport and the band does show up red.
…and yet the image I am drawing ever touch the edges again.
My next thought was to 2x check the projection matrix which is only
updated immediately following a change in the viewport. I always set
glMatrixMode( GL_PROJECTION );
glLoadIdentity();
glOrtho(-320.0f,320.0f,-240.0f,240.0f,-1,1);
and the window can only be sizes with a 4/3 ratio like 800x600,
640x480, 1024x768, etc.

Does anyone have any thoughts? (other than “don’t run in windowed
mode”) I’ve run out of ideas.

You might want to show some code reproducing your problem.

Stephane