我是GStreamer的新手,没有任何错误消息,我试图调试我的问题。我试图通过UDP流式传输h264流作为RTP数据包:
gst-launch-1.0 v4l2src ! 'video/x-raw, width=1280, height=720, framerate=30/1' ! videoconvert ! x264enc ! rtph264pay ! udpsink host=192.168.88.1 port=5004
输出:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
当我在192.168.88.1上执行netcat时,我什么也看不见:
nc -ul 5004
VLC和Janus Gateway都没有接收任何流。我老老实实地在黑暗中拍摄,因为我对gstreamer或视频流不太熟悉。任何指导都将不胜感激。
谢谢!