Changes between Version 19 and Version 20 of Creating multiple outputs
- Timestamp:
- Nov 7, 2016, 5:45:47 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Creating multiple outputs
v19 v20 84 84 }}} 85 85 86 If you want to choose specific streams then use the `s tream` 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.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. 87 87 88 88 {{{ 89 89 ffmpeg -i input -filter_complex \ 90 90 "[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]" \ 93 93 -map "[v0]" -map "[v1]" -map 0:a -c:v libx264 -c:a aac -f tee \ 94 94 "[select=\'v:0,a\']local0.mkv| \
