]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/tests/fixtures/peertube-plugin-test-transcoding-one/main.js
1 async
function register ({ transcodingManager
}) {
6 const builder
= () => {
14 transcodingManager
.addVODProfile('libx264', 'low-vod', builder
)
18 const builder
= (options
) => {
21 '-r:' + options
.streamNum
+ ' 50'
26 transcodingManager
.addLiveProfile('libx264', 'high-live', builder
)
33 const builder
= () => {
41 transcodingManager
.addVODProfile('libx264', 'input-options-vod', builder
)
45 const builder
= () => {
53 transcodingManager
.addLiveProfile('libx264', 'input-options-live', builder
)
60 const builder
= () => {
68 transcodingManager
.addVODProfile('libx264', 'bad-scale-vod', builder
)
72 const builder
= () => {
80 transcodingManager
.addLiveProfile('libx264', 'bad-scale-live', builder
)
85 async
function unregister () {