Gstreamer SRT problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer SRT problem

emre4d
Hi,

I am trying to run srt pipeline but I had some problems.

My pipeline:
/gst-launch-1.0   srtsrc do-timestamp=true
uri="srt://0.0.0.0:49101?mode=listener"  ! queue ! tsdemux name=demux
demux.video_0_0100 ! queue ! h264parse ! avdec_h264 output-corrupt=false !
x264enc bitrate=20000 tune=zerolatency !  h264parse !
"video/x-h264,profile=baseline" ! mpegtsmux alignment=7 ! srtsink sync=true
uri=srt://xx.xx.xx.xx:49102?mode=caller/

I got this error after starting pipeline:
/08:26:44.510542/SRT:RcvQ:worker*E:SRT.c: %391649849:No room to store
incoming packet: offset=3395 avail=0 ack.seq=1148934475 pkt.seq=1148937870
rcv-remain=8191/

I searched for this error but didn't find anything to solve my problem
because I think my problem is caused by encoder or decoder(find this with
using fakesink).

Without encoder and decoder pipeline works fine:
/gst-launch-1.0 srtsrc uri="srt://0.0.0.0:49101?mode=listener" latency=1000
! tsdemux ! tsparse ! queue ! mpegtsmux ! srtsink
uri="srt://xx.xx.xx.xx:49102?mode=caller"/

I also used different encoder and decoders nvenc, x264enc etc.

Could you please help me about this issue ?





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer SRT problem

GStreamer-devel mailing list
I ran into the same problem. This fixed it:

gst-launch-1.0 gdiscreencapsrc x=0 y=0 width=1920 height=1080 cursor=TRUE !
videoconvert ! x264enc bitrate=32000 tune=zerolatency speed-preset=veryfast
byte-stream=true key-int-max=15 intra-refresh=true ! video/x-h264,
profile=baseline, framerate=60/1 ! queue max-size-buffers=0 max-size-time=0
max-size-bytes=0 min-threshold-time=100000000 ! mpegtsmux name=muxer !
srtsink uri=srt://my-server-ip:5000/



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel