Это похоже на работу
Outputs:
[
{
Key: 'dash/' + id + '_audio.fmp4',
PresetId: '1351620000001-500060',
SegmentDuration: '3',
Watermarks: [],
Composition: [],
},
{
Key: 'dash/' + id + '_600k.fmp4',
PresetId: '1351620000001-500050',
SegmentDuration: '3',
Watermarks: [],
Composition: [],
},
{
Key: 'dash/' + id + '_1200k.fmp4',
PresetId: '1351620000001-500040',
SegmentDuration: '3',
Watermarks: [],
Composition: [],
},
{
Key: 'dash/' + id + '_2400k.fmp4',
PresetId: '1351620000001-500030',
SegmentDuration: '3',
Watermarks: [],
Composition: [],
},
{
Key: 'dash/' + id + '_4800k.fmp4',
PresetId: '1351620000001-500020',
SegmentDuration: '3',
Watermarks: [],
Composition: [],
},
],
Playlists:
[
{
Name: 'dash/' + id,
Format: 'MPEG-DASH',
OutputKeys: [
'dash/' + id + '_audio.fmp4',
'dash/' + id + '_600k.fmp4',
'dash/' + id + '_1200k.fmp4',
'dash/' + id + '_2400k.fmp4',
'dash/' + id + '_4800k.fmp4'
],
},
],