---
title: "AviCompressor..::.GetVideoCompressor Method (Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_AviCompressor_GetVideoCompressor_1_e1836fc4.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/)

# AviCompressor.GetVideoCompressor Method (Int32)
 
Returns a compressor object by its handler.
 
**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 Shared Function GetVideoCompressor ( _compressionHandler As Integer _
) As AviCompressor
```
 
```csharp
public static AviCompressor GetVideoCompressor(int compressionHandler
)
```
 
### Parameters
 
 - compressionHandler
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
An integer value which means the compressor handler (FOURCC code interpreted as 32-bit integer number rather than a string).
 
### Return Value
An instance of the [AviCompressor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviCompressor.htm.md) class which corresponds to the specified handler.
   
## See Also

### Reference

- [AviCompressor Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviCompressor.htm.md)
- [GetVideoCompressor Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_AviCompressor_GetVideoCompressor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
