Screenshots: use duration from video stream, fixes #345