- video <-position: -> seconds=num
- Time in the video, which advances while playing.
- video <-size: -> size
- Size of the frames.
- video <-frame_rate: -> num
- Frames per second, 0 if unknown.
- video <-duration: -> seconds=num
- Length of the video, 0 if unknown.
- video <-codec: -> name
- Name of the video decoder, e
.g., h264.
- video <-audio_codec: -> name
- Name of the audio decoder, e
.g., aac.
Fails if the video has no sound we play.
- video <-live: -> bool
- @on for a
network stream that cannot seek, such as a live camera or broadcast. A
live video has no duration, video
->position
fails and
video<-loop
is ignored. It plays from the first frame it receives. If playing falls
behind, frames and sound are dropped, so the delay stays small.
- video <-has_audio: -> bool
- Whether the video has sound we play.
- video <-image: at=[num] -> image
- Copy of the current frame or, given a time, of the frame shown at that
time, e
.g., for a thumbnail. The latter
decodes the frame without disturbing playing.