Skip to content

Instantly share code, notes, and snippets.

@mkckr0
Created February 4, 2023 03:26
Show Gist options
  • Save mkckr0/2616ad0976f495e65b59d41e66d76704 to your computer and use it in GitHub Desktop.
Save mkckr0/2616ad0976f495e65b59d41e66d76704 to your computer and use it in GitHub Desktop.
ffmpeg add cover and metadata to video
ffmpeg -hide_banner -y -i in.mp4 -i cover.jpg -map 0:v -map 1:v -c copy -disposition:v:1 attached_pic -metadata title="some title" -metadata artist="some author" -metadata creation_time="2023-02-03 12:00:00+0800" out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment