logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Video::Info::Magic - Resolve video filetype if possible.

Author

        Copyright (c) 2002
        Aladdin Free Public License (see LICENSE for details)
        Allen Day <allenday@ucla.edu>

Name

       Video::Info::Magic - Resolve video filetype if possible.

See Also

       Video::Info.  magic.

perl v5.36.0                                       2022-12-12                                   Info::Magic(3pm)

Synopsis

         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
       various constants related to video file formats.  All are prefixed with "VIDEO_".

       divine(): Employs /usr/share/magic entries to determine a file's type, as well as GUID and other info
       from Microsoft, mplayer, transcode...

See Also