Wednesday, January 21, 2009

ffmpeg examples

ffmpeg -i <infile> -t 6.8 -ar 22050 -acodec libmp3lame -ab 32k -r 25
-s 320x240 -vcodec flv -qscale 9.5 <outfile>

-t time to encode
-ar audio rate
-ab audio bitrate
-r framerate
-target ntsc-dvd (to convert to dvd)
-crop[top|bottom|left|right]
-pad[top|bottom](multiples of 2) && -padcolor(hex)

to screen grab fro x11:
ffmpeg -f x11grab -s 320x240 -r 12 -i :0.0 -r 29.97 -qscale 2 <outfile>

image to video:
ffmpeg -loop_input -i <imagefile> -r 29.97 -t 10 -qscale 2 <outfile>

..and he does some awesome vhook stuff. great tutorial

original video:
http://revver.com/video/1063833/linux-howto-video-editing-magic-with-ffmpeg/

Tuesday, January 13, 2009

mac mini boot options

Mac option key - bring up boot partition options (including optical
and attached)
C - boot from optical
T - target disk mode
Shift - safe mode