dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

ffmpeg-delay-audio (186B)


      1 #!/bin/sh
      2 
      3 synchronize() {
      4 	ffmpeg -y -i "$1" \
      5 		-itsoffset 0.300 \
      6 		-i "$1" \
      7 		-map 0:v -map 1:a \
      8 		-c copy \
      9 		"${1%.*}_delay.${1##*.}"
     10 }
     11 
     12 for f in "$@"; do
     13 	synchronize "$f"
     14 done