Container
Name | Type | Description |
---|---|---|
verify | boolean | Enable or disable post transcode verification for this track. default: true |
kind | enum 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. |
vendor | enum ap10 | Insert this string as a "Vendor String" for those containers/packages that support it (such as MOV and MP4). |
movflags | string | The FFmpeg movflags. See https://www.ffmpeg.org/ffmpeg-formats.html for more information. |
muxrate_kb | integer | The multiplexer rate - only valid for MPEG transport streams. Omit to keep M2TS padding at a minimum. |
mux_warnings | enum as_errors ignore | Allow to complete jobs which otherwise are failing based on multiplexer warnings. |
faststart | boolean | Enable progressive download for .mov and .mp4 files. |
transport_id | integer | Set the TS Transport ID - only used for MPEG transport streams. maximum: 8190 |
use_sdt | boolean | Whether or not to include a Service Description Table in the target Transport Stream. MediaInfo will display this as "Menu." |
pcr_pid | integer | Set the PCR PID - only used for MPEG transport streams. maximum: 8190 |
pmt_pid | integer | Set the PMT PID - only used for MPEG transport streams. maximum: 8190 |
pcr_interval_ms | integer | Set the PCR interval - only used for MPEG transport streams. minimum: 20 maximum: 1000 |
pmt_interval_ms | integer | Set the PMT interval - only used for MPEG transport streams. minimum: 20 maximum: 1000 |
pat_interval_ms | integer | Set the PAT interval - only used for MPEG transport streams. minimum: 20 maximum: 1000 |
ts_offset_ms | number | Set the ts offset in the output file. |
segment_duration_sec | number | 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_duration | boolean | Ensure segment duration is an integer multiple of the frame duration. default: true |
auto_speed_change_delta_percent | number | 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_media | boolean | For subtitles only, align duration and segmenting to A/V media time. |
references_location | object | The location of payload files for containers having external references. |
title | string | An optional title. Note that not all multiplexers support adding a title. |
author | string | An optional author. Note that not all multiplexers support adding an author. |
copyright | string | An optional copyright string. Note that not all multiplexers support adding a copyright string. |
info_url | string | An optional info URL string. Note that not all multiplexers support adding a URL. |
filters | array | An array defining the filters to be applied at the container level. |
attributes | array | Container attributes. The specific meaning depends on container format. For dash-mp4 for example, these can be mpd xpath replacements. |
enable_data_tracks | boolean | By default, data tracks, such as time code, in mov are disabled/unchecked. This will enable all such tracks. |
mov_atoms | object | Override container or all-track MOV atoms. |
dvd_compatible | boolean | Enables constraints making enhancing DVD compatibility. Applies to kind='mp2_program/dvd/vob' only. |
brand | string | Setting the ftyp of a mp4/mov/3g file. Example: '3gp5'. |
compatible_brands | array | Appending to compatible ftyp(s) of a mp4/mov/3g file. Example: '["3gp5"]'. |
forced_compatible_brands | array | Replacing the compatible ftyp(s) of a mp4/mov/3g file. Example: '["3gp5"]'. |
mainconcept_mux_profile | enum 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_options | string | Provide direct instruction to the MainConcept multiplexer. Values are constructed as "prop=val,prop=val". See MainConcept documentation for valid values. |
scte35 | oneOf 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
}
]
}
]
}
}