Wednesday, May 28, 2008

Deleteing all of Vim's swap files

Every once in a while one of my ssh sessions will timeout and when I log back in and use vim, it complains about all my leftover swap files.

Problem solved:

find ./ -name \*.swp | xargs rm


This recursively removes all swp files!

Thursday, May 08, 2008

joining mpg's to one giant flv using ffmpeg

I have a bunch of mpg's (extention avi) from my cannon digital elph which I would like to combine to make one giant flv suitable for web viewing.

This was a good start: http://ffmpeg.mplayerhq.hu/faq.html#TOC29

but in the end, it became as simple as doing the following

cat *.AVI > bigcahuna.mpg
ffmpeg -i bigcahuna.mpg -f flv -s 640x480 priderock.flv

That's it!

for more possibly relevant material, see: http://del.icio.us/gdw/flv

Pyjamas