examples/scaling_video: write to rawvideo file