Show / Hide Table of Contents

Enum AVSeek

Flags used for seeking operations within a stream or file in FFmpeg. These flags can be combined using a bitwise OR to modify the behavior of seeking functions.

Namespace: FFmpeg.IO
Assembly: FFmpeg.dll
Syntax
[Flags]
public enum AVSeek

Fields

Name Description
Begin

Specifies the beginning of the stream as the reference point for the seek operation.

Current

Specifies the current position within the stream as the reference point for the seek operation.

End

Specifies the end of the stream as the reference point for the seek operation.

Force

Passing this flag as the "whence" parameter to a seek function allows seeking by any means necessary. This can include reopening, linear reading, or other normally unreasonable methods that can be extremely slow.

Size

ORing this as the "whence" parameter to a seek function causes it to return the filesize without actually seeking anywhere. Supporting this is optional; if not supported, the seek function will return a negative value.

  • View Source
In this article
Back to top Generated by DocFX