Setup:
• Hardware Platform:Jetson Orin Nano
• DeepStream Version: 7.0
• JetPack Version: 6.0
• TensorRT Version: 8.6.2.3
• Issue Type( questions)
Good day colleagues, I am currently trying to build two gstreamer pipelines. The first one reads video file and subtitle file and stream it. The second one receives data and play it.
gst-launch-1.0 -e -v \
rtpbin name=rtpbin \
\
filesrc location=OutputVideo1920p_yuv420p.mp4 !\
decodebin !\
nvvidconv !\
x264enc tune=zerolatency ! video/x-h264, stream-format=byte-stream !\
rtph264pay pt=96 !\
rtpbin.send_rtp_sink_0 \
rtpbin.send_rtp_src_0 ! udpsink host=${HOST} port=${PORT} sync=true async=false \
rtpbin.send_rtcp_src_0 ! udpsink host=${HOST} port=$((${PORT} + 1)) sync=false async=false \
\
filesrc do-timestamp=true location=OutputVideo1920p_yuv420p.srt !\
subparse !\
rtpgstpay pt=98 !\
rtpbin.send_rtp_sink_1 \
rtpbin.send_rtp_src_1 ! udpsink host=${HOST} port=${SRTPORT} sync=true async=false \
rtpbin.send_rtcp_src_1 ! udpsink host=${HOST} port=$((${SRTPORT} + 1)) sync=false async=false
gst-launch-1.0 -e -v \
rtpbin name=rtpbin \
\
udpsrc port=${PORT} caps="application/x-rtp, media=(string)video, encoding-name=(string)H264, payload=(int)96" !\
rtpbin.recv_rtp_sink_0 \
rtpbin.recv_rtp_src_0 ! rtph264depay ! avdec_h264 ! autovideosink \
udpsrc port=$((${PORT} + 1)) ! rtpbin.recv_rtcp_sink_0 \
\
udpsrc port=${SRTPORT} caps="application/x-rtp, media=(string)text, encoding-name=(string)T140, payload=(int)98" !\
rtpbin.recv_rtp_sink_1 \
rtpbin.recv_rtp_src_1 ! rtpgstdepay ! subparse ! textoverlay name=overlay ! autovideosink \
udpsrc port=$((${SRTPORT} + 1)) ! rtpbin.recv_rtcp_sink_1
The first pipeline works but the second one doesn’t. So please help me understand why?