Last active
October 13, 2020 21:39
-
-
Save 3lpsy/c6b66ef216aec644398c0853e07bc183 to your computer and use it in GitHub Desktop.
Convert a video (such as mkv) to twitter video.
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
#!/bin/sh | |
SRC="$1" | |
OUT="$2" | |
ffmpeg -i "$SRC" -acodec aac -vcodec copy "${OUT}.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requirements for Twitter video: must be mp4 (or MOV) and aac audio codec.