FFProbe.Data.Chapter
data Chapter Source #
Constructors
Fields
Example: "1/1000000000"
The timestamp, in seconds, of the start of the chapter
The timestamp, in seconds, of the end of the chapter
Additional tags
The aeson object for the entire JSON received from ffprobe.
Defined in FFProbe.Data.Chapter
Methods
parseJSON :: Value -> Parser Chapter #
parseJSONList :: Value -> Parser [Chapter] #
getTags :: Chapter -> TagList Source #
duration :: Chapter -> Float Source #
Gets the duration of the chapter, in seconds
title :: Chapter -> Maybe String Source #
Retrieves the title of the chapter, using its tags