[Gambas-user] saving picturebox as video

Steven James Drinnan steven at ...2097...
Thu Oct 22 02:30:31 CEST 2009


I can't really think of a way directly in gambas.

I would just use vlc to stream the file that the program creates. 


Any one else got any ideas?




On Thu, 2009-10-22 at 00:29 +0200, Hartmut Eilers wrote:
> Hi Stephen,
> 
> thanks for your answer. I do it the way you suggested.
> In the moment I use mencoder to generate the video from the
> images, but I will test ffmpeg asap.
> 
> Any ideas out there how to stream the images as video ?
> 
> Thanks for your help
> Regards
> Hartmut
> 
> >Date: Sat, 17 Oct 2009 15:30:27 +0800
> >From: Steven James Drinnan <steven at ...2097...>
> >Subject: Re: [Gambas-user] saving picturebox as video
> >To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> >Message-ID: <1255764627.3635.9.camel at ...2273...>
> >Content-Type: text/plain; charset="us-ascii"
> >
> >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.
> 
> 
> 
> 2009/10/17 Hartmut Eilers <hartmut at ...2307...>:
> > 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/20091022/d1bfa533/attachment.sig>


More information about the User mailing list