Skip to content

Instantly share code, notes, and snippets.

@jdmichaud
Created December 11, 2025 19:49
Show Gist options
  • Select an option

  • Save jdmichaud/19943d91cc90b96de449d0b4f5a1af0b to your computer and use it in GitHub Desktop.

Select an option

Save jdmichaud/19943d91cc90b96de449d0b4f5a1af0b to your computer and use it in GitHub Desktop.
Video edit

Metadata

See metadata (and other data about the file):

ffmpeg -i input.mp4

Add metadata to video:

ffmpeg -i input.mp4 -metadata title="My Video Title" \
       -metadata artist="John Doe" \
       -metadata comment="Created with ffmpeg" \
       -codec copy output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment