Skip to content

Instantly share code, notes, and snippets.

@dbaldwin
Created January 16, 2024 20:54
Show Gist options
  • Save dbaldwin/2625ecea3fd03168e504801840d77cbc to your computer and use it in GitHub Desktop.
Save dbaldwin/2625ecea3fd03168e504801840d77cbc to your computer and use it in GitHub Desktop.
fffmpeg convert webm to mp4 using Docker
# From ~/Videos/Screencasts
docker run -v $(pwd):/config linuxserver/ffmpeg -i /config/mavlink_shell.webm -c:v libx264 -c:a aac -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" /config/mavlink_shell.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment