Browse Source

Add save to file pipe

Murat Doğan 1 year ago
parent
commit
e7cbfae5b2
1 changed files with 5 additions and 0 deletions
  1. 5 0
      examples/media-receiver/README.md

+ 5 - 0
examples/media-receiver/README.md

@@ -18,3 +18,8 @@ Use the following gstreamer demo pipeline to display the traffic (You might need
 $ gst-launch-1.0 udpsrc address=127.0.0.1 port=5000 caps="application/x-rtp" ! queue ! rtph264depay ! video/x-h264,stream-format=byte-stream ! queue ! avdec_h264 ! queue ! autovideosink
 ```
 
+For saving the stream to a file, use the following pipeline (mp4):
+
+```
+gst-launch-1.0 -e udpsrc address=127.0.0.1 port=5000 caps="application/x-rtp" ! queue ! rtph264depay ! h264parse ! mp4mux ! filesink location=out.mp4
+```