Skip to content

Instantly share code, notes, and snippets.

@errkk
Last active December 17, 2015 23:39
Show Gist options
  • Save errkk/5690962 to your computer and use it in GitHub Desktop.
Save errkk/5690962 to your computer and use it in GitHub Desktop.
Downloads latest frames from the Pi, updates the frame list, makes them into a video, and plays it!
rsync -avz pi@192.168.1.117:/home/pi/mnt/ ~/Desktop/stills/ && find . -name '*.jpg' -size 0 -print0 | xargs -0 rm && ls *.jpg > stills.txt && mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:aspect=16/9:vbitrate=8000000 -vf scale=1080:768 -o ~/Desktop/tl_london1.avi -mf type=jpeg:fps=48 mf://@stills.txt && mplayer ../tl_london1.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment