I'am having a question about gstreamer element pango:clockoverlay
my pipeline: appsrc----->clockoverlay-----> vpuenc_h264------>appsink
1、first i use /dev/mxc_ipu and ioctl functions to read /dev/fb1's BRGx video data,convert it to NV12 format
2、then i use appsrc callback function to read the NV12 video data ,and add it to pipeline g_signal_connect(GstData.app_source, "need-data", G_CALLBACK(start_feed), &GstData);
3、basically, i want to add timestamp to the video before encode to H264:
g_object_set(G_OBJECT(GstData.clock_overlay), "halignment", 0, "valignment", 2, "time-format", "%Y/%m/%d %H:%M:%S", NULL);
4、the problem is the video data that add to pipeline by appsrc doesn't come to appsink, i can't get H264 data from appsink, if i remove the clockoverlay element ,the pipeline work's fine.
please help me if anyone has the answer.