url2image - convert web page to picture

Install programs:

 apt-get install cutycapt xvfb

Run script:

xvfb-run --server-args="-screen 0, 1280x1024x24" cutycapt --out=duckd.jpg


Tricks avconv/ffmpeg, SOX, ImageMagick

Convert video to images:

avconv -i -sameq output/%09d.png
avconv -i -same_quant output/%09d.png

Create video / timelapse: 5frames/s, best quality -qscale 1

ffmpeg -r 5 -qscale 1 -i input/%09d.jpg output.avi

Rename/sort images for avconv/ffmpeg input criteria:

Converting img, avi, mpg

mencoder input.avi -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_options -o output.mpg
ffmpeg -i file.avi -vcodec mpeg4 -f mpeg output.mp4
avconv -i input.avi -qscale 1 -ac 2 -c:v mpeg2video output.mpg


Subscribe to convert