播放 RTSP 流
GStreamer 通用使用方法
4.4 播放 RTSP 流
让 GStreamer 自动选择解码器:
gst-launch-1.0 uridecodebin uri=rtsp://192.168.1.100:8554/live \
! autovideosink显式构建 H.264 接收链路:
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.100:8554/live \
! rtph264depay \
! h264parse \
! decodebin \
! autovideosink实际项目应根据网络状况调整 rtspsrc 的 latency 和传输协议。

