video test: cleanup, autodetect codec.
Use GENPTS, don't kill pts for avi files on SMD.

Not really sure why pts' were killed for avi files, but with this
change avi files that previously played back very choppy plays back
smoothly.
More tweaks for #7. Much improved when seeking and pause/playing.