picamera2 with Gstreamer #641
Replies: 4 comments 5 replies
-
Hi, you don't mention libcamerasrc, which is the libcamera Gstreamer plugin. Might that help you? It's not developed by Raspberry Pi, but searching online for it should bring up some information. |
Beta Was this translation helpful? Give feedback.
-
Hello David, thanks for your answer. The problem with libcamerasrc, as far as I know, is that most of the options and tools available with picamera2 are not in that plugin (for instance, switching modes to save pictures rapidly or controlling image exposure on the fly). Moreover, I have faced problems related with the h264 compression using it (which I believe others have also faced); for example, these simple pipelines do not work (at least in my case):
This does work though:
But then you launch it as a command, not implementing in the Gst python library, losing then all control capabilities I would like to have... Regards |
Beta Was this translation helpful? Give feedback.
-
@davidplowman @pablogarciaaunon Do you have an example of streaming video using gst in python? |
Beta Was this translation helpful? Give feedback.
-
@davidplowman @pablogarciaaunon I can stream video from pi camera via command line |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to use picamera2 together with Gstreamer, using a Raspberry Pi Zero 2W and a Picamera Module V2, having in mind that:
I have been using the Gstreamer python bindings Gst, together with the raspicam plugin rpicamsrc. Since there is no such a plugin for picamera2, I was wondering if there is a way of doing something similar.
Things I have tried:
Does anyone know how it could be done? Any clue?
I was wondering that maybe it could be done using file descriptors (somehow using FileOutput at the picamera2 side, and fdsrc at the Gst side??).
Thanks is advance
Beta Was this translation helpful? Give feedback.
All reactions