-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hi,
I've been a part of the OpenIPC fpv community for a while and recently got my hands on the runcam vrx unit.
I am more familiar with pixelpilot android and have also done a small contribution there in the past but would like some guidance as of how it would best to implement the above functionality to pixelpilot_rk.
I have spent a bit of time reading the code here and:
- i noticed that gstreamer is used to parse the udp stream at port 5600
- after reading the main.cpp and going down the rabbit hole i believe that it may be optimal to create another cpp program that works similar to the DVR one.
Basically if a frame is ready and i have set a flag similar to this
Line 575 in 336678b
| if (dvr_enabled && dvr != NULL) { |
I can push frames to my new gstreamer pipeline and produce rtmp stream or rtsp depending on my liking.
Questions are:
Will this leverage the hardware encoder without much hassle, or it will have to fallback to cpu?
Am i actually thinking of the correct way to do it given my unfamiliarity with the code? Is there a more clean/better way to do it?
Any help/insight is appreciated!