Read frames from GStreamer pipeline in opencv (cv::Mat)
Tim Müller
tim at centricular.com
Wed May 31 20:55:45 UTC 2017
On Wed, 2017-05-31 at 12:58 -0700, pchaurasia wrote:
Hi,
> I tried nvvidconv. Although without success (i.e. the map_info.size
> is 776 bytes instead of 1920*1080*1.5).
> ...
> filtercaps = gst_caps_from_string("video/x-raw(memory:NVMM),
> width=(int)1920, height=(int)1080, format=(string)I420,
> framerate=(fraction)30/1 ");
> ..
> gst_app_sink_set_caps(GST_APP_SINK(sink),filtercaps);
I think you want caps without the 'memory:NVMM' here (at the sink /
after nvvidconv), to force nvvidconv to convert to system memory?
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list