Read frames from GStreamer pipeline in opencv (cv::Mat)
tim at centricular.com
Wed May 31 20:55:45 UTC 2017
On Wed, 2017-05-31 at 12:58 -0700, pchaurasia wrote:
> 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 ");
I think you want caps without the 'memory:NVMM' here (at the sink /
after nvvidconv), to force nvvidconv to convert to system memory?
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel