Ah, I thought the N900 already had some DLNA support somewhere...
I don't see why it should be that hard to do, I thought DLNA is just a layer on top of a conventional file transfer protocol. Maybe I'm wrong? I would think that any DLNA-capable TV is already quite able to do the rendering on its side, no need for the phone to process the data before sending it...