Skip to content

Instantly share code, notes, and snippets.

@loisaidasam
Forked from bwhitman/picblast.sh
Last active Aug 2, 2019
Embed
What would you like to do?
Make an audio collage out of your live photos
#!/bin/bash
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