Created
April 2, 2024 15:06
-
-
Save ststeiger/e902232c63acbe1e609d26f1a0b22592 to your computer and use it in GitHub Desktop.
Split all screens video into single screen
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
Simply convert: | |
ffmpeg -i input.avi output.mp4 | |
Simply convert, but only the left half of the screen(s): | |
ffmpeg -i input.avi -filter_complex "[0:v]crop=iw/2:ih:0:0,scale=iw:ih[out]" -map "[out]" output.mp4 | |
Simply convert, but only the right half of the screen(s): | |
ffmpeg -i input.avi -filter_complex "[0:v]crop=iw/2:ih:ow:0,scale=iw:ih[out]" -map "[out]" output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment