al_identify_video_f(3)
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