dturing / node-gstreamer-superficial

Superficial gstreamer binding
MIT License
127 stars 45 forks source link

Feature request: Pushing data to GStreamer #10

Closed tvandergeer closed 7 years ago

tvandergeer commented 7 years ago

Do you think it will be possible to push data from NodeJS into Gstreamer? Within Gstreamer there's an element named "appsrc" which allows applications to push data (buffers) into GStreamer. I was thinking something along the line of:

pipeline.push([buffer]);
dturing commented 7 years ago

Tom,

that's surely possible; node-gstreamer-superficial already does the opposite with appsink. It wouldnt be a pipeline function, but rather on the appsrc element.

However, this is a unpaid, voluntary, opensource project. We're not really accepting feature requests ;) I'd be happy to merge a PR implementing it.

tvandergeer commented 7 years ago

Ha! That sounds like a nice challenge to brush up my C++ skills...

Zubnix commented 6 years ago

Did this get any love? I'm looking for the same thing...

tvandergeer commented 6 years ago

I found other challenges, so I didn't get around to finish it.

Zubnix commented 6 years ago

https://github.com/udevbe/node-gstreamer-superficial/commit/3808dac17d1bfebef3079a7802e3b6d498b54831

This is my first try @ c++ & native node so early comments welcome :)