Last active
March 27, 2017 17:33
-
-
Save BaddMann/b71887162727a8545a6fb69bdc07fb83 to your computer and use it in GitHub Desktop.
FFMpeg Overlay of slides with Sound Mixing
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 AZPosh-DamianBrady-OctopusDeployforthePowerShellUser-audacitycompress.mp4 -i AZPoshTemplates720.mp4 -filter_complex "[0:v][1:v]overlay=enable='between(t\,0,70)'[out];[0:a][1:a]amix=inputs=2[aout]" -shortest -map [out] -map [aout] -pix_fmt yuv420p -c:v libx264 -crf 18 AZPosh-DamianBrady-OctopusDeployforthePowerShellUser-audacitycompress-overlay3.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Took me a while to figure this out.
So keeping it here for safe keeping.
'between(t\,1,135)'
time period in seconds that the overlay is present.[0:v][1:v]
map video from source 1 (0) and source 2 (1) -map [out]
[0:a][1:a]amix=inputs=2[aout]
map audio to aout