Plex app on Hisense TV won't play h264 content

smart-tv

#1

I have some media in h264 format which the Plex app on my new Hisense TV won't play. When I try, I get three dots for a moment, and then the whole app exits and drops me back to the app list on the TV. I finally got around to looking at the Plex server logs when I try to play this media, and this appears to be the relevant stuff:

Jun 09, 2018 00:09:27.449 [0x90ffeb40] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jun 09, 2018 00:09:27.449 [0x90ffeb40] DEBUG - Selecting best audio stream for part ID 9484 (autoselect: 0 language: en)
Jun 09, 2018 00:09:27.449 [0x90ffeb40] DEBUG - Audio Stream: 10073, Subtitle Stream: -1
Jun 09, 2018 00:09:27.452 [0x90ffeb40] DEBUG - MDE: Selected protocol hls; container: mpegts
Jun 09, 2018 00:09:27.452 [0x90ffeb40] DEBUG - MDE: analyzing media item 9470
Jun 09, 2018 00:09:27.452 [0x90ffeb40] DEBUG - MDE: Peter Pan: Direct Play is disabled
Jun 09, 2018 00:09:27.452 [0x90ffeb40] DEBUG - MDE: Peter Pan: media must be transcoded in order to use the hls protocol
Jun 09, 2018 00:09:27.452 [0x90ffeb40] DEBUG - MDE: Peter Pan: no direct play video profile exists for http/mp4/h264
Jun 09, 2018 00:09:27.453 [0x90ffeb40] DEBUG - MDE: Peter Pan: no direct play video profile exists for http/mp4/h264/aac
Jun 09, 2018 00:09:27.453 [0x90ffeb40] DEBUG - MDE: Peter Pan: selected media 0 / 9470
Jun 09, 2018 00:09:27.454 [0x90ffeb40] DEBUG - Streaming Resource: Added session 0x94874254:lva5zarib8d7vitwhw251w12
Jun 09, 2018 00:09:27.454 [0x90ffeb40] DEBUG - Streaming Resource: Reached Decision id=10477 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=9470 part=(id=94
84 decision=transcode container=mpegts protocol=hls streams=(Video=(id=10072 decision=copy width=1920 height=1080) Audio=(id=10073 decision=copy channels=2 rate=48000))))

The server then starts transcoding (which I kind of doubt it actually has the horsepower to do). Then I see:

Jun 09, 2018 00:09:30.800 [0x917ffb40] DEBUG - Session wgmw9h3sawu680k9uq0n5vpi (3) is throttling
Jun 09, 2018 00:09:30.828 [0x90ffeb40] DEBUG - [Transcoder] Throttle - Going into sloth mode.

And then:

Jun 09, 2018 00:09:31.414 [0x917ffb40] DEBUG - HubCache: Expiring '1/home.continue/hubs/6/en' because of event plex.event.play.session.state.update.
Jun 09, 2018 00:09:31.414 [0xaebffb40] WARN - LongPoll: Got error, closing.
Jun 09, 2018 00:09:31.415 [0x917ffb40] DEBUG - HubCache: Expiring '1/home.ondeck/hubs/6/en' because of event plex.event.play.session.state.update.
Jun 09, 2018 00:09:31.415 [0x917ffb40] DEBUG - HubCache: Expiring '1/home.videos.recent/hubs/6/en' because event plex.event.play.session.state.update referenced an item the hub contained
Jun 09, 2018 00:09:31.418 [0x917ffb40] DEBUG - Statistics: (bft9boxqp1yeewmisdkasrxp) Reporting active playback in state 3 of type 1 (scrobble: 0) for account 1
Jun 09, 2018 00:09:31.420 [0x917ffb40] DEBUG - Streaming Resource: Terminated session 0x94874254:lva5zarib8d7vitwhw251w12 with reason Client stopped playback.
Jun 09, 2018 00:09:31.420 [0x8fbffb40] DEBUG - Killing job.

At which point the app crashes. The app never actually plays any video. I'm guessing that if I transcoded this "offline" into a format that the Hisense version of the Plex app could play, it would work. I'm just surprised it can't handle this when e.g. my phone can.