Skip to main content

Mpeg2

NameTypeDescription
soft_telecinebooleanThis will produce a file with field repeat flags set, playing interlaced @ 29.97. Requires a frame rate of 24000/1001 and the hybrik_3.2 or greater ffmpeg version.

Example mpeg2

{
"uid": "transcode_media",
"kind": "transcode",
"payload": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_folder"
},
"targets": [
{
"file_pattern": "{source_basename}_converted.ts",
"existing_files": "replace",
"container": {
"kind": "mpeg2ts"
},
"video": {
"codec": "mpeg2",
"width": 1920,
"height": 1080,
"bitrate_kb": 6000,
"max_bitrate_kb": 8000,
"bitrate_mode": "vbr",
"closed_captions": {
"enable_cea608": true,
"enable_cea708": true
}
},
"audio": [
{
"codec": "heaac_v2",
"channels": 2,
"sample_rate": 48000
}
]
}
]
}
}