[fxruby] components for Photo and audio input

View: New views
2 Messages — Rating Filter:   Alert me  

[fxruby] components for Photo and audio input

by Nataraj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I am using Fox16. I need to write a form which has usual
FX..Frame,FXButton ,FXTextField etc, also a component which will accept
photos and voice recordings. How do I go about this? Does my app need to
call programs like Gphoto ? If so can I import the gphoto and ffmpeg
outputs into my form?

My need is to capture input from a webcam and voice recorder via my input form.

regards

Nataraj S Narayan
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: [fxruby] components for Photo and audio input

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 02 June 2009, Nataraj S Narayan wrote:
> Hi
>
> I am using Fox16. I need to write a form which has usual
> FX..Frame,FXButton ,FXTextField etc, also a component which will accept
> photos and voice recordings. How do I go about this? Does my app need to
> call programs like Gphoto ? If so can I import the gphoto and ffmpeg
> outputs into my form?
>
> My need is to capture input from a webcam and voice recorder via my input form.

You may be able to use FXImageView or FXImageFrame, these display an image.

The mechanics of setting the image depend a little bit on where it comes
from.

My suggestion is to determine which way the image goes into the application
first.  Possibilities are from a file, via drag and drop, or maybe through
a communication socket?

Its difficult to answer the question without this info.  On the other hand,
reading images from streams [files, memory stream, etc] is probably the most
flexible.



        - Jeroen



--
+----------------------------------------------------------------------------+
| Copyright (C) 00:40 06/ 3/2009 Jeroen van der Zijp.   All Rights Reserved. |
+----------------------------------------------------------------------------+
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users