Add some codecs

This commit is contained in:
Zoe Roux 2024-06-19 12:40:43 +00:00
parent c707e76bd6
commit 8d6b699f11
No known key found for this signature in database

View File

@ -91,6 +91,10 @@ func GetMimeCodec(stream *ffprobe.Stream) *string {
return &ret
case "mp3":
ret := "mp4a.40.34"
return &ret
case "opus":
ret := "Opus"
return &ret
@ -107,6 +111,10 @@ func GetMimeCodec(stream *ffprobe.Stream) *string {
ret := "fLaC"
return &ret
case "alac":
ret := "alac"
return &ret
default:
log.Printf("No known mime format for: %s", stream.CodecName)
return nil