Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ffmpeg
v1.0.0
FFmpeg
Codec
Format
Frame
LibAV
Discard
MediaType
PixelFormat
MediaType
Packet
Parameters
PixelFormat
ScalingAlgorithm
SWScale
Video
File
UDP
Built with Crystal 1.9.2
2023-10-08 09:25:37 UTC
class
FFmpeg::Video::File
FFmpeg::Video::File
FFmpeg::Video
Reference
Object
Defined in:
ffmpeg/video/file.cr
Constructors
.new
(filename : String | Path)
Instance Method Summary
#close
: Nil
#closed?
: Bool
#configure_read
#input
: String
Instance methods inherited from class
FFmpeg::Video
close : Nil
close
,
closed? : Bool
closed?
,
codec : Codec | Nil
codec
,
configure_read
configure_read
,
each_frame(&)
each_frame
,
finalize
finalize
,
format : Format
format
,
input : String
input
,
on_codec(&on_codec : Codec -> )
on_codec
Class methods inherited from class
FFmpeg::Video
open(input : Path | URI)
open
Constructor Detail
def self.
new
(filename : String | Path)
#
[
View source
]
Instance Method Detail
def
close
: Nil
#
[
View source
]
def
closed?
: Bool
#
[
View source
]
def
configure_read
#
[
View source
]
def
input
: String
#
[
View source
]