Struct AVChapter
Represents a chapter in a media container.
Inherited Members
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 SourceDuration
Gets the duration of the chapter.
Declaration
public TimeSpan Duration { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Remarks
View SourceEnd
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.
Id
Gets the unique identifier of the chapter.
Declaration
public long Id { get; }
Property Value
| Type | Description |
|---|---|
| long |
Metadata
Gets the metadata associated with the chapter.
Declaration
public AVDictionary_ref Metadata { get; }
Property Value
| Type | Description |
|---|---|
| AVDictionary_ref |
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.
TimeBase
Gets the time base used by the chapter timestamps.
Declaration
public Rational TimeBase { get; }
Property Value
| Type | Description |
|---|---|
| Rational |
Remarks
View SourceTitle
Gets the title of the chapter, if one is available.
Declaration
public string? Title { get; }
Property Value
| Type | Description |
|---|---|
| string | The value of the |