Add HEVC to the compatible video codecs
This commit is contained in:
parent
3a2b7f3676
commit
e5dc53e17f
@ -21,7 +21,7 @@ import (
|
|||||||
const probeTimeout = 10 * time.Second
|
const probeTimeout = 10 * time.Second
|
||||||
const maxFFmpegProbeBytes = 20 * 1024 * 1024
|
const maxFFmpegProbeBytes = 20 * 1024 * 1024
|
||||||
|
|
||||||
var compatibleVideoCodecs = []string{"h264", "vp9"}
|
var compatibleVideoCodecs = []string{"h264", "vp9", "hevc"}
|
||||||
var compatibleAudioCodecs = []string{"aac", "opus", "mp3"}
|
var compatibleAudioCodecs = []string{"aac", "opus", "mp3"}
|
||||||
|
|
||||||
type ffmpegProbeDataStreamsStream struct {
|
type ffmpegProbeDataStreamsStream struct {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user