[FFmpeg-user] Multiple outputs advice. Live stream/Record/Preview
German Geraskin
german.geraskin at gmail.com
Wed Sep 18 10:00:32 EEST 2024
ср, 18 сент. 2024 г. в 08:01, Andrew Strachan
<stroltz-at-hotmail.com at ffmpeg.org>:
>
> Just to clarify, you suggest
>
> source(Decklink) >> ffmpeg>> local streaming server>> file recording, preview and CDN
>
> So 1 just x instance of ffmpeg is best, and not using multiple outputs.
Correct.
Input >> ffmpeg
- split input to main and monitoring;
- scale monitoring stream to lower resolution
- encode both streams
- provide both outputs to local streaming server
ffmpeg >> local streaming server
- use API to start and stop recordings (or web console, if you do it manually)
- provide streams to CDN or/and provide access to your streams for end users
recorded files >> another ffmpeg (controlled by some script that get
RECORDING COMPLETED event to start ffmpeg process)
- extract audio from recorded file
- save audio into file
Something like this.
More information about the ffmpeg-user
mailing list