Video streaming 如何从流式视频中录制音频和视频?

Video streaming 如何从流式视频中录制音频和视频?,video-streaming,gstreamer,pipeline,video-recording,gstreamer-1.0,Video Streaming,Gstreamer,Pipeline,Video Recording,Gstreamer 1.0,我可以使用以下功能从远程pc录制流式视频: 要流式播放视频,请执行以下操作: gst-launch-1.0.exe -v filesrc location="C:\\Path_to_video\\video.mp4" ! queue ! decodebin ! x264enc ! rtph264pay ! udpsink host=10.10.10.1 port=9002 要在我使用的另一台pc上录制视频,请执行以下操作: gst-launch-1.0.exe -e udp

我可以使用以下功能从远程pc录制流式视频:

要流式播放视频,请执行以下操作:

gst-launch-1.0.exe -v filesrc location="C:\\Path_to_video\\video.mp4" ! queue ! decodebin ! x264enc ! rtph264pay ! udpsink host=10.10.10.1 port=9002
要在我使用的另一台pc上录制视频,请执行以下操作:

gst-launch-1.0.exe -e udpsrc port=9002 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! video/x-h264 ! queue ! h264parse ! queue ! mp4mux ! filesink location="C:\test1.mp4"
录制的视频只播放视频部分,不播放声音,如何添加音频