fixed video_writer sample