Pull to refresh

Comments 5

Я в 2007 делал быстрый low-res вариант: jerom.livejournal.com/85326.html

В те годы самый простой способ сделать это unix way был:
несколько строк на bash
while true ; do
    wget -O `date +%H:%M` \
    "http://03.maps.yandex.ru/images/msk-probki/800/03/V24h0AALwlAAA=.traffic..png?`date`"
    sleep 600
done

# crop + добавление времени + transparent
for i in [0-9]* ; do
    convert -crop 640x400+0+110 -font \
    /usr/X11R6/lib/X11/fonts/TrueType/lucon.ttf -pointsize 40 -fill blue \
    -draw "text 10,150 '$i'" +matte $i $i.png
done

# сборка avi
mencoder "mf://*.png" -mf fps=5 -o probki.avi -ovc lavc -lavcopts vcodec=mpeg4

«2k13»? Автор знает толк в извращениях
Sign up to leave a comment.

Articles