Created
October 4, 2022 19:08
-
-
Save Crydust/09a550e27d2b5cef79bcbe9560a5e522 to your computer and use it in GitHub Desktop.
Trim video and convert to codec known by powerpoint
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 input.webm -ss 00:02:11 -t 00:01:40 -c:v libx264 -c:a aac output.mp4 | |
# PowerPoint supports .mp4 files encoded with H.264 video and AAC audio | |
# -ss = start time | |
# -t = duration (after start time) | |
# -c:v = video codec for output | |
# -c:a = audio codec for output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment