Merge pull request #2872 from GodTamIt/vp8-vp9
Send vp8 and vp9 over vpx as transcode profiles
This commit is contained in:
commit
f5ea7bc830
2 changed files with 5 additions and 3 deletions
|
@ -47,6 +47,7 @@
|
|||
- [Stephane Senart](https://github.com/ssenart)
|
||||
- [Ömer Erdinç Yağmurlu](https://github.com/omeryagmurlu)
|
||||
- [Keegan Dahm](https://github.com/keegandahm)
|
||||
- [GodTamIt](https://github.com/GodTamIt)
|
||||
|
||||
# Emby Contributors
|
||||
|
||||
|
|
|
@ -667,12 +667,13 @@ import browser from './browser';
|
|||
}
|
||||
}
|
||||
|
||||
if (canPlayVp8) {
|
||||
if (webmAudioCodecs.length && webmVideoCodecs.length) {
|
||||
profile.TranscodingProfiles.push({
|
||||
Container: 'webm',
|
||||
Type: 'Video',
|
||||
AudioCodec: 'vorbis',
|
||||
VideoCodec: 'vpx',
|
||||
AudioCodec: webmAudioCodecs.join(','),
|
||||
// TODO: Remove workaround when servers migrate away from 'vpx' for transcoding profiles.
|
||||
VideoCodec: (canPlayVp8 ? webmVideoCodecs.concat('vpx') : webmVideoCodecs).join(','),
|
||||
Context: 'Streaming',
|
||||
Protocol: 'http',
|
||||
// If audio transcoding is needed, limit channels to number of physical audio channels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue