FFmpeg::Stream 6036 review

Download
by rbytes.net on

FFmpeg::Stream is an audio or video stream from a (multi)media file. SYNOPSIS $ff = FFmpeg->new(); #see FFmpeg

License: Perl Artistic License
File size: 1804K
Developer: Allen Day
0 stars award from rbytes.net

FFmpeg::Stream is an audio or video stream from a (multi)media file.

SYNOPSIS

$ff = FFmpeg->new(); #see FFmpeg
#...
$sg = $ff->create_streamgroup(); #see FFmpeg
$st = ($sg->streams())[0]; #this is a FFmpeg::Stream

FFmpeg::Stream objects are not instantiated. Rather, objects are instantiated from FFmpeg::Stream's subclasses FFmpeg::Stream::Video for video streams, FFmpeg::Stream::Audio for audio streams, and FFmpeg::Stream::Data for streams containing neither audio nor video data. Streams identified in the file whose content type cannot be determined are represented by FFmpeg::Stream::Unknown objects.

Access FFmpeg::Stream objects using methods in FFmpeg::StreamGroup. See FFmpeg::StreamGroup for more information.

This class has attributes applicable to any stream type in a multimedia stream, or stream group. FFmpeg-Perl represents multimedia stream group information in a FFmpeg::StreamGroup object, which is a composite of FFmpeg::Stream objects.

FFmpeg::Stream objects don't do much. They just keep track of the media stream's ID within the multimedia stream group, and hold an instance to a FFmpeg::Codec object if the codec of the stream was deducible. See FFmpeg::Codec for more information about how codecs are represented.

Requirements:
Perl

FFmpeg::Stream 6036 search tags