Created
September 28, 2017 06:01
-
-
Save ViktorNova/3e43ab948fcc6c0bfe7f60a6fa0fda3c to your computer and use it in GitHub Desktop.
FFMPEG Stuff
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
# Boost volume of all videos in directory | |
# This ONLY works in BASH. (maybe others, but it does NOT work in Fish shell) | |
# This is meant to be done by first moving all the videos into a subdirectory | |
# Then the output files with boosted volume are dumped one directory up | |
for i in *.avi; do ffmpeg -i $i -vcodec copy -af "volume=10dB" ../$i; done | |
# ____________________________________________________________________________________ | |
# Combine video from first video with audio from anthe second video. | |
# Youtube Karaoke times! | |
# To add a time offset to either one, adjust "-itoffset" | |
ffmpeg -itsoffset 00:00:00.000 -i lyrics.mp4 -itsoffset 00:00:00.000 -i instrumental.mp4 -c copy -map 0:0 -map 1:1 -shortest KaraokeVideo.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment