FFMPEG

in case of segmentation faults you might need to add -vcoded
ffmpeg -i Globe4D-energy-related-content.mov -sameq -s 512x256 -vcodec mpeg4 Globe4D-energy-related-content-512.mov
combine multiple movies with ffmpeg
#!/bin/bash
ffmpeg -f mjpeg -i <\
(	ffmpeg -v 0 -i 07h.mov -f image2pipe -vcodec copy -y /dev/stdout;
	ffmpeg -v 0 -i 08h.mov -f image2pipe -vcodec copy -y /dev/stdout;
	ffmpeg -v 0 -i 09h.mov -f image2pipe -vcodec copy -y /dev/stdout;
	...
) -vcodec copy -an -y total.mov
stty echo
add non-sequence images to movie with cat and ffmpeg
cat 2012050412*.jpg | ffmpeg -v 0 -f image2pipe -vcodec mjpeg -i  - -sameq -vcodec mjpeg -y 12h.mov
add new frames / image files to an existing mjpeg movie with ffmpeg
#!/bin/bash
ffmpeg -f mjpeg -i <\
(	ffmpeg -v 0 -i clouds.mov -f image2pipe -vcodec copy -y /dev/stdout;
	cat clouds-queue/*.jpg | ffmpeg -v 0 -f image2pipe -vcodec mjpeg -i  - -sameq -vcodec mjpeg -f mjpeg -y -s 1024x512 /dev/stdout;
) -vcodec copy -an -y tmp.mov
 
rm clouds.mov
mv tmp.mov clouds.mov
mv clouds-queue/*.jpg clouds-done/

losse plaatjes omzetten naar filmpje met framerate en veel keyframes

ffmpeg -f image2 -r 1 -i frame-%04d.png -r 5 -g 1 -y -sameq -s 1024x512 output.mov

output framerate 10, keyframe on everyframe

ffmpeg -i ring.mov -r 10 -g 1 -sameq -y ring-10.mov

-r 1 sets input framerate to 1

ffmpeg -r 1 -i image-%d.PNG -sameq -g 1 -y  A2-vegetation.mov

convert movie to iPad

ffmpeg -i input.mov -acodec libfaac -ac 2 -ab 160k -s 1024x768 -vcodec libx264 -vpre slow -vpre ipod640 -b 1200k -f mp4 -threads 10 output.mp4

convert image sequence to movie

ffmpeg -f image2 -i frame%03d.png -s 1024x512 output.mov

convert movie from canon ixus to mpeg

ffmpeg -i MVI_0131.AVI -r 25 -sameq output.mov

rotate movie (with memcoder)

mencoder -vf rotate=1 -o OUTPUT.AVI -oac copy -ovc lavc MVI_7590.AVI 

Remove audio from a movie

ffmpeg -i input.mov -an output.mov

Combine jpg and mp3 audio to mpg

(in this case portrait). Be sure to use RGB jpg's instead of CMYK.

ffmpeg -y -i vogels.jpg -loop_input -i vogels.mp3 -s 320x480 vogels320x480.mpg
or:
ffmpeg -y -b 2500k -r 30 -i yellow-brick-road.jpg -i brand-new-day.mp3 -map 0:0 -map 1:0 -vsync 1 -sameq  -vcodec mpeg4 -s 320x480 result2.mp4

crop away black side bars

ffmpeg -i in.mov -sameq -cropleft 104 -cropright 104 hands.mov

set start / offset time of input movie

-itsoffset needs to go before -i filename

ffmpeg -itsoffset 10 -i IMG_4699.MOV -s 640x360 -an -sameq hebbenEnHouden.mov
timelapse with ffmpeg / gstreamer

see also