Navigation

convert

url2image - convert web page to picture

Install programs:

 apt-get install cutycapt xvfb

Run script:

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

...

Tricks avconv/ffmpeg, SOX, ImageMagick

http://wiki.ubuntu.cz/triky_s_imagemagick_a_ffmpeg

Convert video to images:

avconv -i video.mov -sameq output/%09d.png
avconv -i video.mov -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

http://wiki.ubuntu.cz/triky_s_imagemagick_a_ffmpeg

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