Allen Day > Video-Info > Video::Info::Magic

Download:
Video-Info-0.993.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 1.01   Source  

NAME ^

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

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

AUTHOR ^

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

SEE ALSO ^

Video::Info. magic.

syntax highlighting: