GUI with video

Hello everyone!

I’m afraid I’m quite new to both Linux and C++, but
all the same I’m going to create a GUI.
No fancy at all, though it has to be able to show
images from 4 different cameras in realtime (25 fps).
As far as I understand SDL is a good choice for this
end?!?!
Or am I all wrong??! In that case, what to use?!?

I made a small program just to trie it out. Everything
seems ok when using SDL_LoadBMP. It’s just that I do
not want to fetch the images from a file. Is there a
way to load images from a char[] or equal!?!
An other thing is that I get jpg from the cameras…
is there a quick way to convert to BMP or a quick way
of displaying these directly!??!

And also is there a good simple and effective tool to
create GUI’s!?!?

Extreemly Thankfull for any type of answere, help, tip
or anything…

/Martin

PS (spelling is not my strong side… sorry…)_____________________________________________________
G? f?re i k?n och f? din sajt v?rderad p? nolltid med Yahoo! Express
Se mer p?: http://se.docs.yahoo.com/info/express/help/index.html

You need to use video overlays, that common video cards
does.

I don’t know if SDL implements this, but DirectX does.

Martin Holmgren wrote:> Hello everyone!

I’m afraid I’m quite new to both Linux and C++, but
all the same I’m going to create a GUI.
No fancy at all, though it has to be able to show
images from 4 different cameras in realtime (25 fps).
As far as I understand SDL is a good choice for this
end?!?!
Or am I all wrong??! In that case, what to use?!?

I made a small program just to trie it out. Everything
seems ok when using SDL_LoadBMP. It’s just that I do
not want to fetch the images from a file. Is there a
way to load images from a char[] or equal!?!
An other thing is that I get jpg from the cameras…
is there a quick way to convert to BMP or a quick way
of displaying these directly!??!

And also is there a good simple and effective tool to
create GUI’s!?!?

Extreemly Thankfull for any type of answere, help, tip
or anything…

/Martin

PS (spelling is not my strong side… sorry…)


G? f?re i k?n och f? din sajt v?rderad p? nolltid med Yahoo! Express
Se mer p?: http://se.docs.yahoo.com/info/express/help/index.html


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

Hello everyone!

I’m afraid I’m quite new to both Linux and C++, but
all the same I’m going to create a GUI.
No fancy at all, though it has to be able to show
images from 4 different cameras in realtime (25 fps).
As far as I understand SDL is a good choice for this
end?!?!
Or am I all wrong??! In that case, what to use?!?
I made a small program just to trie it out. Everything
seems ok when using SDL_LoadBMP. It’s just that I do
not want to fetch the images from a file. Is there a
way to load images from a char[] or equal!?!
An other thing is that I get jpg from the cameras…
is there a quick way to convert to BMP or a quick way
of displaying these directly!??!

You’re looking for SDL_RWops to load an image from memory rather than a
file. Take a look at this tutorial,
http://www.kekkai.org/roger/sdl/rwops/rwops.html

If you want to be loading jpeg, look at SDL_image:
http://www.libsdl.org/projects/SDL_image/
its docs are here
http://jcatki.no-ip.org/SDL_image/

SDL_image supports RWops, so you can use the two concepts together.

And also is there a good simple and effective tool to
create GUI’s!?!?

The most frequently suggested seems to be ParaGUI
http://www.paragui.org/

Extreemly Thankfull for any type of answere, help, tip
or anything…

Good luck.On Thu, 2003-07-03 at 09:15, Martin Holmgren wrote:

/Martin

PS (spelling is not my strong side… sorry…)


G? f?re i k?n och f? din sajt v?rderad p? nolltid med Yahoo! Express
Se mer p?: http://se.docs.yahoo.com/info/express/help/index.html


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


Jimmy <@Jimmy>
Jimmy’s World.org
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030703/621c624d/attachment.pgp

Okey thanks, but correct me if I’m wrong, isn’t
DirectX for windows only. I’m doing this in Red Hat
9…

— “Herbert G. Fischer”
skrev: > You need to use video overlays, that common
video> cards

does.

I don’t know if SDL implements this, but DirectX
does.

Martin Holmgren wrote:

Hello everyone!

I’m afraid I’m quite new to both Linux and C++,
but
all the same I’m going to create a GUI.
No fancy at all, though it has to be able to show
images from 4 different cameras in realtime (25
fps).
As far as I understand SDL is a good choice for
this
end?!?!
Or am I all wrong??! In that case, what to use?!?

I made a small program just to trie it out.
Everything
seems ok when using SDL_LoadBMP. It’s just that I
do
not want to fetch the images from a file. Is there
a
way to load images from a char[] or equal!?!
An other thing is that I get jpg from the
cameras…
is there a quick way to convert to BMP or a quick
way
of displaying these directly!??!

And also is there a good simple and effective tool
to
create GUI’s!?!?

Extreemly Thankfull for any type of answere, help,
tip
or anything…

/Martin

PS (spelling is not my strong side… sorry…)


G? f?re i k?n och f? din sajt v?rderad p? nolltid
med Yahoo! Express
Se mer p?:

http://se.docs.yahoo.com/info/express/help/index.html


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


G? f?re i k?n och f? din sajt v?rderad p? nolltid med Yahoo! Express
Se mer p?: http://se.docs.yahoo.com/info/express/help/index.html

I am just curious here; this is about the only tutorial on the entire
internet that I have found with reference to SDL_Rwops. It’s not on the
documentation site and it’s not listed anywhere else that I can see. Are
there other resources covering rwops available beyond this webpage? (ie.
what if it goes down :))
“Jimmy” wrote in message
news:mailman.1057242903.25615.sdl at libsdl.org

You’re looking for SDL_RWops to load an image from memory rather than a
file. Take a look at this tutorial,
http://www.kekkai.org/roger/sdl/rwops/rwops.html