FFmpeg::FileFormat - A multimedia file format supported by FFmpeg (eg avi, mov, mpeg, mp3, &c)
$ff = FFmpeg->new(); #see FFmpeg $xx = $ff->file_format('mov'); #...do something with $xx
Instances of this class represent a file formats supported by FFmpeg-C. If a file format exists, it means that FFmpeg-C can use it to do at least one of:
See "FEEDBACK" in FFmpeg for details.
Allen Day <email@example.com>
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.
my $obj = new FFmpeg::FileFormat();
Builds a new FFmpeg::FileFormat object
an instance of FFmpeg::FileFormat
All optional, refer to the documentation of "new()" in FFmpeg, this constructor operates in the same way.
Internal method to initialize a new FFmpeg::FileFormat object
true on success
Arguments passed to new
$obj->can_read(); #get existing value
FFmpeg-C can use this format for input?
$obj->can_write(); #get existing value
FFmpeg-C can use this format for output?
$obj->description(); #get existing value
file format's description (long name)
value of description (a scalar)
$obj->mime_type(); #get existing value
MIME type associated with this file type (eg video/mpeg)
value of mime_type (a scalar)
$obj->extensions(); #get existing value
File extensions (following last '.') associated with format (eg mpg,mpeg)
value of extensions (a list)