rtspsrc Pipeline creation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

rtspsrc Pipeline creation

kolanchi
Hi,
       I am trying to create rtsp pipeline creation in my own source code. when i used gst-launch tool to see that it's possible to construct this pipeline:

$ gst-launch rtspsrc location=rtsp://192.168.2.60/jeans.mp4 ! rtph264depay ! ffdec_h264 ! autovideosink

 Its works fine. when I tried the same inside a program... I create the 4 elements, add it to the pipeline and then I linked it between.

 I runned my application i facing the Internal data flow error.



 Below I mentioned the detailed error message


 GST_PADS gstpad.c:2124:gst_pad_link_full: linked rtpbin0:recv_rtp_src_1_1328707326_97 and recv_rtp_src_1_1328707326_97:proxypad10, successful
0:00:02.090090883  6275  0x8863680 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<rtsp-src> adding pad 'recv_rtp_src_1_1328707326_97'
0:00:02.172297320  6275  0x884b798 INFO                 basesrc gstbasesrc.c:2511:gst_base_src_loop:<udpsrc3> pausing after gst_pad_push() = not-linked
0:00:02.172410850  6275  0x884b798 WARN                 basesrc gstbasesrc.c:2574:gst_base_src_loop:<udpsrc3> error: Internal data flow error.
0:00:02.172435820  6275  0x884b798 WARN                 basesrc gstbasesrc.c:2574:gst_base_src_loop:<udpsrc3> error: streaming task paused, reason not-linked (-1)
0:00:02.172494375  6275  0x884b798 INFO        GST_ERROR_SYSTEM gstelement.c:1865:gst_element_message_full:<udpsrc3> posting message: Internal data flow error.
0:00:02.172568295  6275  0x884b798 INFO        GST_ERROR_SYSTEM gstelement.c:1888:gst_element_message_full:<udpsrc3> posted error message: Internal data flow error.
0:00:02.172609675  6275  0x8847558 INFO                 basesrc gstbasesrc.c:2511:gst_base_src_loop:<udpsrc0> pausing after gst_pad_push() = not-linked
0:00:02.172669865  6275  0x8847558 WARN                 basesrc gstbasesrc.c:2574:gst_base_src_loop:<udpsrc0> error: Internal data flow error.
0:00:02.172694890  6275  0x8847558 WARN                 basesrc gstbasesrc.c:2574:gst_base_src_loop:<udpsrc0> error: streaming task paused, reason not-linked (-1)
0:00:02.172741165  6275  0x8847558 INFO        GST_ERROR_SYSTEM gstelement.c:1865:gst_element_message_full:<udpsrc0> posting message: Internal data flow error.
0:00:02.172796460  6275  0x8847558 INFO        GST_ERROR_SYSTEM gstelement.c:1888:gst_element_message_full:<udpsrc0> posted error message: Internal data flow error.


Please guide me how to fix this issue.

Thanks in advance
Kolanchi