]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/ffprobe-utils.ts
Use a class for youtube-dl
[github/Chocobozzz/PeerTube.git] / server / helpers / ffprobe-utils.ts
index d2476606e8edc51a9bee759b9d5de00a948fbea8..40eaafd57ecc6f26e7426aef42a88108bbd79a4b 100644 (file)
@@ -92,6 +92,7 @@ async function getVideoStreamCodec (path: string) {
   const videoCodec = videoStream.codec_tag_string
 
   if (videoCodec === 'vp09') return 'vp09.00.50.08'
+  if (videoCodec === 'hev1') return 'hev1.1.6.L93.B0'
 
   const baseProfileMatrix = {
     avc1: {