Issue #11 solved. There are some problems when recording from video files.