---
name: "al_get_video_position"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_video_position"
---

# al\_get\_video\_position(3)

Allegro 5 API

## NAME

al\_get\_video\_position - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_video.h>
  double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which)
  ```

## DESCRIPTION

Returns the current position of the video stream in seconds since the beginning. The parameter is one of the [ALLEGRO\_VIDEO\_POSITION\_TYPE(3)](/ALLEGRO_VIDEO_POSITION_TYPE/3.md) constants.

## SINCE

5\.1.0
