Don't say what OS you have, so hard to make a good recommendation.
However, on Windows, VirtualDub-MPEG2 will do the job nicely (though might have a few issues with A/V sync).
Note: MPEG2 in the name is important. The official version doesn't support it for legal reasons.