| FFmpeg documentation | view source | Contained in the FFmpeg distribution. |
FFmpeg::Stream::Video - A video stream from a (multi)media stream group.
$ff = FFmpeg->new(); #see FFmpeg #... $sg = $ff->create_streamgroup(); #see FFmpeg $st = ($sg->streams())[0]; #this is a FFmpeg::Stream
Objects of this class are not intended to be instantiated directly by the end user. Access FFmpeg::Stream::Video objects using methods in FFmpeg::StreamGroup. See FFmpeg::StreamGroup for more information.
This class represents a video stream in a multimedia stream group. General stream attributes can be found in the FFmpeg::Stream class.
See FEEDBACK in FFmpeg for details.
Allen Day <allenday@ucla.edu>
Copyright (c) 2003-2004 Allen Day
This library is released under GPL, the Gnu Public License
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a '_'. Methods are in alphabetical order for the most part.
This class inherits from FFmpeg::Stream. See FFmpeg::Stream/new() (FFmpeg::Stream::new())
This class inherits from FFmpeg::Stream. See FFmpeg::Stream/init() (FFmpeg::Stream::init())
$obj->video_rate(); #get existing value
video rate (frame rate) in frames/second. this only applies to video streams
value of video_rate (a scalar)
none, read-only
$obj->height(); #get existing value
height of the stream, in pixels
value of height (a scalar)
none, read-only
$obj->quality(); #get existing value
stores a quantitative metric of the video codec "encoding quality". this is not comparable between different codecs.
value of quality (a scalar)
none, read-only
$obj->width(); #get existing value
width of the stream, in pixels
value of width (a scalar)
none, read-only
| FFmpeg documentation | view source | Contained in the FFmpeg distribution. |