sungogl.blogg.se

Ffmpegx streaming
Ffmpegx streaming












ffmpegx streaming

$obj->codec_tag($newval) #set new value Function (optional) on set, an object of class FFmpeg::Codec codec_tag() Usage $obj->codec_tag() #get existing value $obj->codec($newval) #set new FFmpeg::Codec Function ReturnsĪn object of class FFmpeg::Codec Arguments None, read-only codec() Usage $obj->codec() #get existing FFmpeg::Codec Value of bit_rate_tolerance (a scalar) Arguments bit_rate_tolerance() Usage $obj->bit_rate_tolerance() #get existing value Function There are sticky issues here, please refer to "bit_rate()" in FFmpeg::StreamGroup for details. Internal method to initialize a new FFmpeg::Stream object ReturnsĪrguments passed to new bit_rate() Usage $obj->bit_rate() #get existing value FunctionĪverage bit rate of stream, in bits/second. codec_tag (optional)įourcc converted to an unsigned int. currently this is only used for decoding purposes, but when transcoding/encoding is implemented in FFmpeg-Perl, this will be used to set an encoding codec. codec (optional)Ī FFmpeg::Codec object used to decode this stream. The four-character-code of the stream's codec. new() Usageīuilds a new FFmpeg::Stream object ReturnsĪn instance of FFmpeg::Stream Arguments fourcc (optional) Methods are in alphabetical order for the most part. Internal methods are usually preceded with a '_'. The rest of the documentation details each of the object methods.

#FFMPEGX STREAMING LICENSE#

This library is released under GPL, the Gnu Public License APPENDIX See FFmpeg::Codec for more information about how codecs are represented. 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. FFmpeg-Perl represents multimedia stream group information in a FFmpeg::StreamGroup object, which is a composite of FFmpeg::Stream objects.įFmpeg::Stream objects don't do much. This class has attributes applicable to any stream type in a multimedia stream, or stream group. See FFmpeg::StreamGroup for more information. Streams identified in the file whose content type cannot be determined are represented by FFmpeg::Stream::Unknown objects.Īccess FFmpeg::Stream objects using methods in FFmpeg::StreamGroup. 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. $st = ($sg->streams()) #this is a FFmpeg::Stream DESCRIPTIONįFmpeg::Stream objects are not instantiated. $sg = $ff->create_streamgroup() #see FFmpeg FFmpeg::Stream - An audio or video stream from a (multi)media file.














Ffmpegx streaming