Video streaming 如何使用gstreamer创建h.264 enc到rtp到pcap的视频测试模式?

Video streaming 如何使用gstreamer创建h.264 enc到rtp到pcap的视频测试模式?,video-streaming,gstreamer-1.0,Video Streaming,Gstreamer 1.0,我想使用gstreamer创建一个H.264 pcap 目前,我被困在这里: gst-launch-1.0 -v videotestsrc ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000 ! filesink location=xyz.pcap 我得到这个错误: WARNING: erroneous pipeline: could not link udpsink0 to filesink0

我想使用gstreamer创建一个H.264 pcap

目前,我被困在这里:

gst-launch-1.0 -v videotestsrc ! videoconvert ! x264enc ! rtph264pay !  udpsink host=127.0.0.1 port=5000 ! filesink location=xyz.pcap
我得到这个错误:

WARNING: erroneous pipeline: could not link udpsink0 to filesink0