diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-21 09:08:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-21 15:18:22 +0200 |
commit | 08370f6244864df0451cb671b43b6320bf01d33f (patch) | |
tree | e94cc7b2193acfe7a86aedfa713e6448751774c9 /server | |
parent | 84294ae9c9f3debe71ab8b6b33fa73a0d6187391 (diff) | |
download | PeerTube-08370f6244864df0451cb671b43b6320bf01d33f.tar.gz PeerTube-08370f6244864df0451cb671b43b6320bf01d33f.tar.zst PeerTube-08370f6244864df0451cb671b43b6320bf01d33f.zip |
Fix h265 video import using CLI
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/ffprobe-utils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/helpers/ffprobe-utils.ts b/server/helpers/ffprobe-utils.ts index d2476606e..40eaafd57 100644 --- a/server/helpers/ffprobe-utils.ts +++ b/server/helpers/ffprobe-utils.ts | |||
@@ -92,6 +92,7 @@ async function getVideoStreamCodec (path: string) { | |||
92 | const videoCodec = videoStream.codec_tag_string | 92 | const videoCodec = videoStream.codec_tag_string |
93 | 93 | ||
94 | if (videoCodec === 'vp09') return 'vp09.00.50.08' | 94 | if (videoCodec === 'vp09') return 'vp09.00.50.08' |
95 | if (videoCodec === 'hev1') return 'hev1.1.6.L93.B0' | ||
95 | 96 | ||
96 | const baseProfileMatrix = { | 97 | const baseProfileMatrix = { |
97 | avc1: { | 98 | avc1: { |