Skip to content

Instantly share code, notes, and snippets.

@onpaws
Created December 21, 2020 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onpaws/8ef4f70735d45b41702178af91c9e515 to your computer and use it in GitHub Desktop.
Save onpaws/8ef4f70735d45b41702178af91c9e515 to your computer and use it in GitHub Desktop.
Adjust A/V offset on a video file - ffmpeg
ffmpeg \
-i "$input" -itsoffset "$offset" \
-i "$input" \
-map 0:0 \
-map 1:1 \
-acodec copy \
-vcodec copy \
"$output"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment