Skip to content

Commit e7cbfae

Browse files
authored
Add save to file pipe
1 parent 8296892 commit e7cbfae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/media-receiver/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ Use the following gstreamer demo pipeline to display the traffic (You might need
1818
$ 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
1919
```
2020

21+
For saving the stream to a file, use the following pipeline (mp4):
22+
23+
```
24+
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
25+
```

0 commit comments

Comments
 (0)