Implementation of VideoFileBufferWriter works