Skip to content

Instantly share code, notes, and snippets.

@pwenzel
Last active February 2, 2025 02:45
Show Gist options
  • Save pwenzel/3466d3c6e549bff79b706143184c1fbf to your computer and use it in GitHub Desktop.
Save pwenzel/3466d3c6e549bff79b706143184c1fbf to your computer and use it in GitHub Desktop.
Create video with an audio track and a single still image using ffmpeg
ffmpeg -loop 1 -i image.jpg -i audio.m4a -c:v libx264 -tune stillimage -c:a aac -b:a 192k -shortest output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment