mirror of https://github.com/Chocobozzz/PeerTube
Fix audio desync regression
parent
91606c0e2d
commit
8a1d90dc70
|
@ -207,9 +207,13 @@ export class FFmpegVOD {
|
||||||
withVideo: !options.separatedAudio || !!options.resolution
|
withVideo: !options.separatedAudio || !!options.resolution
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
// If we cannot copy codecs, we do not copy them at all to prevent issues like audio desync
|
||||||
|
// See for example https://github.com/Chocobozzz/PeerTube/issues/6438
|
||||||
await this.buildVODCommand({
|
await this.buildVODCommand({
|
||||||
...options,
|
...options,
|
||||||
|
|
||||||
|
canCopyAudio: false,
|
||||||
|
canCopyVideo: false,
|
||||||
videoStreamOnly: options.separatedAudio && !!options.resolution
|
videoStreamOnly: options.separatedAudio && !!options.resolution
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue