Trying to cast a 1080p HEVC file and it’s transcoding. Couple of things I notice from the log below:
- It’s choking on the HEVC level. What is level 120? I thought that the level system was similar to H264.
- No mention of DTS or AC3 in the supported audio list
If I manually change the Chromecast profile to be more lenient it all suddenly starts working.
Log:
Nov 11, 2016 16:36:18.629 [0x7f276ebff700] INFO - [Chromecast] [MDE] Augmented profile: { "directPlay": { "mp4": { "mimeType": "video/mp4; codecs=\"avc1.42E01E\"", "video": { "codecs": { "h264": {}, "hevc": {} }, "maxBitDepth": 8, "maxFrameRate": 60, "maxLevel": 42, "maxWidth": 3840, "maxHeight": 2160, "maxBitrate": 8000, "maxVideoResolution": "1080" }, "audio": { "codecs": { "aac": { "maxSamplingRate": 48000 }, "mp3": {}, "ac3": {}, "eac3": {} } } }, "mkv": { "mimeType": "video/webm", "video": { "codecs": { "h264": {}, "vp8": {}, "hevc": {} }, "maxBitDepth": 8, "maxFrameRate": 60, "maxLevel": 42, "maxWidth": 3840, "maxHeight": 2160, "maxBitrate": 8000, "maxVideoResolution": "1080" }, "audio": { "codecs": { "aac": {}, "mp3": {}, "vorbis": { "maxChannels": 2 }, "ac3": {}, "eac3": {} } } } }, "directStream": { "video": { "codecs": { "h264": {}, "hevc": {} }, "maxBitDepth": 8, "maxLevel": 42, "maxWidth": 3840, "maxHeight": 2160, "maxBitrate": 8000, "maxVideoResolution": "1080" }, "audio": { "codecs": { "mp3": {}, "aac": {}, "opus": {} }, "maxChannels": 6 } } }
Nov 11, 2016 16:36:18.630 [0x7f27703fe700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Nov 11, 2016 16:36:18.632 [0x7f27623fe700] DEBUG - Request: [127.0.0.1:58986 (Loopback)] GET /library/metadata/5260 (14 live) GZIP Signed-in Token (XXXXX)
Nov 11, 2016 16:36:18.642 [0x7f27623fe700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Nov 11, 2016 16:36:18.642 [0x7f27623fe700] DEBUG - Selecting best audio stream for part ID 8404 (autoselect: 1 language: en)
Nov 11, 2016 16:36:18.643 [0x7f27623fe700] DEBUG - We're going to try to auto-select a subtitle.
Nov 11, 2016 16:36:18.643 [0x7f27623fe700] DEBUG - Audio Stream: 128520, Subtitle Stream: -1
Nov 11, 2016 16:36:18.643 [0x7f27623fe700] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
Nov 11, 2016 16:36:18.644 [0x7f275f3f8700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/metadata/5260?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx08f-4794-aa48-6f493d16376a
Nov 11, 2016 16:36:18.645 [0x7f275f3f8700] DEBUG - MDE: analyzing media item 7996
Nov 11, 2016 16:36:18.645 [0x7f275f3f8700] DEBUG - MDE: XXXXX: Direct Play is disabled
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - MDE: XXXXX: no direct play video profile exists for http/mkv/hevc
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - MDE: XXXXX: no direct play video profile exists for http/mkv/hevc/aac
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - Contrapasso - video.level limitation applies: 120 > 42
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - MDE: XXXXX: no remuxable profile found, so video stream will be transcoded
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - MDE: computed resolution bounding box of 1920x1080.
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - Scaled up video bitrate to 10035Kbps based on 4.500000x fudge factor.
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - MDE: XXXXX: selected media 0 / 7996
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - Streaming Resource: Adding session 0x7f2751c864a0:12p0rcinh3o8nbulufljv8ia4i which is using transcoder slot. Used slots is now 1
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - Streaming Resource: Added session 0x7f2751c864a0:12p0rcinh3o8nbulufljv8ia4i
Nov 11, 2016 16:36:18.646 [0x7f275f3f8700] DEBUG - Streaming Resource: Reached Decision id=5260 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=7996 part=(id=8404 decision=transcode container=mkv protocol=http streams=(Video=(id=128519 decision=transcode bitrate=8000 encoder=libx264 width=1920 height=1080) Audio=(id=128520 decision=copy channels=6 rate=48000))))