Package com.github.kokorin.jaffree.nut
Class Info
java.lang.Object
com.github.kokorin.jaffree.nut.Info
Nut format Info packet description.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intThe ID of the chapter this packet applies to.final longLength of chapter in the same timebase as chapter_start.final longtimestamp of start of chapter.final DataItem[]Info packet metadata.final intId of stream to which this info should be applied.final intTimebase ID forchapterStartPtsandchapterLengthPts. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
streamId
public final int streamIdId of stream to which this info should be applied. -1 means Info should be applied to all streams. -
chapterId
public final int chapterIdThe ID of the chapter this packet applies to.If zero, the packet applies to the whole file. Positive chapter_id values represent real chapters and MUST NOT overlap.
A negative chapter_id indicates a region of the file and not a real chapter. chapter_id MUST be unique to the region it represents.
chapter_id n MUST NOT be used unless there are at least n chapters in the file.
-
chapterStartPts
public final long chapterStartPtstimestamp of start of chapter.2 info packets which apply to the same subset of streams SHOULD use the same timebase.
-
chapterLengthPts
public final long chapterLengthPtsLength of chapter in the same timebase as chapter_start. -
timebaseId
public final int timebaseIdTimebase ID forchapterStartPtsandchapterLengthPts. -
metaData
Info packet metadata.
-
-
Constructor Details
-
Info
public Info(int streamId, int chapterId, long chapterStartPts, long chapterLengthPts, int timebaseId, DataItem[] metaData) Creates Info packet description.- Parameters:
streamId- stream idchapterId- chapter idchapterStartPts- chapter startchapterLengthPts- chapter lengthtimebaseId- timebase IDmetaData- metadata list
-
-
Method Details