---
title: "AviFrame..::.IntermediateFrameCount Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviFrame_IntermediateFrameCount.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/)

# AviFrame.IntermediateFrameCount Property 
 
Gets/sets a number of intermediate frames that will be automatically inserted between the frame which is currently added and the previous one to create a transition effect.
 
**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 IntermediateFrameCount As Integer
```
 
```csharp
public int IntermediateFrameCount { get; set; }
```
 
### Property Value
An integer value which specifies how many intermediate frames to insert between two frames which are being added (to create transition effect). If 0 is specified, no transition is applied.
 
## Remarks
  
Use this parameter if you need to create a transition effect (i.e. when the previous frame is transformed into the next one with some way). Otherwise set this value to 0.
 
If you set the value which is higher than 0, do not forget to initialize the [Transition](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviFrame_Transition.htm.md) property.
 
When you calculate the result movie duration, do not forget to take this value into account. E.g. if you set this value to 10, on each call of the [AddFrame(IFrame)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_FormatWriter_AddFrame_1_7fae152b.htm.md) method, you actually add 11 frames into the movie rather than 1.
 
**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

- [AviFrame Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviFrame.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
