1#ifndef TAG_PARSER_MP4CONTAINER_H
2#define TAG_PARSER_MP4CONTAINER_H
18class TAG_PARSER_EXPORT Mp4Container final :
public GenericContainer<MediaFileInfo, Mp4Tag, Mp4Track, Mp4Atom> {
20 Mp4Container(MediaFileInfo &fileInfo, std::uint64_t startOffset);
21 ~Mp4Container()
override;
23 bool supportsTrackModifications()
const override;
24 bool isFragmented()
const;
25 void reset()
override;
27 ElementPosition determineIndexPosition(Diagnostics &diag)
const override;
29 static const CppUtilities::DateTime
epoch;
38 void updateOffsets(
const std::vector<std::int64_t> &oldMdatOffsets,
const std::vector<std::int64_t> &newMdatOffsets,
Diagnostics &diag,
The AbortableProgressFeedback class provides feedback about an ongoing operation via callbacks.
The Diagnostics class is a container for DiagMessage.
bool supportsTrackModifications() const override
Returns whether the implementation supports adding or removing of tracks.
static const CppUtilities::DateTime epoch
Dates within MP4 tracks are expressed as the number of seconds since this date.
bool isFragmented() const
Returns whether the file is fragmented.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Contains all classes and functions of the TagInfo library.