Encode YUV420 buffer with appsrc

pchaurasia pchaurasia at gameloreinc.com
Thu Oct 5 09:22:53 UTC 2017


Is there a way to specify 'pitch' in caps ? in my cv::Mat image width and
pitch are different. 

For example 

cv::Mat imgY ; // width = 1920, pitch = 2048.
cv::Mat imgU ; // width = 960, pitch = 1024

These cv::Mats are created from output of GPU and I am able to imshow()
them.


Thanks,



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list