---
title: "AviCompressor..::.GetVideoCompressor Method (String)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_AviCompressor_GetVideoCompressor_1_bb3a7a4f.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 (String)
 
Returns a compressor object by its FOURCC code.
 
**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 ( _format As String _
) As AviCompressor
```
 
```csharp
public static AviCompressor GetVideoCompressor(string format
)
```
 
### Parameters
 
 - format
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
A string which specifies FOURCC code of the compressor you need to retrieve.
 
### 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 FOURCC code.
   
## 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)
