Created
July 31, 2019 16:37
-
-
Save jeserodz/b72c77aca7786f314846719a43040112 to your computer and use it in GitHub Desktop.
FFmpeg Examples
This file contains hidden or 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
# =============== | |
# Image Scaling # | |
# =============== | |
# Reducing or increasing size of an image | |
ffmpeg -i input.png -vf scale=310:240 output.png | |
# Maintain the aspect ratio of original image | |
ffmpeg -i input.png -vf scale=310:ih*240/iw output.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment