Created
September 7, 2019 06:27
-
-
Save allanlei/2ebc76cdfb4f59b48de1ce4eb03ceb37 to your computer and use it in GitHub Desktop.
FFmpeg Filtergraph to split inputs (with scaling)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i source.mp4 -filter_complex \ | |
"[0:v]split=2[360p][720p]; \ | |
[360p]scale=-2:360[360p]; \ | |
[720p]scale=-2:720[720p]" \ | |
-map "[360p]" 360p.mp4 \ | |
-map "[720p]" 720p.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment