Creating graphical application with video

Hello,

I have to teach my sister how to create an application that can show
pictures
and small video files on a windows-based system and get some user input
in
return. Being able to work fullscreen is optional, but would be nice.

In short, I’m looking for an easy to use library set that comes with
video
capabilities enabled and that can handle user interaction as clear as
possible.

All suggestions (and examples) are welcome.

Greetings,
Geert.

On 6/26/06, Geert F. [email protected] wrote:

All suggestions (and examples) are welcome.
SDL can show images and videos but is not really a gui toolkit.
http://www.kmc.gr.jp/~ohai/rubysdl.en.html

ruby-gnome2 + gstreamer might work.
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Simple+Audio+Player

IMHO the easiest way to show pictures and videos would be
HTML plus JavaScript for interactivity.

But it’s harder to read and write to disk that way.

HTH,
Ilmari

On 6/26/06, Geert F. [email protected] wrote:

All suggestions (and examples) are welcome.

Greetings,
Geert.

It’s not Ruby, but Flex ( http://labs.adobe.com/flexproductline )
would be the best option. You could open a binary socket to a Ruby
back-end to get a DB or file access.

disk access is indeed necessary.

I’ve been experimenting with SDL and rubysdl yesterday and managed to
stream video, althought it was not very fluently (I think smpeg is used
in the precompiled Windows rubysdl package). Next, I found ffmpeg, which
also works in combination with SDL, which seems more mature and
performant than smpeg (correct me if I’m wrong), but only had the time
to try things in C++. Hopefully I can find a ready-made ruby interface
for SDL/ffmpeg (all suggestions are welcome ofcourse). The good thing is
that I could compile both SDL and ffmpeg using MinGW on a M$-machine.

Greetings,
Geert.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs