I don't know if this will do the job you want, but you can look up Virtual Dub, which is free. You can stick a bunch of filters in there too (like ffdshow filters for example) so it might not be the easiest software to use, but you get a lot of functionality for your money.
There's also mediacoder which does a good job to turn one format into another. Also free.