Changes between Version 20 and Version 21 of Creating multiple outputs
- Timestamp:
- Apr 8, 2018, 5:56:17 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Creating multiple outputs
v20 v21 84 84 }}} 85 85 86 If you want to choose specific streams then use the `select` option. In this next example the video stream is split and scaled to two different sized outputs, and the audio is encoded only once but used by both outputs. Otherwise you would have to unnecessarily re-encode the same audio multiple times. 86 If you want to choose specific streams then use the `select` option. In this next example the video stream is split and scaled to two different sized outputs, and the audio is encoded only once but used by both outputs. Otherwise you would have to unnecessarily re-encode the same audio multiple times. The `ignore` value for the `onfail` option in the last output will keep the other outputs running even if that last output fails. The default value for `onfail` is `abort`. 87 87 88 88 {{{ … … 95 95 [select=\'v:0,a\':f=flv]rtmp://server0/app/instance/playpath| \ 96 96 [select=\'v:1,a\']local1.mkv| \ 97 [select=\'v:1,a\':f=flv ]rtmp://server1/app/instance/playpath"97 [select=\'v:1,a\':f=flv:onfail=ignore]rtmp://server1/app/instance/playpath" 98 98 }}} 99 99
