TVout is a completely interrupt driven library that will output either NTSC or PAL composite.
Connect an RCA plug to the arduino according to the following schematic. A 75 OHM resistor may be needed between VID and GND on the RCA plug for a very small subset of TVs

SYNC is on OCR1A and AUDIO is on OC2A
| MCU | SYNC | VIDEO | AUDIO | Arduino | SYNC | VIDEO | AUDIO |
|---|---|---|---|---|---|---|---|
| m168,m328 | B 1 | D 7 | B 3 | NG,Decimila,UNO | 9 | 7 | 11 |
| m1280,m2560 | B 5 | A 7 | B 4 | Mega | 11 | A7 | 10 |
| m644,m1284p* | D 5 | A 7 | D 7 | sanguino | 13 | A7 (24) | 8 |
| AT90USB1286 | B 5 | F 7 | B 4 | Teensy++ | |||
*There are some timing issues with the m1284p, may be related to sanguino core.
There is a very complete and easy to navigate functional description found on the google code wiki