Media::MediaInfoLib - Perl interface to the MediaInfoLib
use Media::MediaInfoLib qw(STREAM_VIDEO);
my $info = Media::MediaInfoLib->open('/path/to/file.mp4');
print $info->get(STREAM_VIDEO, 0, 'BitRate'), "\n";
print $info->inform, "\n";
Media::MediaInfoLib module provides an interface to the MediaInfoLib.
Open the file (Scalar) or content (ScalarRef).
Get all details about a file in one string.
$info->get($stream_kind, $stream_number, $parameter [,$info_kind = INFO_TEXT, $search_kind = INFO_NAME])
Get a piece of information about a file.
Configure or get information about MediaInfoLib.
Configure or get information about MediaInfoLib.
Count of streams of a stream kind, or count of piece of information in this stream.
https://github.com/MediaArea/MediaInfoLib
Copyright (C) Jiro Nishiguchi.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jiro Nishiguchi jiro@cpan.org