Skip to content

Instantly share code, notes, and snippets.

@mrxyo
Created August 28, 2018 15:56
Show Gist options
  • Select an option

  • Save mrxyo/18177b0f095b44ea38a5c790511fdb2f to your computer and use it in GitHub Desktop.

Select an option

Save mrxyo/18177b0f095b44ea38a5c790511fdb2f to your computer and use it in GitHub Desktop.
adds a empty soundtrack to a video
#!/usr/bin/env bash
SOURCE=$1
OUTPUT=$2
ffmpeg -i $SOURCE -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=2800 -shortest $OUTPUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment