20#ifndef FFMPEG_KIT_MEDIA_INFORMATION_H
21#define FFMPEG_KIT_MEDIA_INFORMATION_H
37 static constexpr const char*
KeyFormat =
"format_name";
41 static constexpr const char*
KeySize =
"size";
43 static constexpr const char*
KeyTags =
"tags";
45 MediaInformation(std::shared_ptr<rapidjson::Value> mediaInformationValue, std::shared_ptr<std::vector<std::shared_ptr<ffmpegkit::StreamInformation>>> streams, std::shared_ptr<std::vector<std::shared_ptr<ffmpegkit::Chapter>>> chapters);
87 std::shared_ptr<std::string>
getSize();
101 std::shared_ptr<rapidjson::Value>
getTags();
108 std::shared_ptr<std::vector<std::shared_ptr<ffmpegkit::StreamInformation>>>
getStreams();
115 std::shared_ptr<std::vector<std::shared_ptr<ffmpegkit::Chapter>>>
getChapters();
136 std::shared_ptr<rapidjson::Value>
getProperty(
const char* key);
175 std::shared_ptr<std::vector<std::shared_ptr<ffmpegkit::StreamInformation>>>
_streams;
176 std::shared_ptr<std::vector<std::shared_ptr<ffmpegkit::Chapter>>>
_chapters;