1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Use veryfast preset for default transcoding profile

This commit is contained in:
Chocobozzz 2021-01-29 15:31:31 +01:00
parent b87b606a65
commit a8537c622e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 6 additions and 2 deletions

View file

@ -203,10 +203,10 @@ describe('Test transcoding plugins', function () {
it('Should use the new vod encoders', async function () {
this.timeout(240000)
const videoUUID = (await uploadVideoAndGetId({ server, videoName: 'video' })).uuid
const videoUUID = (await uploadVideoAndGetId({ server, videoName: 'video', fixture: 'video_short_240p.mp4' })).uuid
await waitJobs([ server ])
const path = buildServerDirectory(server, join('videos', videoUUID + '-720.mp4'))
const path = buildServerDirectory(server, join('videos', videoUUID + '-240.mp4'))
const audioProbe = await getAudioStream(path)
expect(audioProbe.audioStream.codec_name).to.equal('opus')