+ it('Should apply input options in vod profile', async function () {
+ this.timeout(240000)
+
+ await updateConf(server, 'input-options-vod', 'default')
+
+ const videoUUID = (await uploadVideoAndGetId({ server, videoName: 'video' })).uuid
+ await waitJobs([ server ])
+
+ await checkVideoFPS(videoUUID, 'below', 6)
+ })
+
+ it('Should apply the scale filter in vod profile', async function () {
+ this.timeout(240000)
+
+ await updateConf(server, 'bad-scale-vod', 'default')
+
+ const videoUUID = (await uploadVideoAndGetId({ server, videoName: 'video' })).uuid
+ await waitJobs([ server ])
+
+ // Transcoding failed
+ const res = await getVideo(server.url, videoUUID)
+ const video: VideoDetails = res.body
+
+ expect(video.files).to.have.lengthOf(1)
+ expect(video.streamingPlaylists).to.have.lengthOf(0)
+ })
+