tchanged the gif thing... still not good enough - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit e584dab35b77d87e7d2585d7c49f2bc1f1eefc9e
 (DIR) parent 1f5437c47d1c3cdc0970e18a9b908a1a7321771a
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Wed,  5 Feb 2014 13:37:01 +0100
       
       changed the gif thing... still not good enough
       
       Diffstat:
         M instagram                           |       8 ++++++--
       
       1 file changed, 6 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/instagram b/instagram
       t@@ -59,9 +59,13 @@ function gifit() {
            test -z "$SCREEN" && SCREEN=0
            RES=`xdpyinfo -ext XINERAMA | sed -n "s/^  head #$SCREEN: \([0-9x]*\) .*$/\1/p"`
        
       -    mkdir $SSHOT_DIR/tmp
       -    ffmpeg -f x11grab -s $RES -r 12 -i :0.$SCREEN $SSHOT_DIR/tmp/$1
       +    mkdir $SSHOT_DIR/tmp/
        
       +    ffmpeg -f x11grab -s $RES -r 8 -i :0.$SCREEN $SSHOT_DIR/tmp/record.mkv
       +    ffmpeg -i $SSHOT_DIR/tmp/record.mkv -t 0:0:5 -f image2 $SSHOT_DIR/tmp/%03d.jpg
       +    convert -delay 10 $SSHOT_DIR/tmp/*.jpg -coalesce -layers OptimizeTransparency $1
       +
       +    rm -rf $SSHOT_DIR/tmp/
        }
        
        [[ "$1" = "--help" ]] && usage && exit 0