Info::Magic(3pm)
okay so bestie, welcome to Info::Magic(3pm) β the manual page that's about to make video filetype detective work feel like a group chat. no cap. π
β¨ NAME β¨
Video::Info::Magic β Resolve video filetype if possible. fr fr, that's the whole name line. π¦
β¨ SYNOPSIS β¨
okay so here's the vibe in code form, and yes you can copy-paste this exactly:
use strict;
use Video::Info::Magic qw(:all);
my $type = divine('/path/to/video.mpg' );
print $type; #MPEG system stream data (maybe)
## ... see methods below
π«Ά EXPORT π«Ά
okay so the exports are giving useful constants related to video file formats. every single one is prefixed with "VIDEO_" β yes, with the quotes around it in the docs, so keep that energy. π
divine()β Employs/usr/share/magicentries to determine a file's type, as well as GUID and other info from Microsoft, mplayer, transcode... π₯
π AUTHOR π
this iconic work is:
- Copyright (c) 2002
- Aladdin Free Public License (see LICENSE for details)
- Allen Day <allenday@ucla.edu>
π SEE ALSO π
go check Video::Info. and magic.
and that's the whole page, bestie β sourced from perl v5.36.0, dated 2022-12-12, and it's the Info::Magic(3pm) manual. periodt. π
β¨
π¦ where this page comes from
- debian bookworm: libvideo-info-perl 0.993-5 Β· AFPL
- debian trixie: libvideo-info-perl 0.993-5 Β· AFPL
- ubuntu noble: libvideo-info-perl 0.993-5 Β· AFPL
- ubuntu resolute: libvideo-info-perl 0.993-5 Β· AFPL
- ubuntu stonking: libvideo-info-perl 0.993-5 Β· AFPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms