---
name: "al_identify_video_f"
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_identify_video_f"
---

# al\_identify\_video\_f(3)

Allegro 5 API

## NAME

al\_identify\_video\_f - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_video.h>
  char const *al_identify_video_f(ALLEGRO_FILE *fp)
  ```

## DESCRIPTION

Tries to guess the video file type of the open ALLEGRO\_FILE by reading the first few bytes. By default Allegro cannot recognize any file types, but calling [al\_init\_video\_addon(3)](/al_init_video_addon/3.md) will add detection of the types it can read.

Returns a pointer to a static string with a file extension for the type, including the leading dot. For example “.ogv”. Returns NULL if the video type cannot be determined.

## SINCE

5\.2.8

## SEE ALSO

[al\_init\_video\_addon(3)](/al_init_video_addon/3.md), [al\_identify\_video(3)](/al_identify_video/3.md)
