Problem with rtsp pipeline

sej sergio.espi at embention.com
Thu Oct 1 14:45:45 UTC 2020


Hi!
I'm trying to reuse a pipeline that works fine for me, this pipeline
receives a stream over UDP and is the following:
/rtspsrc location=udp://@:15004 ! queue max-size-bytes=0 max-size-time=500 !
application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,framerate=25/1
! rtph264depay ! h264parse ! avdec_h264 ! queue max-size-bytes=0
max-size-time=500 ! videoconvert ! queue max-size-bytes=0 max-size-time=500
! vp8enc deadline=4 keyframe-max-dist=6 auto-alt-ref=true lag-in-frames=1
target-bitrate=8192000 threads=4 ! rtpvp8pay ! queue max-size-time=500 ! 
capsfilter caps=application/x-rtp,media=video,encoding-name=VP8,payload=97/

Now when I change by rtsp like folows:
/rtspsrc location=rtsp://192.168.1.162/z3-1.sdp latency=0 ! queue
max-size-bytes=0 max-size-time=500 !
application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,framerate=25/1
! rtph264depay ! h264parse ! avdec_h264 ! queue max-size-bytes=0
max-size-time=500 ! videoconvert ! queue max-size-bytes=0 max-size-time=500
! vp8enc deadline=4 keyframe-max-dist=6 auto-alt-ref=true lag-in-frames=1
target-bitrate=8192000 threads=4 ! rtpvp8pay ! queue max-size-time=500 ! 
capsfilter caps=application/x-rtp,media=video,encoding-name=VP8,payload=97/

I can't see anything, but I can tell that if I try to see just the video
decoding with:
/rtspsrc location=rtsp://192.168.1.162/z3-1.sdp latency=0 ! queue
max-size-bytes=0 max-size-time=500 !
application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,framerate=25/1
! rtph264depay ! h264parse ! avdec_h264 ! queue max-size-bytes=0
max-size-time=500 ! videoconvert ! queue max-size-bytes=0 max-size-time=500
! autovideosink/
I can see the video so I understand the error is in the transcoding, someone
undestand why this effect occurs?

Thanks in advance



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


More information about the gstreamer-devel mailing list