Created
October 1, 2017 23:31
-
-
Save 47ronin/a97f552f3377c9d0dc8025c1992eebe2 to your computer and use it in GitHub Desktop.
Offsets video track by a specific duration to properly sync with embedded audio, creates a remuxed output file
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
#!/bin/bash | |
ffmpeg -i ScrewedUpVideo.mp4 -itsoffset 0.33 -i ScrewedUpVideo.mp4 -vcodec copy -acodec copy -map 0:1 -map 1:0 FixedVideo.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment