---
title: "AviWriter..::.BytesPerSecond Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviWriter_BytesPerSecond.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# AviWriter.BytesPerSecond Property 
 
Gets/sets the BPS (bytes per second) value used by some compressors.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
 
## Syntax
  
```
Public Property BytesPerSecond As Integer
```
 
```csharp
public int BytesPerSecond { get; set; }
```
 
### Property Value
An integer value which specifies the amount of bytes per second.
 
## Remarks
  
This value is ignored by most compressors. It is used by those compressors which are based on MPEG algorithm (e.g. [DivXPro5](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_Codecs_AviCompressor_DivXPro5.htm.md), [XvidMpeg4](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_Codecs_AviCompressor_XvidMpeg4.htm.md), etc).
 
**Note** 
You should set this value **before** you open the writer object. You cannot change it when the writer is already opened!
   
## See Also

### Reference

- [AviWriter Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
