diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-29 15:31:31 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-29 15:31:31 +0100 |
commit | a8537c622ed8ff58b26a74a8d86e7c5b890f8af2 (patch) | |
tree | 6681cdbba4975135377f93932671e8a96c2055de /server/tests/plugins | |
parent | b87b606a65c9baa30742d74dd470945b08e17601 (diff) | |
download | PeerTube-a8537c622ed8ff58b26a74a8d86e7c5b890f8af2.tar.gz PeerTube-a8537c622ed8ff58b26a74a8d86e7c5b890f8af2.tar.zst PeerTube-a8537c622ed8ff58b26a74a8d86e7c5b890f8af2.zip |
Use veryfast preset for default transcoding profile
Diffstat (limited to 'server/tests/plugins')
-rw-r--r-- | server/tests/plugins/plugin-transcoding.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/plugins/plugin-transcoding.ts b/server/tests/plugins/plugin-transcoding.ts index 90ef01b92..ecea21e69 100644 --- a/server/tests/plugins/plugin-transcoding.ts +++ b/server/tests/plugins/plugin-transcoding.ts | |||
@@ -203,10 +203,10 @@ describe('Test transcoding plugins', function () { | |||
203 | it('Should use the new vod encoders', async function () { | 203 | it('Should use the new vod encoders', async function () { |
204 | this.timeout(240000) | 204 | this.timeout(240000) |
205 | 205 | ||
206 | const videoUUID = (await uploadVideoAndGetId({ server, videoName: 'video' })).uuid | 206 | const videoUUID = (await uploadVideoAndGetId({ server, videoName: 'video', fixture: 'video_short_240p.mp4' })).uuid |
207 | await waitJobs([ server ]) | 207 | await waitJobs([ server ]) |
208 | 208 | ||
209 | const path = buildServerDirectory(server, join('videos', videoUUID + '-720.mp4')) | 209 | const path = buildServerDirectory(server, join('videos', videoUUID + '-240.mp4')) |
210 | const audioProbe = await getAudioStream(path) | 210 | const audioProbe = await getAudioStream(path) |
211 | expect(audioProbe.audioStream.codec_name).to.equal('opus') | 211 | expect(audioProbe.audioStream.codec_name).to.equal('opus') |
212 | 212 | ||