GstBuffer to a PNG Buffer Not using OpenCV

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Oct 13 08:06:23 UTC 2020


Hi,

> gst_video_convert_sample does not exists.
> Can someonegive a proper example?

gst_video_convert_sample most certainly exists, but you need to include
the headers for and link with the gstreamer video library:

https://gstreamer.freedesktop.org/documentation/video/index.html?gi-language=c#video-library

So #include <gst/video/video.h> and add gstreamer-video-1.0 to the part
in your build files where you check for gstreamer-1.0 via pkg-config.

Cheers
 Tim



More information about the gstreamer-devel mailing list