Skip to content

Instantly share code, notes, and snippets.

@duncangh
Forked from bwhitman/picblast.sh
Created September 2, 2019 15:21
Show Gist options
  • Save duncangh/0327975b8a347eeacdae5e45d42f2003 to your computer and use it in GitHub Desktop.
Save duncangh/0327975b8a347eeacdae5e45d42f2003 to your computer and use it in GitHub Desktop.
Make an audio collage out of your live photos
mkdir /tmp/picblast; cd ~/Pictures/Photos\ Library.photoslibrary; for i in `find . | grep jpegvideocompl`;do ffmpeg -i $i /tmp/picblast/${i:(-8)}.wav; done; cd /tmp/picblast; ffmpeg -safe 0 -f concat -i <( for f in *.wav; do echo "file '$(pwd)/$f'"; done ) ~/Desktop/picblast.wav; rm -rf /tmp/picblast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment