ChapterForge
Loading...
Searching...
No Matches
moov_builder.hpp
Go to the documentation of this file.
1//
2// moov_builder.hpp
3// ChapterForge
4//
5// Created by Till Toenshoff on 12/9/25.
6// Copyright © 2025 Till Toenshoff. All rights reserved.
7//
8
9#pragma once
10#include <memory>
11#include <vector>
12
13#include "mp4_atoms.hpp"
14
15std::unique_ptr<Atom> build_moov(
16 uint32_t timescale, uint64_t duration_ts, std::unique_ptr<Atom> trak_audio,
17 std::vector<std::unique_ptr<Atom>> text_tracks, std::unique_ptr<Atom> trak_image,
18 std::unique_ptr<Atom> udta);
std::unique_ptr< Atom > build_moov(uint32_t timescale, uint64_t duration_ts, std::unique_ptr< Atom > trak_audio, std::vector< std::unique_ptr< Atom > > text_tracks, std::unique_ptr< Atom > trak_image, std::unique_ptr< Atom > udta)