ChapterForge
Loading...
Searching...
No Matches
mp4_muxer.hpp File Reference
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include <utility>
#include "aac_extractor.hpp"
#include "metadata_set.hpp"
#include "mp4_atoms.hpp"
#include "mp4a_builder.hpp"
#include "stbl_image_builder.hpp"
#include "stbl_text_builder.hpp"
Include dependency graph for mp4_muxer.hpp:

Go to the source code of this file.

Functions

bool write_mp4 (const std::string &path, const AacExtractResult &aac, const std::vector< ChapterTextSample > &text_chapters, const std::vector< ChapterImageSample > &image_chapters, Mp4aConfig audio_cfg, const MetadataSet &meta, bool fast_start=true, const std::vector< std::pair< std::string, std::vector< ChapterTextSample > > > &extra_text_tracks={}, const std::vector< uint8_t > *ilst_payload=nullptr, const std::vector< uint8_t > *meta_payload=nullptr)
 

Function Documentation

◆ write_mp4()

bool write_mp4 ( const std::string &  path,
const AacExtractResult aac,
const std::vector< ChapterTextSample > &  text_chapters,
const std::vector< ChapterImageSample > &  image_chapters,
Mp4aConfig  audio_cfg,
const MetadataSet meta,
bool  fast_start = true,
const std::vector< std::pair< std::string, std::vector< ChapterTextSample > > > &  extra_text_tracks = {},
const std::vector< uint8_t > *  ilst_payload = nullptr,
const std::vector< uint8_t > *  meta_payload = nullptr 
)