[Gambas-user] gb.media record to file

Mayost Sharon sharon at 455.co.il
Sun Apr 12 13:49:49 CEST 2020


Hello

Can I get help on how to record a file from a camera?
To turn on the camera I managed:

'Gambas module file

Private hPlayer As MediaPlayer

Public Sub Main ()

hPlayer = New MediaPlayer As "MediaPlayer"

hPlayer.URL = "v4l2:///dev/video0"

hPlayer.Play

End


To save the file I got in trouble
I tried to read the documentation here:
https://gstreamer.freedesktop.org/documentation/?gi-language=c

And even more complicated I wrote it in C language

Thank you


More information about the User mailing list