[Gambas-user] saving picturebox as video
Steven James Drinnan
steven at ...2097...
Sat Oct 17 09:30:27 CEST 2009
You could use ffmpeg
the cmd is ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg
This would make the files img1.jpg img2.jpg .... into a mpg video.
But it would mean writing each image to a dir on the disc ie pic01.jpg
pic02.jpg ....
Then once you press a stop button then you run the cmd above.
But writing the images to disk would drop the frame rate.
I hope that is clear.
On Sat, 2009-10-17 at 01:13 +0200, Hartmut Eilers wrote:
> Hi all,
>
> I'm currently writing an application where I have the
> output of a webcam in a picturebox. After modifying
> the picturebox with overlayed text and graphics, I want
> to save the contents of this picturebox in any video
> format. ( avi, mpg, ogg whatever )
> How can that be done ? Can anybody give me hints
> how to write the picturebox to a video file or how to
> stream the picturebox over the network and receive it with
> programs like vlc ?
>
> Any help appreciated
> Thanks
> Hartmut
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20091017/4db76e57/attachment.sig>
More information about the User
mailing list