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


Video-Info documentation  | view source Contained in the Video-Info distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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...

AUTHOR

Top

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

SEE ALSO

Top

Video::Info. magic.


Video-Info documentation  | view source Contained in the Video-Info distribution.