To change the format, codec or compression of a stream, use _FFmpeg_ or _Gstreamer_ together with _rtsp-simple-server_. For instance, to re-encode an existing stream, that is available in the `/original` path, and publish the resulting stream in the `/compressed` path, edit `rtsp-simple-server.yml` and replace everything inside section `paths` with the following content:
To change the format, codec or compression of a stream, use _FFmpeg_ or _GStreamer_ together with _rtsp-simple-server_. For instance, to re-encode an existing stream, that is available in the `/original` path, and publish the resulting stream in the `/compressed` path, edit `rtsp-simple-server.yml` and replace everything inside section `paths` with the following content:
```yml
paths:
@ -503,7 +503,7 @@ After starting the server, the webcam can be reached on `rtsp://localhost:8554/c
@@ -503,7 +503,7 @@ After starting the server, the webcam can be reached on `rtsp://localhost:8554/c
To publish the video stream of a Raspberry Pi Camera to the server, install a couple of dependencies:
@ -610,7 +610,7 @@ You can use _FFmpeg_ to read that stream with the TCP transport protocol:
@@ -610,7 +610,7 @@ You can use _FFmpeg_ to read that stream with the TCP transport protocol: