Server Version#: 1.14.1.5488-cc260c476
Player Version#: 3.85.2
Plex transcodes opus music to aac while Plex Web can direct play opus file. There’s an old thread about this but it wasn’t complete. I’m not sure if this is a feature request but it looks to me like an oversight.
Here is the debug log of server:
Feb 01, 2019 09:13:32.458 [0x7f32ea7fc700] DEBUG - TranscodeUniversalRequest: using augmented profile Web
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - MDE: Selected protocol dash; container: mp4
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - MDE: analyzing media item 49664
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - MDE: RED: Direct Play is disabled
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - MDE: RED: media must be transcoded in order to use the dash protocol
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - MDE: RED: no direct play music profile exists for http/ogg/opus
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - MDE: Cannot direct stream audio stream due to codec opus when profile only allows aac
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - MDE: RED: selected media 0 / 49664
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - Streaming Resource: Adding session 0x7f32cc159520:may8bgp5c90pzxz2raddx0f1 which is using 296kbps of WAN bandwidth. Used is now 296kbps
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - Streaming Resource: Added session 0x7f32cc159520:may8bgp5c90pzxz2raddx0f1
Feb 01, 2019 09:13:32.463 [0x7f32ea7fc700] DEBUG - Streaming Resource: Reached Decision id=25915 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=49664 part=(id=51268 decision=transcode protocol=dash streams=(Audio=(id=154671 decision=transcode bitrate=281 encoder=aac channels=2 rate=48000))))
If I understand the javascript correctly, it looks like opus isn’t defined in the direct playable music
music: {
directPlay: {
mp4: {
mimeType: 'audio/mp4; codecs="mp4a.40.5"',
audio: {
codecs: {
aac: {}
}
}
},
mp3: {
mimeType: 'audio/mpeg; codecs="mp3"',
audio: {
codecs: {
mp3: {}
}
}
},
ogg: {
mimeType: 'audio/ogg; codecs="vorbis"',
audio: {
codecs: {
vorbis: {}
}
}
},
wav: {
mimeType: "audio/wav",
audio: {
codecs: {
pcm: {}
}
}
},
flac: {
mimeType: "audio/flac",
audio: {
codecs: {
flac: {}
}
}
}
},
directStream: {
audio: {
codecs: {
mp3: {}
},
maxBitrate: 320,
maxChannels: 2
}
}
}
}
but video with opus can be direct played (I tested this one and the video can be direct played)
types: ['video/webm; codecs="vp9, opus"; ' + n],
fragment: {
directPlay: {
mkv: {
mimeType: "video/webm",
video: {
codecs: {
vp9: e
}
},
audio: {
codecs: {
opus: {}
}
}
}
}
}
It would be great if opus music direct play support is added to the web client.