Make ffserver work, some small fixes.