I've used VirtualDub to do this. Doesn't work with all files, but it definitely helps in the trimming department.
It's free, quick, pretty easy and the results are quite good.
Just be sure to change the compression method from default which is 'uncompressed'...it'll eat up your hard drive in no time (approx 1gb per minute of video)
-d'pud