-
-
Notifications
You must be signed in to change notification settings - Fork 92
Outputs
ffplayout supports different types of outputs, let's explain them a bit:
The streaming output can be used for ever kind of classical streaming. For example for rtmp, srt, rtp etc. Every streaming type, which are supported from ffmpeg should be working
If you would like to have multiple outputs, you can add you settings to output_param:
like:
...
output_param: >-
...
-flags +global_header
-f flv rtmp://127.0.0.1/live/big
-s 1280x720
-c:v libx264
-crf 23
-x264-params keyint=50:min-keyint=25:scenecut=-1
-maxrate 2400k
-bufsize 4800k
-preset medium
-profile:v Main
-level 3.1
-c:a aac
-ar 44100
-b:a 128k
-flags +global_header
-f flv rtmp://127.0.0.1/live/middle
-s 640x360
-c:v libx264
-crf 23
-x264-params keyint=50:min-keyint=25:scenecut=-1
-maxrate 600k
-bufsize 1200k
-preset medium
-profile:v Main
-level 3.1
-c:a aac
-ar 44100
-b:a 128k
-flags +global_header
-f flv rtmp://127.0.0.1/live/small
In desktop mode you will get your picture on screen. For this you need a desktop system, theoretical all platforms should work here. ffplayout will need for that ffplay.
In this mode you can output directly to a hls playlist. The nice thing here is, that ffplayout need less resources then in streaming mode.
To use one of the outputs you need to edit the ffplayout.yml config, here under out set your mode and use the different output options.