<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">SYNOPSIS

     use Media::Info qw(get_media_info);
     my $res = get_media_info(media =&gt; '/path/to/celine.mp4');

    Sample result:

     [
       200,
       "OK",
       {
         audio_bitrate =&gt; 128000,
         audio_format  =&gt; 85,
         audio_rate    =&gt; 44100,
         duration      =&gt; 2081.25,
         num_channels  =&gt; 2,
         num_chapters  =&gt; 0,
       },
       {
         "func.raw_output" =&gt; "ID_AUDIO_ID=0\n...",
       },
     ]

DESCRIPTION

    This module provides a common interface for Media::Info::* modules,
    which you can use to get information about a media file (like video,
    music, etc) using specific backends. Currently the available backends
    include Media::Info::Mplayer and Media::Info::Ffmpeg.

SEE ALSO

    Video::Info - This module is first written because I couldn't install
    Video::Info. That module doesn't seem maintained (last release is in
    2003 at the time of this writing), plus I want a per-backend namespace
    organization instead of per-format one, and a simple functional
    interface instead of OO interface.

</pre></body></html>