return to main compo site
 
default:
        @echo "Use make capture to get images once a minute"
        @echo "Use make movie to combine images into an avi"
        @echo "Use make mix to combine avi and mp3"


capture:
        while true; do scrot -e 'convert $$f -resize 50% $$f.jpg; rm -f $$f' & sleep 60; done

movie:
        @mencoder "mf://*.jpg" -mf fps=4 -o timelapse.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800

mix:
        @mencoder timelapse.avi -audiofile fullSong.mp3 -oac copy -ovc copy -o output.avi

clean:
        rm -f *.jpg
        rm -f *.avi
 
ld12/linuxtimelapsemakefile.txt · Last modified: 2008/08/11 01:16 by 98.206.40.47
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki