Changes between Version 20 and Version 21 of Creating multiple outputs


Ignore:
Timestamp:
Apr 8, 2018, 8:56:17 AM (5 months ago)
Author:
Gyan
Comment:

Illustrate the onfail option in the tee pseudo-muxer section

Legend:

Unmodified
Added
Removed
Modified
  • Creating multiple outputs

    v20 v21  
    8484}}} 
    8585 
    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. 
     86If 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`. 
    8787 
    8888{{{ 
     
    9595 [select=\'v:0,a\':f=flv]rtmp://server0/app/instance/playpath| \ 
    9696 [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" 
    9898}}} 
    9999