There is a System.OverflowException in AviWriter.cs line 632 in the WriteFileHeader method when using larger values for FramesPerSecond, like 1000.
|
fileWriter.Write((uint)Decimal.Truncate(FramesPerSecond * streamsInfo.Sum(s => s.MaxChunkDataSize))); // max bytes per second |
So, what is the correct way to calculate the byterate?