Skip to main content

Container

NameTypeDescription
verifybooleanEnable or disable post transcode verification for this track.
default: true
kindenum                          
copy
avi
hls
hls_subtitle
dash-mp4
dash-vod
dash-live
dash-segment
mp4
fmp4
segmented_mp4
mpegts
segmented_ts
mpeg2ts
mov
mxf
mxf_d10
webm
mkv
nut
ismv
3gp
mpeg2video
mp1_system
mp2_program
mp1_elementary
mp2_elementary
vob
dvd
aac
mp3
wav
bwf
aiff
aa
flac
alaw
mulaw
ogg
jpg
j2k
ass
srt
stl
ttml
imsc1
webvtt
elementary
dvbsub
scc
mcc
The container (i.e. multiplexing) format.
vendorenum                          
ap10
Insert this string as a "Vendor String" for those containers/packages that support it (such as MOV and MP4).
movflagsstringThe FFmpeg movflags. See https://www.ffmpeg.org/ffmpeg-formats.html for more information.
muxrate_kbintegerThe multiplexer rate - only valid for MPEG transport streams. Omit to keep M2TS padding at a minimum.
mux_warningsenum                          
as_errors
ignore
Allow to complete jobs which otherwise are failing based on multiplexer warnings.
faststartbooleanEnable progressive download for .mov and .mp4 files.
transport_idintegerSet the TS Transport ID - only used for MPEG transport streams.
maximum: 8190
use_sdtbooleanWhether or not to include a Service Description Table in the target Transport Stream. MediaInfo will display this as "Menu."
pcr_pidintegerSet the PCR PID - only used for MPEG transport streams.
maximum: 8190
pmt_pidintegerSet the PMT PID - only used for MPEG transport streams.
maximum: 8190
pcr_interval_msintegerSet the PCR interval - only used for MPEG transport streams.
minimum: 20
maximum: 1000
pmt_interval_msintegerSet the PMT interval - only used for MPEG transport streams.
minimum: 20
maximum: 1000
pat_interval_msintegerSet the PAT interval - only used for MPEG transport streams.
minimum: 20
maximum: 1000
ts_offset_msnumberSet the ts offset in the output file.
segment_duration_secnumber
The segment duration in seconds for segmented or fragmented streams such as HLS or mp4/MPEG-DASH. Decimal notation (e.g. 5.5) is supported.
vframe_align_segment_durationboolean
Ensure segment duration is an integer multiple of the frame duration.
default: true
auto_speed_change_delta_percentnumber
If the frame rate delta is larger than this value, do not attempt to speed-change. Default: just allows 29.97->30 and 23.97-24 speed changes
align_to_av_mediabooleanFor subtitles only, align duration and segmenting to A/V media time.
references_locationobjectThe location of payload files for containers having external references.
titlestringAn optional title. Note that not all multiplexers support adding a title.
authorstringAn optional author. Note that not all multiplexers support adding an author.
copyrightstringAn optional copyright string. Note that not all multiplexers support adding a copyright string.
info_urlstringAn optional info URL string. Note that not all multiplexers support adding a URL.
filtersarrayAn array defining the filters to be applied at the container level.
attributesarrayContainer attributes. The specific meaning depends on container format. For dash-mp4 for example, these can be mpd xpath replacements.
enable_data_tracksbooleanBy default, data tracks, such as time code, in mov are disabled/unchecked. This will enable all such tracks.
mov_atomsobjectOverride container or all-track MOV atoms.
dvd_compatiblebooleanEnables constraints making enhancing DVD compatibility. Applies to kind='mp2_program/dvd/vob' only.
brandstringSetting the ftyp of a mp4/mov/3g file. Example: '3gp5'.
compatible_brandsarray                          Appending to compatible ftyp(s) of a mp4/mov/3g file. Example: '["3gp5"]'.
forced_compatible_brandsarray                          Replacing the compatible ftyp(s) of a mp4/mov/3g file. Example: '["3gp5"]'.
mainconcept_mux_profileenum                          
VCD
SVCD
DVD
DVD_MPEG1
DVD_DVR
DVD_DVR_MPEG1
DVD_PVR
DVD_PVR_MPEG1
DTV
DVB
MMV
DVHS
ATSC
ATSCHI
CABLELABS
ATSC_C
HDV_HD1
HDV_HD2
D10
D10_25
D10_30
D10_40
D10_50
HD_DVD
MainConcept multiplexer profile. See the MainConcept documentation for details.
mainconcept_mux_optionsstring
Provide direct instruction to the MainConcept multiplexer. Values are constructed as "prop=val,prop=val". See MainConcept documentation for valid values.
scte35oneOf         
scte35_in_source
scte35_in_sidecar
scte35_in_json
Settings to control the insertion of SCTE35 markers into the output.

Example container

{
"uid": "transcode_task",
"kind": "transcode",
"payload": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_folder"
},
"targets": [
{
"file_pattern": "{source_basename}_output{default_extension}",
"existing_files": "replace",
"container": {
"kind": "mpeg2ts"
},
"video": {
"codec": "h264",
"bitrate_mode": "cbr",
"bitrate_kb": 1000,
"profile": "main",
"level": "4.0",
"height": 720
},
"audio": [
{
"codec": "aac",
"channels": 2,
"sample_rate": 48000,
"sample_size": 16,
"bitrate_kb": 128
}
]
}
]
}
}