Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Gstreamer v4l2 sink

$
0
0

Thanks for that. Unfortunately i encountered the problem that this addon is really old and written for gstreamer 0.10 and of 0.9 uses the gstreamer 1.0. So I have to port the
GstBuffer * buffer;
buffer = gst_app_buffer_new (pixels.getPixels(), width*height*3, NULL, pixels.getPixels());
GstFlowReturn flow_return = gst_app_src_push_buffer(gstSrc, buffer);
if (flow_return != GST_FLOW_OK) {
ofLog(OF_LOG_WARNING,"error pushing buffer");
}

gst_app_buffer_new
to something else and I don't know anything about gstreamer :smile: . Let's have a look....


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>