[Gambas-user] Web Cam preview and capture

Benoît Minisini g4mba5 at gmail.com
Fri Jan 5 14:57:14 CET 2018


Le 04/01/2018 à 22:41, mikeB a écrit :
> eGreetings Gambas World,
> 
> Would anyone out there happen to have a code snippet or simple
> Gambas project that reviews/ displays the web cam input and records
> video with sound - that you're willing to share?
> 
> I know how to record using ffmpeg but can not find a way to review/ 
> display what it's recording. Also, have spent days looking at the code
> of "MediaPlayer" from the Gambas farm - it's completely above my head
> ;-(
> 
> A BIG THANKS for your consideration,
> mikeB
> 

You should use the gb.media component, which is an almost direct 
interface to GStreamer.

So if you find how to do what you want with GStreamer, doing the same 
thing with Gambas should be just a matter of translation between 
GStreamer names and its Gambas equivalents.

Regards,

-- 
Benoît Minisini


More information about the User mailing list