gstappsrc NV12 buffer data
jlancaster
jeff_lancaster at msn.com
Wed Dec 5 15:28:11 PST 2012
Here is my pipeline:
appsrc name=jpeg_src ! omx_scaler ! video/x-raw-yuv,width=720,height=480 !
fakesink
gst_app_src_push_buffer (GST_APP_SRC (source), my_gst_buffer);
The data that is on the src pad is reported as:
video/x-raw-yuv-strided, format: {NV12}, width: [1, 2147483647], height: [1,
2147483647], framerate: [ 0/1, 2147483647]
It should be, and I want it to be:
video/x-raw-yuv-strided, width: 720, height: 480, format: NV12, rowstride:
896, framerate: 1000/67, pixel-aspect-ratio: 1/1, interlaced: false
I tried to use gst_app_src_set_caps to set the caps in the appsrc element
but I still see the weird values in the first set of caps above.
How can I advertise the caps on the src pin of the appsrc element so that
the downstream plugin (a scaler) will handle the data correctly?
I get (see src of decodebin2):
<http://gstreamer-devel.966125.n4.nabble.com/file/n4657265/i_get.png>
But I want:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4657265/but_i_want.png>
-----
Jeff Lancaster
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstappsrc-NV12-buffer-data-tp4657265.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list