al_identify_video_f(3)

πŸ“¦
version 5.2.11.3 Β· 2 versions
, in arch rolling

al_identify_video_f(3) πŸŽ€

okay so bestie, welcome to the Library Functions Manual page for al_identify_video_f(3) β€” Allegro 5 API β€” and we're about to make video-type guessing make sense, fr fr πŸ’…

✨ NAME ✨

al_identify_video_f β€” Allegro 5 API

πŸ“Ž SYNOPSIS πŸ“Ž

#include <allegro5/allegro_video.h>

char const *al_identify_video_f(ALLEGRO_FILE *fp)

πŸ’– DESCRIPTION πŸ’–

This function tries to guess the video file type of the open ALLEGRO_FILE by reading the first few bytes. Lowkey detective energy πŸ”

By default, Allegro cannot recognize any file types β€” like, none, bestie 😭 β€” but calling al_init_video_addon(3) will add detection of the types it can read. So that's the glow-up right there ✨

It returns a pointer to a static string with a file extension for the type, including the leading dot. For example, .ogv πŸŽ€ And if the video type cannot be determined? It returns NULL, periodt πŸ’€

πŸ•°οΈ SINCE πŸ•°οΈ

5.2.8 β€” she's been iconic since then πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

go check out the whole squad, iykyk 🫢


okay that's the whole page, bestie! source/version: Allegro reference manual Β· footer title: al_identify_video_f(3) Β· date: the original footer didn't list one, so no invented date here, just receipts πŸŒˆπŸ’–

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms