Writing .flv video files