---
title: "DSReader..::.FramesPerSecond Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_DSReader_FramesPerSecond.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/)

# DSReader.FramesPerSecond Property 
 
Gets the frames per second ratio of the video file.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Codecs.MediaProcessor (in Aurigma.GraphicsMill.Codecs.MediaProcessor.dll)
 
## Syntax
  
```
Public ReadOnly Property FramesPerSecond As Integer
```
 
```csharp
public int FramesPerSecond { get; }
```
 
### Property Value
An integer value which specifies how many frames should be displayed in one second.
 
### Implements
 
[ITimeReader.FramesPerSecond](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_ITimeReader_FramesPerSecond.htm.md)
 
## Examples
 This example shows how to get reader properties. ```
Private Sub GetDSReaderProperties(ByVal aReader As DSReader)
    Console.WriteLine("Framework priority: " & _
        aReader.CodecPriority.ToString())
    Console.WriteLine("Duration of the opened file: " & _
        aReader.Duration.ToString())
    Console.WriteLine("Number of frames in the opened file: " & _
        aReader.FrameCount.ToString())
End Sub
``````csharp
private void GetDSReaderProperties(DSReader aReader)
{
    Console.WriteLine("Framework priority: " +
        aReader.CodecPriority.ToString());
    Console.WriteLine("Duration of the opened file: " +
        aReader.Duration.ToString());
    Console.WriteLine("Number of frames in the opened file: " +
        aReader.FrameCount.ToString());
}
```
   
## See Also

### Reference

- [DSReader Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_DSReader.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
