Last active
October 1, 2018 18:03
-
-
Save lilithebowman/7e81088e2a41621ea9c2d93cd6008a03 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
@echo off | |
dir | |
echo mix-audio-ffmpeg.bat | |
echo How to use: drag audio file onto this batch file. Input MP4 must be named stabilized_1x_speed.mp4 | |
echo Or run the batch file from the same directory and set the argument as the audio file you would like mixed. | |
echo -------------------------------------------- | |
echo | |
echo Starting mix: | |
ffmpeg -i ./stabilized_1x_speed.mp4 -i %1 -filter_complex "[0:a][1:a]amix=duration=shortest[a]" -map 0:v -map "[a]" -c:v copy musical_stabilized_1x_speed.mp4 | |
echo "Mixing done. Press any key to exit." | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment