This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# THIS VERSION TAKES A WEBCAM PIC AND BLENDS IT WITH SCREENSHOT | |
### | |
### THIS IS MACOS VERSION, linux commands commented out below. | |
### | |
# *************************************** | |
# ******OMPD - One Minute Per Day - Voluntary Anthropology | |
# ******public timelapse wall | |
# need to install ffmpeg and imagemagick for this to work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ffmpeg -i movie.mov -r 1 fooframes/frames%05d.jpg | |
# extract 1 frame for every second of the movie... | |
mkdir IIRframes; | |
let "frames=4243/2" | |
echo $frames | |
cp WSPC0001.JPG IIRframes/new.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gdata.youtube import YouTubeVideoEntry | |
from gdata.youtube.service import YouTubeService | |
import gdata | |
from gdata.service import BadAuthentication, CaptchaRequired | |
from optparse import OptionParser | |
import sys | |
import time | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# boranj! | |
# see instructions here: | |
# http://broadcasterproject.wordpress.com/2010/07/14/how-to-make-a-timelapse-shared-memory-server/ | |
# see also screencast version here: http://plebiandesign.com/blog/?p=552 | |
# ************* for capturing frames from a camera: | |
# ************* LINUX is STREAMER | |
# ************* MAC is WACAW | |
# whatever you want to be your directory of files | |
cd ~/Pictures/OMPD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** simple Timelapse campture | |
* Public domain 2012 | |
* a basic merge and slight alteration of a couple processing examples | |
*/ | |
import processing.video.*; | |
Capture cam; | |
float numFrames = 1050; | |
int last=0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Public Text Box */ | |
/* | |
contains portions of a simple Processing and Twitter thingy majiggy | |
RobotGrrl.com | |
Code licensed under: | |
CC-BY | |
update from dan, additional code, public domain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# boranj! | |
# see instructions here: | |
# http://broadcasterproject.wordpress.com/2010/07/14/how-to-make-a-timelapse-shared-memory-server/ | |
# see also screencast version here: http://plebiandesign.com/blog/?p=552 | |
# ************* for capturing frames from a camera: | |
# ************* LINUX is STREAMER | |
# ************* MAC is WACAW | |
# ***************************** | |
# lots of garbage in here you can filter out ********* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# rename and then recombine the audio stuff | |
date=$1 | |
counter=10000 | |
deslength=1 | |
for f in audio*.wav; do | |
let "counter+=1" | |
let "deslength+=1" | |
mv $f audio${counter:1}.wav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# how to export to frames: | |
#ffmpeg -i day1-total.mov -sameq ./Outputdir/day1%5d.jpg | |
# length of a file | |
# sox --info -D file.wav | cut -d"." -f1 | |
# or use -f image2 as export option. | |
# names the frames as frame0001.jpg, frame0002.jpg, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# timelapse_audio.sh | |
# | |
# | |
# take an input file, $1 | |
# find length on input file | |
# snip short pieces of length $2 | |
# spacing between snippet starts $3 | |
# put a crossfade between snippets $4 |
NewerOlder