generate thumbnails for video, lock in ruby version