gst-launch-1.0测试
播放video/x-raw原始视频帧数据
gst-launch-1.0 -v filesrc location=frame.nv12 ! videoparse width=1920 height=1072 format=23 framerate=1/25 ! autovideoconvert ! autovideosink
rtp推流:
gst-launch-1.0 videotestsrc pattern=11 ! "video/x-raw,framerate=30/1" ! x264enc key-int-max=30 ! rtph264pay ! udpsink host=127.0.0.1 port=1234
rtp拉流
gst-launch-1.0 udpsrc port=1234 ! "application/x-rtp, payload=96" ! rtph264depay ! decodebin ! autovideosink sync=false