Plex Transcoder Constantly Crashing (HEVC)

Hi, since Beta Version: 1.13.4.5271
OS: macOS 10.13.6

every time i watch TV shows that are encoded with HEVC and go to the next episode it never loads and the transcoder crashes, i am constantly getting spammed with crash reports.

Crash Report: https://gist.github.com/XxUnkn0wnxX/7e0be5ef4f9c0ecbf2dfc24f3b90035d
Log: https://gist.github.com/XxUnkn0wnxX/0e72cbd7c780abeb9a94f5ae8c5697e9

Here is the other logs:
Plex Media Server Logs_2018-07-24_03-51-37.zip (2.4 MB)

is it when switching to next episode or when fast forwarding?

The logs show 3 crashes at these times

Jul 24, 2018 03:23:03.323 [0x70000e982000] DEBUG - Jobs: '/Applications/Plex Media Server.app/Contents/MacOS/Plex Transcoder' exit code for process 2059 is -11 (signal: Segmentation fault: 11)

Jul 24, 2018 03:23:18.482 [0x70000e982000] DEBUG - Jobs: '/Applications/Plex Media Server.app/Contents/MacOS/Plex Transcoder' exit code for process 2084 is -11 (signal: Segmentation fault: 11)

Jul 24, 2018 03:36:02.042 [0x70000e982000] DEBUG - Jobs: '/Applications/Plex Media Server.app/Contents/MacOS/Plex Transcoder' exit code for process 2368 is -11 (signal: Segmentation fault: 11)

but the only switchover from one episode to another happened at 03:36:01

03:35:23.936	 /Volumes/Media/TV Shows/Person Of Interest/Season 4/Person of Interest S04E14.mkv

03:36:01.937	/Volumes/Media/TV Shows/Person Of Interest/Season 4/Person of Interest S04E15.mkv

I do see a lot of fast forwarding

it only crashes totally when moving onto next episode even when i manually press the next button.

as for fast forwarding, i have had issues in the past and every now and then when plex just freezes and tries to constantly buffer the video but it never does i have to close the video and re-start it again. it tends to freeze less & buffer better if i fast forward while paused and resume then. (this applies to all video types) but the crashing issue is not caused by fast forwarding.

have looked further into the logs. Appears to be crashing when initially trying hardware transcoding using videotoolbox decoder/encoder. It then switches after the transcoder crash to software transcoding

Do these HEVC mkv files play ok with other players using hardware acceleration?

Could you get me the first 5 minutes of the mkv file - zip and upload to dropbox or similar service and send me link by private message

Please also confirm that the clip does crash the transcoder and let me have a crash report and logs covering time of the crash (the ones you supplied had the crash at 03:19:24 but the logs covered 03:19:58 onwards)

Until the problem is identified, suggest you run with hardware acceleration disabled. See Plex Media Server Transcoder Advanced Settings

https://support.plex.tv/articles/201035968-generating-sample-files-from-media/

https://support.plex.tv/articles/200250347-transcoder/

in VLC player only the audio plays not the video, even after a re-mux. with hardware acceleration off in VLC the video shows fine.

i dont seem to have those logs, as i have a service that cleans all logs & crash logs every couple days.
i will try to re-produce crash and give new logs.

i’m unsure how to do that without re-encoding the whole video file. which plays fine in VLC but the source file doesnt.

here are new logs from today:
Plex Transcoder_2018-07-25 Crash Reports.zip (299.4 KB)

Plex Media Server Logs_2018-07-25_19-54-44.zip (1016.7 KB)

Source Files sent via PM

If VLC is failing with hardware acceleration as well then it may mean the media files are suspect or is not a specific issue with Plex Media Server.

The crash is at ff_videotoolbox_hvcc_extradata_create + 32

Possible causes

  • media files
  • ffmpeg issue (what the PlexTranscoder uses and may be VLC uses as well)
  • Mac OSX videotoolbox issue

Is there an update level / version for the OS ? It is showing as
Mac OS X 10.13.6 (17G65)

I will see if the problem can be reproduced internally.

With regards to getting the first 5 minute from the mkv, I was hoping that the mkvtools mentioned on the suppport article I provided a link to, would be what you would use. The clip needs to be crashing the transcoder when hardware transcoding for it to be any use

The link was to https://support.plex.tv/articles/201035968-generating-sample-files-from-media/

yep thx, i used MKVtoolnix to generate the 5 min clip properly.

My OS Profile:

Model Name: iMac
Model Identifier: iMac17,1
Processor Name: Intel Core i7
Processor Speed: 4 GHz

macOS High Sierra 10.13.6 iMac (Retina 5K, 27-inch, Late 2015)

I understand the problem is no longer occurring after updating to latest beta 1.13.5.5291

I have had a similar nagging problem. Server is Mac. Client is AppleTV. I frequently hose up the Transcoder when stepping forward on the AppleTV. I definitely don’t have a source problem, however. The source is universally recorded TV. (HDHomeRun Prime, btw). So I am 100% within the Plex ecosystem and I also have the same issue.

I am going to turn off “Use hardware acceleration when available” and see if that helps matters.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.