mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Send vp8 and vp9 over vpx as transcode profiles
This commit is contained in:
parent
68fe8eb24b
commit
f624326eb4
2 changed files with 28 additions and 1 deletions
|
@ -47,6 +47,7 @@
|
||||||
- [Stephane Senart](https://github.com/ssenart)
|
- [Stephane Senart](https://github.com/ssenart)
|
||||||
- [Ömer Erdinç Yağmurlu](https://github.com/omeryagmurlu)
|
- [Ömer Erdinç Yağmurlu](https://github.com/omeryagmurlu)
|
||||||
- [Keegan Dahm](https://github.com/keegandahm)
|
- [Keegan Dahm](https://github.com/keegandahm)
|
||||||
|
- [GodTamIt](https://github.com/GodTamIt)
|
||||||
|
|
||||||
# Emby Contributors
|
# Emby Contributors
|
||||||
|
|
||||||
|
|
|
@ -668,10 +668,11 @@ import browser from './browser';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (canPlayVp8) {
|
if (canPlayVp8) {
|
||||||
|
// TODO: Remove vpx entry once servers are migrated
|
||||||
profile.TranscodingProfiles.push({
|
profile.TranscodingProfiles.push({
|
||||||
Container: 'webm',
|
Container: 'webm',
|
||||||
Type: 'Video',
|
Type: 'Video',
|
||||||
AudioCodec: 'vorbis',
|
AudioCodec: webmAudioCodecs.includes('opus') ? 'opus' : 'vorbis',
|
||||||
VideoCodec: 'vpx',
|
VideoCodec: 'vpx',
|
||||||
Context: 'Streaming',
|
Context: 'Streaming',
|
||||||
Protocol: 'http',
|
Protocol: 'http',
|
||||||
|
@ -679,6 +680,31 @@ import browser from './browser';
|
||||||
// Trying to transcode to 5 channels when there are only 2 speakers generally does not sound good
|
// Trying to transcode to 5 channels when there are only 2 speakers generally does not sound good
|
||||||
MaxAudioChannels: physicalAudioChannels.toString()
|
MaxAudioChannels: physicalAudioChannels.toString()
|
||||||
});
|
});
|
||||||
|
profile.TranscodingProfiles.push({
|
||||||
|
Container: 'webm',
|
||||||
|
Type: 'Video',
|
||||||
|
AudioCodec: webmAudioCodecs.includes('opus') ? 'opus' : 'vorbis',
|
||||||
|
VideoCodec: 'vp8',
|
||||||
|
Context: 'Streaming',
|
||||||
|
Protocol: 'http',
|
||||||
|
// If audio transcoding is needed, limit channels to number of physical audio channels
|
||||||
|
// Trying to transcode to 5 channels when there are only 2 speakers generally does not sound good
|
||||||
|
MaxAudioChannels: physicalAudioChannels.toString()
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (canPlayVp9) {
|
||||||
|
profile.TranscodingProfiles.push({
|
||||||
|
Container: 'webm',
|
||||||
|
Type: 'Video',
|
||||||
|
AudioCodec: webmAudioCodecs.includes('opus') ? 'opus' : 'vorbis',
|
||||||
|
VideoCodec: 'vp9',
|
||||||
|
Context: 'Streaming',
|
||||||
|
Protocol: 'http',
|
||||||
|
// If audio transcoding is needed, limit channels to number of physical audio channels
|
||||||
|
// Trying to transcode to 5 channels when there are only 2 speakers generally does not sound good
|
||||||
|
MaxAudioChannels: physicalAudioChannels.toString()
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
profile.TranscodingProfiles.push({
|
profile.TranscodingProfiles.push({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue