The command ffmpeg -i infile.avi -r 30 -pix_fmt yuv420p browser_viewable_outfile.mp4 converts video files to a format which displays correctly using firefox or chrome. Thanks to Computer Nerd Kev!