Skip to content

Commit fbd8f23

Browse files
Merge pull request #1136 from murat-dogan/master
media-receiver example: Add save to file pipe & requirements
2 parents ef06b91 + 19bf428 commit fbd8f23

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/media-receiver/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,14 @@ 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+
```
26+
27+
## Requirements
28+
29+
- GStreamer 1.0
30+
- gstreamer1.0-libav (sudo apt-get install gstreamer1.0-libav)
31+
- h264enc (sudo apt-get install h264enc)

0 commit comments

Comments
 (0)