add support for pts based position calculation
update static patch to newer ffmpeg
speedlimit option
fix some warnings