hls-transcoder
Version:
A tool to easily convert videos into HLS format
52 lines (51 loc) • 986 B
text/typescript
const MultiResRenditions1080 = [
{
width: 640,
height: 360,
hlsTime: 4,
master_title: '360p',
profile: 'main', // profile here?
outputDir: `${__dirname}/output/360p`,
renditions: [
{
profile: 'main', // or profile here?
bv: '600k',
maxrate: '656k',
bufsize: '1200k',
ba: '48k',
},
{
profile: 'main',
bv: '800k',
maxrate: '856k',
bufsize: '1200k',
ba: '96k',
}
]
},
{
width: 720,
height: 480,
hlsTime: 4,
master_title: '480p',
profile: 'main',
outputDir: `${__dirname}/output/480p`,
renditions: [
{
profile: 'main',
bv: '800k',
maxrate: '856k',
bufsize: '1200k',
ba: '96k',
},
{
profile: 'main',
bv: '1400k',
maxrate: '1498k',
bufsize: '2100k',
ba: '128k',
}
]
}
]
export default MultiResRenditions1080