The apple dvi to video adaptor which works on the dvi output of a g5 costs $19 and is part number M9267G/A

Its has an s-video and a composite output