Tool/software: Linux
hi,
we are developing application for receiving ethernet stream of RTP video data and storing in a file.the below pipeline is used for the receiving which is working fine on shell.
gst-launch-1.0 udpsrc port=500 ! 'application/x-rtp,media=video,payload=97,clock-rate=90000,encoding-name=MP2T' ! rtpmp2tdepay ! filesink location=/home/root/video.mp4.
When the same is implemented in c file we are getting the following error:
gst_capsfilter_prepare_buf: assertion 'out_caps ! =NULL' failed
the capsfilter section of c code is
g_object_set (G_OBJECT (filter1), "caps", gst_caps_new_simple("application/x-rtp","media", G_TYPE_STRING, "video","payload", G_TYPE_INT,33,"clock-rate", G_TYPE_INT,90000,NULL), NULL);
can any body help us?
BR
Marka reddy