-
-
Save DASPRiD/fa5d8fac28b9710d7a39 to your computer and use it in GitHub Desktop.
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 "$SPLASH_TEMP" \ | |
-i "$INPUT_VIDEO" \ | |
-i "$INPUT_AUDIO" \ | |
-filter_complex "[1:v]setpts=$PTS*PTS [tl]; [0:v] [tl] concat=n=2:v=1:a=0 [v]" \ | |
-map '[v]' \ | |
-codec:v libx264 -pix_fmt yuv420p -profile:v high -preset slow -b:v 4m -maxrate 4m -bufsize 8m -threads 0 \ | |
-codec:a libfdk_aac -b:a 192k -c:a 2 -r:a 48000 \ | |
-shortest \ | |
-y \ | |
"$OUTPUT_FILE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment