Skip to content

Instantly share code, notes, and snippets.

@gboyegadada
Last active October 2, 2024 06:12
Show Gist options
  • Save gboyegadada/72a562f1ef76f3c09527eb71ca0b5f27 to your computer and use it in GitHub Desktop.
Save gboyegadada/72a562f1ef76f3c09527eb71ca0b5f27 to your computer and use it in GitHub Desktop.
How to add a silent audio track to App Store Preview with ffmpeg

How to add a silent audio track to App Store Preview with ffmpeg


Note to self.

ffmpeg -i video-with-no-audio.mp4 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -c:v copy -shortest -map 0:v -map 1:a video-with-stereo-track.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment