srtserversink not transmitting video pakets

andis andreas.schimpe at gmail.com
Mon Jan 20 21:16:58 UTC 2020


Dear all, 
This post is to follow up on the discussion on 
https://www.collabora.com/news-and-blog/blog/2018/02/16/srt-in-gstreamer/

I am using Ubuntu 18 with GStreamer version 1.14.5, and hope to use srt. As
described in the post " Andi: Jan 20, 2020 at 06:15 PM" on above webpage, I
compiled and installed srt and gstreamer-bad-plugins from source. 

Now I wanted to run the sample pipeline: 
SENDER: 
gst-launch-1.0 videotestsrc ! video/x-raw, height=1080, width=1920 !
videoconvert ! x264enc tune=zerolatency ! video/x-h264, profile=high !
mpegtsmux ! srtserversink uri=srt://127.0.0.1:7001/

RECEIVER: 
gst-launch-1.0 srtclientsrc uri=srt://127.0.0.1:7001 ! decodebin !
autovideosink


I checked with wireshark, the sink and src are exchanging pakets for
handshake and keepalive, however not video pakets are transmitted. I ran the
sender part with GST_DEBUG=GST_SCHEDULING:5. Here is the output for one
cycle (I hope): 

0:00:00.681951732 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4320:gst_pad_chain_data_unchecked:<capsfilter0:sink> calling
chainfunction &gst_base_transform_chain with buffer buffer: 0x7fd7e81190c0,
pts 0:00:00.700000000, dts 99:99:99.999999999, dur 0:00:00.050000000, size
115200, offset 14, offset_end 15, flags 0x0

0:00:00.681995487 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4320:gst_pad_chain_data_unchecked:<videoscale0:sink> calling
chainfunction &gst_base_transform_chain with buffer buffer: 0x7fd7e81190c0,
pts 0:00:00.700000000, dts 99:99:99.999999999, dur 0:00:00.050000000, size
115200, offset 14, offset_end 15, flags 0x0

0:00:00.682030399 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4320:gst_pad_chain_data_unchecked:<videoconvert0:sink> calling
chainfunction &gst_base_transform_chain with buffer buffer: 0x7fd7e81190c0,
pts 0:00:00.700000000, dts 99:99:99.999999999, dur 0:00:00.050000000, size
115200, offset 14, offset_end 15, flags 0x0

0:00:00.682067493 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4320:gst_pad_chain_data_unchecked:<x264enc0:sink> calling
chainfunction &gst_video_encoder_chain with buffer buffer: 0x7fd7e81190c0,
pts 0:00:00.700000000, dts 99:99:99.999999999, dur 0:00:00.050000000, size
115200, offset 14, offset_end 15, flags 0x0

0:00:00.684158430 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4320:gst_pad_chain_data_unchecked:<mpegtsmux0:sink_65> calling
chainfunction &gst_collect_pads_chain with buffer buffer: 0x7fd7e8134700,
pts 1000:00:00.700000000, dts 1000:00:00.700000000, dur 0:00:00.050000000,
size 3396, offset none, offset_end none, flags 0x2000

0:00:00.684292078 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4335:gst_pad_chain_data_unchecked:<srtserversink0:sink> calling
chainlistfunction &gst_base_sink_chain_list

0:00:00.731077715 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4341:gst_pad_chain_data_unchecked:<srtserversink0:sink> called
chainlistfunction &gst_base_sink_chain_list, returned ok

0:00:00.731142062 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4326:gst_pad_chain_data_unchecked:<mpegtsmux0:sink_65> called
chainfunction &gst_collect_pads_chain with buffer 0x7fd7e8134700, returned
ok

0:00:00.731172599 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4326:gst_pad_chain_data_unchecked:<x264enc0:sink> called
chainfunction &gst_video_encoder_chain with buffer 0x7fd7e81190c0, returned
ok

0:00:00.731206192 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4326:gst_pad_chain_data_unchecked:<videoconvert0:sink> called
chainfunction &gst_base_transform_chain with buffer 0x7fd7e81190c0, returned
ok

0:00:00.731235360 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4326:gst_pad_chain_data_unchecked:<videoscale0:sink> called
chainfunction &gst_base_transform_chain with buffer 0x7fd7e81190c0, returned
ok

0:00:00.731255275 29548 0x5577ce3211e0 DEBUG         GST_SCHEDULING
gstpad.c:4326:gst_pad_chain_data_unchecked:<capsfilter0:sink> called
chainfunction &gst_base_transform_chain with buffer 0x7fd7e81190c0, returned
ok


I am still learning, how to read this, so I am not sure whether that buffer
that reaches the srtserversink contains something? As I can not see the call
of "gst_collect_pads_chain with buffer" as for the others. 


What could be the issue here? 

Thanks in advance!

Andi



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list