Last time I created a code_swarm video, I forgot to document the whole video editing process. Let's try to record the key stuff this time.

  1. Run code_swarm (see its docs). Note that its output is best if run on a display without subpixel rendering -- so desktop, not laptop.
  2. Now to convert the frames into a dv video. (There is a small quality loss here.) ffmpeg -f image2 -r 24 -i ./frames/code_swarm-%05d.png -s ntsc out.dv
  3. Import video into kino.
  4. Edit video in kino.
  5. Sound. Needs to be in wav format. Use effects, and Dub sound in to video.
  6. Final encoding. Kino's exporters are not very reliable; I have it export to a raw dv, and then use xvidenc (packaged in debian-multimedia) for the encoding.
comment 1

"Import video into kino. It will, in turn, convert it into dv."

Why not skipping this conversion step? kino uses ffmpeg to convert to dv, so something like this:

ffmpeg -f image2 -r 24 -i ./frames/code_swarm-%05d.png -s ntsc out.dv

should do the job in just one step. or not?

Comment by archibald-tuttle [launchpad.net]
comment 2

Thank you! I had tried to get that to work but did not find exactly the right command line.

FWIW, I also posted this before I meant to.. I will update the current skeleton as I go thru the process.

Comment by joey [kitenet.net]
code swarms
Anyone happen to know the function of the two different colors in the code_swarm config file? Have been searching and experimenting, but can't figure out what it does with the first v.s. second rgb value for each regular expression. Or anyone found a code_swarm mailing list or forum? Thanks!
Comment by radafizir [myopenid.com]
doh! should have searched longer - here's code_swarm mailing list
http://groups.google.com/group/codeswarm
Comment by radafizir [myopenid.com]