<back home>
______________making of
*Video Stream de/encode:
with mplayer/mencoder:http://www.mplayerhq.hu
1.export movie to jpegs:
mplayer -vop scale=720:576,eq=-20,hue=0.0:-2.1 -nosound -vo jpeg -jpeg optimize=6:quality=6 nameofmovie.mov
2.cut out some frames: rm -f *~[02468].jpg ->13fps
3.rename frames in a row:
#! /bin/bash
n=1 ## initialize first file number
z=0000 ## a string for padding with zeroes
for file in *.jpg ## for each file ending with .jpg
do
f=$z$n ## put the zeroes ahead of the number
newfile=${f: -6}.jpg ## use the last 4 characters of $f
mv "$file" "$newfile" ## move 'em out
n=$(( $n + 1 )) ## add one to $n
done
3.Python script for pixels displayed as #hex values - size due to luminanz:
python bike.py ##bike
python leitplanke.py ##rail
Hex-color of pixels relocated in a coordinate system - rgb value = xyz
Pixels represented as colored arcs - radius due to luminanz - deformation due to differenz of neighbourpixels
python color_arc_rgb.py ##
4.recode single .jpg in a folder to stream: mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4
5.eat icecream
_________________________________________________________________________
Investigation in Net Art&New Media WS04/05 by Joshua Davis