Red5 Documentation

Restreaming with FFMpeg

Re-streaming means re-transmitting stream packets. In a typical streaming environment, you can choose to re-stream to the same media server with a different stream name and stream parameters or re-stream to a completely different media server instance/type.

Sample command to re-stream a live stream back to Red5 Pro with a new bitrate

ffmpeg  -i "rtmp:// live=1 timeout=2" -vcodec libx264 -s 320x240 -vb 250k  -acodec copy -f flv "rtmp:// live=1"