Changes between Version 19 and Version 20 of Creating multiple outputs


Ignore:
Timestamp:
Nov 7, 2016, 7:45:47 PM (7 months ago)
Author:
llogan
Comment:

fixed typo found my Moritz B. make example more like what users will actually do.

Legend:

Unmodified
Added
Removed
Modified
  • Creating multiple outputs

    v19 v20  
    8484}}} 
    8585 
    86 If you want to choose specific streams then use the `stream` option. In this next example there are various video streams being used by various outputs, but they will all use the same audio stream. 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. 
    8787 
    8888{{{ 
    8989ffmpeg -i input -filter_complex \ 
    9090"[0:v]split=2[s0][s1]; \ 
    91  [s0]negate[v0]; \ 
    92  [s1]vflip[v1]" \ 
     91 [s0]scale=1280:-2[v0]; \ 
     92 [s1]scale=640:-2[v1]" \ 
    9393-map "[v0]" -map "[v1]" -map 0:a -c:v libx264 -c:a aac -f tee \ 
    9494"[select=\'v:0,a\']local0.mkv| \