Transmit absolute time

Pietro Bonfa' pietro_bonfa at yahoo.it
Tue Oct 27 08:37:39 PDT 2015


On 10/24/2015 07:42 PM, Sebastian Dröge wrote:
> It probably should when using appsrc in live mode :) Can you file a bug
> about that?

My fault again, forgot to set live mode. It work as expected now.

Now I'm facing the second last problem (you never face the last problem :)

If I set the caps in appsink at a certain point buffers become non
writable and the meta information are lost (i.e., not copied anymore).

Pipeline is
gst_parse_launch("rtspsrc port=8554 location=rtsp://127.0.0.1:8554/test
! rtpatimeparse ! application/x-rtp, media=(string)video,
clock-rate=(int)90000, payload=(int)96 ! rtph264depay ! decodebin !
autovideoconvert ! appsink name=mysink", NULL);

adding

GstCaps * caps = gst_caps_from_string("video/x-raw, format=(string){BGR,
GRAY8}; video/x-bayer,format=(string){rggb,bggr,grbg,gbrg}");

gst_app_sink_set_caps(GST_APP_SINK(appsink), caps);
gst_caps_unref(caps);

makes buffer not writable and atime_meta_transform fails.

Where is the problem? Is it in my atime_meta_transform function which
should handle this case (non writable buffers) or in my appsink
configuration?

Thanks
Pietro


More information about the gstreamer-devel mailing list