20#ifndef FFMPEG_KIT_CHAPTER_H
21#define FFMPEG_KIT_CHAPTER_H
24#define RAPIDJSON_ASSERT(x)
25#include "rapidjson/document.h"
37 static constexpr const char*
KeyId =
"id";
39 static constexpr const char*
KeyStart =
"start";
41 static constexpr const char*
KeyEnd =
"end";
43 static constexpr const char*
KeyTags =
"tags";
45 Chapter(std::shared_ptr<rapidjson::Value> chapterValue);
47 std::shared_ptr<int64_t>
getId();
55 std::shared_ptr<int64_t>
getEnd();
59 std::shared_ptr<rapidjson::Value>
getTags();
80 std::shared_ptr<rapidjson::Value>
getProperty(
const char* key);
static constexpr const char * KeyEnd
std::shared_ptr< rapidjson::Value > getProperty(const char *key)
std::shared_ptr< std::string > getStartTime()
std::shared_ptr< int64_t > getNumberProperty(const char *key)
static constexpr const char * KeyStartTime
std::shared_ptr< rapidjson::Value > getAllProperties()
static constexpr const char * KeyId
std::shared_ptr< int64_t > getStart()
static constexpr const char * KeyTags
static constexpr const char * KeyStart
std::shared_ptr< int64_t > getEnd()
std::shared_ptr< rapidjson::Value > _chapterValue
std::shared_ptr< std::string > getEndTime()
static constexpr const char * KeyEndTime
static constexpr const char * KeyTimeBase
std::shared_ptr< int64_t > getId()
std::shared_ptr< std::string > getStringProperty(const char *key)
std::shared_ptr< std::string > getTimeBase()
std::shared_ptr< rapidjson::Value > getTags()