com.phronemophobic.clj-media.model
IFrame
protocol
members
media-format
(media-format this)
Returns the media format as a keyword.
media-type
(media-type this)
Returns the media type. One of :media-type/audio
, :media-type/video
.
presentation-time
(presentation-time this)
Returns the presentation time of the frame in seconds.
pts
(pts this)
Returns the presentation timestamp in time-base
units.
time-base
(time-base this)
Returns the time base as a two element collection of numerator, denominator.
IFrameData
protocol
members
byte-buffer
(byte-buffer this)
(byte-buffer this plane-index)
Returns a java.nio.ByteBuffer mapped to the raw data of this frame. Only valid for video and non planar audio
IVideoFrame
protocol
members
image
(image this)
Returns a java.awt.image.BufferedImage for the contents of this frame.