Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media-receiver example: Add save to file pipe & requirements #1136

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions examples/media-receiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ 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
```

## Requirements

- GStreamer 1.0
- gstreamer1.0-libav (sudo apt-get install gstreamer1.0-libav)
- h264enc (sudo apt-get install h264enc)
Loading