Created
November 12, 2016 06:58
-
-
Save 7kfpun/7b21a7d447344bb7a442547ff6ad167e to your computer and use it in GitHub Desktop.
ffmpeg for App preview
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
# Resizing video to fit App preview requirement | |
ffmpeg -i input.mp4 -acodec copy -crf 12 -vf scale=1080:1920,setsar=1:1 output.mp4 | |
# Double speed up | |
ffmpeg -i input.mkv -filter:v "setpts=0.5*PTS" -r 30 output.mkv | |
# Double speed up/slowing down audio: | |
ffmpeg -i input.mkv -filter:a "atempo=2.0" -vn output.mkv | |
ffmpeg -i video.mp4 -i audio.wav \ | |
-c:v copy -c:a aac -strict experimental output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment