Ever wanted to have a virtual camera in Godot which can output through gstreamer? then you can use this!
This project is made as a part of a autonomous vehicle simulator intended to be used for training 1/10th scale autonomous vehicles.
Disclaimer : A portion of this addon is made using AI.
- Add the bin folder and the GStreamerCamera.gdextension file to your project. make sure the paths in GStreamerCamera.gdextension match your project directory structure. The default is : "res://addons/Godot-GStreamer-Camera/bin".
- Restart the editor.
- Now a new node called "GStreamerCamera" should have been added.
- After adding one to the scene, you can configure it in the editor.
- After running the project, a new socket file with the name of the camera is created in the project directory. This is a "shmsink" file which can be read using a gstreamer pipeline. The default gstreamer pipeline string is also printed and can be edited in the editor.