Show / Hide Table of Contents

Struct AVChapter

Represents a chapter in a media container.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: FFmpeg.Formats
Assembly: FFmpeg.dll
Syntax
public readonly struct AVChapter
Remarks

An AVChapter provides access to the timing information and metadata associated with a chapter in a FormatContext.

Properties

View Source

Duration

Gets the duration of the chapter.

Declaration
public TimeSpan Duration { get; }
Property Value
Type Description
TimeSpan
Remarks

The duration is calculated from Start and End using TimeBase.

View Source

End

Gets the end timestamp of the chapter.

Declaration
public long End { get; }
Property Value
Type Description
long
Remarks

The value is expressed in units of TimeBase.

View Source

Id

Gets the unique identifier of the chapter.

Declaration
public long Id { get; }
Property Value
Type Description
long
View Source

Metadata

Gets the metadata associated with the chapter.

Declaration
public AVDictionary_ref Metadata { get; }
Property Value
Type Description
AVDictionary_ref
View Source

Start

Gets the start timestamp of the chapter.

Declaration
public long Start { get; }
Property Value
Type Description
long
Remarks

The value is expressed in units of TimeBase.

View Source

TimeBase

Gets the time base used by the chapter timestamps.

Declaration
public Rational TimeBase { get; }
Property Value
Type Description
Rational
Remarks

The Start and End values are expressed in units of this time base.

View Source

Title

Gets the title of the chapter, if one is available.

Declaration
public string? Title { get; }
Property Value
Type Description
string

The value of the title metadata entry, or null if no title is present.

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