AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::avblocks::Param::Muxer::MP4 Namespace Reference

Parameters specific to MP4 muxers. More...

Variables

static const char FastStart [] = "MUXER_MP4_FAST_START"
 Run a second pass moving the moov atom before the mdat atom. More...
 
static const char FastStartTempFileDirectory [] = "MUXER_MP4_FAST_START_TEMP_FILE_DIRECTORY"
 Specifies the temp file directory. More...
 
static const char FastStartUseTempFile [] = "MUXER_MP4_FAST_START_USE_TEMP_FILE"
 Specifies whether a temp file should be used during the second pass. More...
 

Detailed Description

Parameters specific to MP4 muxers.

Variable Documentation

const char FastStart[] = "MUXER_MP4_FAST_START"
static

Run a second pass moving the moov atom before the mdat atom.

Unless specified otherwise, the moov atom is normally stored at the end of the file. If the planned delivery method is progressive download or streaming, the moov atom will have to be moved to the beginning of the file.

This parameter is a boolean value expressed as an integer (1|0).

The default is False (0).

  • If True (1) a second pass will reorder the atoms in the file. The atoms will be in the order: moov, mdat.
  • If False (0) the atoms in the file will be in the order: mdat, moov.
const char FastStartTempFileDirectory[] = "MUXER_MP4_FAST_START_TEMP_FILE_DIRECTORY"
static

Specifies the temp file directory.

If this parameter is not set then the system temp path will be used.

This parameter is a StringParameter (const char_t*).

const char FastStartUseTempFile[] = "MUXER_MP4_FAST_START_USE_TEMP_FILE"
static

Specifies whether a temp file should be used during the second pass.

This parameter is a boolean value expressed as an integer (1|0).

The default is False (0).

  • If True (1) a temp file will be used to reorder the atoms in the mp4 file.
  • If False (0) the atoms reordering will be done in-place.