Skip to content

Instantly share code, notes, and snippets.

@M3t0r
Created October 8, 2019 13:56
Show Gist options
  • Select an option

  • Save M3t0r/2cb3e01d6f67d0a0d4fc2d14fd954344 to your computer and use it in GitHub Desktop.

Select an option

Save M3t0r/2cb3e01d6f67d0a0d4fc2d14fd954344 to your computer and use it in GitHub Desktop.
# without -c:{vas} copy, ffmpeg would remux the whole file,
# but since we just want to change metadata, a simple copy is enough
ffmpeg -i "$input" -metadata title="$new_name" -c:v copy -c:a copy -c:s copy "$output"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment