[Gambas-user] saving picturebox as video
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Video Player example
Hallo List, for my Video project I need a video player which plays a video in a unvisible DrawingArea where I can grab a picture contolled by a timer. I want to show the grabbed image in a smaller preview window where one can apply effects. When pressing a button all effects should bei applied to the grabbed images in their original size and saved as a sequence of pictures. I did everything I can image, but I am not able to make the drawingarea invisible. Any ideas are highly welcome. regards Hartmut -- Hartmut Eilers Dorffer Str. 53 http://www.eilers.net 52076 Aachen 01522/1656914 -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] saving picturebox as video
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 >Subject: Re: [Gambas-user] saving picturebox as video >To: mailing list for gambas users >Message-ID: <1255764627.3635.9.ca...@mylaptop.myhome> >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 : > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Video Player example
Hallo List, I didn't know, that the attachments are scrubbed. at least in the digest. so here is the screenshot of my video app for live recordings from 2 cams. http://www.eilers.net/tmp/VideoPlayerProblem2.png regards 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Video Player example
Hallo List, > >> for my Video project I need a video player which plays a video > >> in a unvisible DrawingArea where I can grab a picture contolled > >> by a timer. I want to show the grabbed image in a smaller preview > >> window where one can apply effects. When pressing a button all > >>effects should bei applied to the grabbed images in their original size > >> and saved as a sequence of pictures. > @Ron_1st >The dummy control i.e. a frame/panel should be on top of the DrawingArea. >Resize it in code to the dimension of the DrawingArea. >I'have don this to and should work. >Just one question, the drawing you use is it a mplayer screen? >The same way as the movieplayer from the gambas example kit? >If so then it can be the reason why it is not working now. >One other method I think about is position the DrawingArea.left >and DrawingArea.top at negative position on the form or make >the left and/or top greater so it s outside the form, if allowed, It is a version of the gambas movie player example using mplayer. Your suggestions to put a dummy frame/panel above had the same result as seen on my screenshot, it overlapped and is seen on the preview. moving the drawing area in the off by using negative coordinates had the effect, that the screen at those coordinates was dumped. So I had different windows on my preview. Its like you said, grab() is a screenshot of the x-window area of the component. I tried a picturebox instead of the drawing area, and tried to access the Picture with PictureBox.Picture but the result is always null. >From my point of view that means, that mplayer doesn't write to the component, instead it writes to the area of the component in the x server. Does anybody have an idea how to play a video inside gambas and how to access images from that video in order to resize them or apply effects? Does anybody know how to modify the mplayer example to really write to the PictureBox not to the area of the PictureBox ? Thanks and regards 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Video Application DirectorsDesk performance problems
Hallo List, the first alpha of my program RegiePult ( DirectorsDesk) is available. Its a tool to record live video from different cams / media player. The biggest problem I have is the performance and I need serious hints how to achieve higher framerates. Currently I use PictureBoxes and do a lot of image conversion. If anybody of you wants to take a view at the sources or wants to test the program please contact me. I'm highly interested in hints what methods to access the frames of the videos are the fastest. e.g. DrawingArea instead of PictureBox. Thank you for any performance hints. regards Hartmut -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Video Application DirectorsDesk performance problems
Hallo, anybody interested in DirectorsDesk ( RegiePult ) may download the source from: http://www.eilers.net/index.php?option=com_phocadownload&view=category&id=4:video-programs&Itemid=58 Any comments, hints or critics are highly welcome Kind regards Hartmut -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Video4Linux
Hallo List, as I understand the current video4linux component is based on video4linux version 1. Is there anything available for video4linux version 2 ? Thanks in advance regards Hartmut -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Multithreaded Programs
Hallo List, is it possible to write multithreaded programs that support multicore or SMP systems with Gambas? Thanks for help Hartmut -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Video Application DirectorsDesk performance problems
I forgot to mention that there are some pathes hardcoded in the source which you need to modify, or even better patch it to make those settings configurable. :) regards Hartmut 2009/11/4 Hartmut Eilers : > Hallo, > > anybody interested in DirectorsDesk ( RegiePult ) may download the source > from: > > http://www.eilers.net/index.php?option=com_phocadownload&view=category&id=4:video-programs&Itemid=58 > > Any comments, hints or critics are highly welcome > > Kind regards > Hartmut > -- Hartmut Eilers Dorffer Str. 53 http://www.eilers.net 52076 Aachen 01522/1656914 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Video4Linux
Thank you for your fast answer Benoit. Is it planned to support V4L2 in Version 3.0 or is it usable. Is it worth to give Version 3.0 a test with my video app or do I have to wait ?. Is it possible to install Version 3 in parallel to my version 2.x i have installed from the ubuntu repos ? Where are the most uptodate Webpages about gambas. thanks and regards Hartmut -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Video4Linux (Jussi Lahtinen)
Hallo Benoit >> >> Where are the most uptodate Webpages about gambas. >What do you mean? Until today I only found http://gambasrad.org/ which hosts the Mailing List as Forum, seems to be the Homepage but has the last Messages from 2007. Is it your domain ? There should be at least a message stating to http://gambas.sourceforge.net/en/main.html So thank you Jussi, you brought me to http://gambas.sourceforge.net/en/main.html That answered my question. And from my current point of view ( my first Gambas Projekt ) I must pull my hat ( do you say so in english ). Hey this is a really cool language to rapidly make ideas work, really good job and thanks for your work I do compile my own 3.0 I'm sure its worth Regards Hartmut -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user