Well, after searching the forums and google I have been unable to find a way to do this and I was hoping to get some advice from the resident gurus.

Recently I have installed Media Tomb on Ubuntu 8.04 to act as a uPNP server to serve media to a PS3, but a lot of my videos are not in a compatible format, so I was hoping to find a script and/or program to auto-convert any video files in a folder at a certain time to either MP4 or DIVX. Any help or advice on this would be greatly appreciated.

Thanks for your time! ^_^