Info::FOO(3pm)
π NAME π
okay so bestie, lemme introduce you to Video::Info::FOO β and like, what is it even useful for?? an example list, literally right here:
-video codec-audio codec-frame height-frame width-frame count
and more! π (yes, MORE, we're not even done)
β¨ SYNOPSIS β¨
use Video::Info::FOO;
my $video;
$video->vcodec; #video codec
$video->acodec; #audio codec
...
π¦ DESCRIPTION π¦
so likeβ¦ what does the module actually do? What are its limitations? Is it built on top of other code? π and if so, what are the deets and where can I even get it?? These are the questions, bestie.
πΈ METHODS πΈ
Video::Info::FOO has one constructor, new(). It gets called like this:
-file => $filename, #your RIFF file
-headersize => $headersize #optional RIFF header size to parse
Returns a Video::Info::FOO object if the file was opened successfully. π«Ά
The Video::Info::FOO object parses the file by method probe(). This does a series of sysread()s on the file to figure out what the properties are. no cap, it's just reading bytes and vibing.
Now, call one (or more) of these methods to get the low-down on your file:
achans()β number of audio channelsacodec()β audio codecacodecraw()β audio codec numeric IDarate()β audio bitrateafrequency()β sampling rate of audio streams, in Hertzastreams()β number of audio streamsfilename()β path file used to create objectfilesize()β size in bytes offilename()fps()β frames/secondheight()β frame height in pixelsprobe()β try to determine filetypescale()β video bitratetype()β type of file data. RIFF or AVIvcodec()β video codecvframes()β number of framesvrate()β video bitratevstreams()β number of video streamswidth()β frame width in pixels...β...and_so_on()β...
π BUGS π
Audio codec name mapping is incomplete. π If you know the name that corresponds to an audio codec ID that I don't, tell the Video::Info::Magic author, Allen Day <allenday@ucla.edu>. pls, they're begging.
π AUTHOR π
Copyright (c) 2002
Aladdin Free Public License (see LICENSE for details)
Your Name <your.name@email.address>
π REFERENCES π
- List any references that were used to write
Video::Info::FOO, preferably with URLs.
and that's the whole page, bestie!! π
this was perl v5.36.0, dated 2022-12-12, and it's the 3pm manual (User Contributed Perl Documentation, iykyk). slay, go read some RIFF headers. π§β¨
π¦ 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