protected virtual int ReadFrameHeader()
 {
     return(VideoBuffer.GetMinimumBufferLength(Width, Height, OutputFormat.Name));
 }