How do I trim an .avi file?

Any good freeware to lop off the last half of an .avi or .mpg?

TIA!!!

For AVI files, try AVIchop or VirtualDub. Both are freeware.

For MPEG, use VCDcutter (demo) or TMPGenc (freeware for MPEG1, 30-day trial for MPEG2).