Video encoding fixes.

- force 2chan audio, 44kHz for mp4 (otherwise many players do not work).
- fix inotify event parsing mistakes.