Conversion Failed. The transcoder exited due to an error

Server Version#: 1.14.1.5488
Player Version#: Chrome browser, local IP

For several weeks we’ve had frequent (up to 8-10 per episode) playback errors. The error happens on laptops running Win10. Server is running Win10 as well, all are up to date, latest OS and Chrome updates.

Edited by sa2000 - logs removed

Thanks for the logs - there were 4 failures that have been reported by other users but cause is still unknown - except that we do know, the last time this type was seen from a lot of users, was when Microsoft released a Windows 10 Update that caused the problem - this was the update released on 10th janiary 2018 and subsequently fixed by a further windows update on the 16th July 2018.

As we started seeing this error again and the errors logged in the Plex Media Server are unique and consistent (see below), it is possible that these errors came with a recent windows update.

The errors were

Jan 11, 2019 09:30:01.766 [11276] ERROR - [Transcoder] [dash @ 04e93580] Unable to open http://127.0.0.1:32400/video/:/transcode/session/0wzp7v9nd07saex6fidmco5q/718971e0-6a1d-4bd6-b2b7-d41f9288b99a/manifest for writing
Jan 11, 2019 09:30:01.767 [29728] ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
Jan 11, 2019 09:30:01.911 [20104] DEBUG - Jobs: 'C:\Program Files (x86)\Plex\Plex Media Server\PlexTranscoder.exe' exit code for process 5912 is 1 (failure)
Jan 11, 2019 11:28:11.287 [6412] ERROR - [Transcoder] [dash @ 04b421c0] Unable to open http://127.0.0.1:32400/video/:/transcode/session/5vj3sac94150pv12xk1k6kbz/cadfd264-4b8f-4200-8587-a1d666f5d9c1/manifest for writing
Jan 11, 2019 11:28:11.287 [13676] ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
Jan 11, 2019 11:28:11.307 [27280] DEBUG - Jobs: 'C:\Program Files (x86)\Plex\Plex Media Server\PlexTranscoder.exe' exit code for process 2940 is 1 (failure)
Jan 11, 2019 11:32:11.739 [12864] ERROR - [Transcoder] [dash @ 0361d840] Unable to open http://127.0.0.1:32400/video/:/transcode/session/aegf5xfbz1iriel5i7toq1ey/b4c156c8-4201-4123-bd06-4b573a8ae82d/manifest for writing
Jan 11, 2019 11:32:11.741 [6412] ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
Jan 11, 2019 11:32:11.857 [27280] DEBUG - Jobs: 'C:\Program Files (x86)\Plex\Plex Media Server\PlexTranscoder.exe' exit code for process 18340 is 1 (failure)
Jan 11, 2019 14:22:24.149 [15300] ERROR - [Transcoder] [dash @ 0385e9c0] Unable to open http://127.0.0.1:32400/video/:/transcode/session/zj6s4uie4utqxm4cpxlop91x/31469c82-34c8-4821-8a9f-2cda5be1cd0b/manifest for writing
Jan 11, 2019 14:22:24.150 [15484] ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
Jan 11, 2019 14:22:24.196 [15096] DEBUG - Jobs: 'C:\Program Files (x86)\Plex\Plex Media Server\PlexTranscoder.exe' exit code for process 17104 is 1 (failure)

This has already been passed to our development team to see if there is anything that Plex could do to get round the problem

The logs show a couple more transcoder failures - these were due to a timing bug when doing seeks - the 2 failures were when streaming The.Orville. S02E03
This specific seek issue should get corrected in 1.15.0

Thanks for the update! Looking forward to the server update and hearing more from you.

I’m getting this same issue from a number of files, it seems to come and go, but once a file won’t play, it’ll never play. The time for the failure is 0731. I’ve attached the logs.

Plex Media Server Logs_2019-04-04_07-37-40.zip (5.1 MB)

Thanks for the logs. The Transcoder process appears to have got a kill signal and exited at 07:31:01.811 on the 4th April

Do you have any applications that may have done that? Could it be memory ?

Apr 04, 2019 07:31:01.784 [0x7f167effd700] DEBUG - Request: [127.0.0.1:37220 (Loopback)] POST /video/:/transcode/session/7hlh0zjqd15p9i6ph0xuh8ou/7e3faa6f-26bc-4c14-8f96-29d22b88db59/manifest (26 live) Signed-in

Apr 04, 2019 07:31:01.785 [0x7f167effd700] DEBUG - Transcoder segment range: 0 - 63 (63)

Apr 04, 2019 07:31:01.785 [0x7f167ffff700] DEBUG - Completed: [127.0.0.1:37220] 200 POST /video/:/transcode/session/7hlh0zjqd15p9i6ph0xuh8ou/7e3faa6f-26bc-4c14-8f96-29d22b88db59/manifest (25 live) 1ms 166 bytes

Apr 04, 2019 07:31:01.811 [0x7f168509e700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 32075 is -9 (signal: Killed)

Any system logs that may have some clues as to why process 32075 got killed. It is not a crash of the transcoder

Regarding the failures that are associated with the following Transcoder Errors Log entries

ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error

We have now discovered that these specific transcoder failures may arise due to Malwarebytes Premium blocking some localhost Plex Transcoder requests.

A Support Article has now been published for this problem

The specific errors this relates to is this error together with other errors

ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error

coupled by

Examples

ERROR - [Transcoder] [stream_segment,ssegment @ xxxxxxx] Failed to open segment list 'http://127.0.0.1:32400/video/:/transcode/session/xxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxx/seglist
ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
ERROR - [Transcoder] Error writing trailer of media-%05d.ts: Invalid argument

or

ERROR - [Transcoder] [dash @ 028ef3c0] Unable to open http://127.0.0.1:32400/video/:/transcode/session/xxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxx/manifest for writing
ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error

The support article is
Windows: Transcoder failures during playback, live TV, or DVR recording

1 Like

Normally I’d be absolutely ok with ripping out the RAM and replacing it, but I have 2 Plex servers sharing the same files and if one won’t play neither will the other. I suppose I could slap together a system for the Plex servers and see if that fixes anything.

There are no clues in the Plex Media Server logs as what or why the Plex Transcoder received a signal 9 SIGKILL and exited
It happened about a minute into transcoding and with first 16 segments already returned to the client app (5 second segments)

Do you have any third party software that may be terminating processes ?
I am not a Linux expert - but is there is system journal / log that could be checked around the time of the process being killed?

I have only two major things running on the Plex server. Plex Media Server and Webmin (plus the LAMP stack that supports it). I’m at a loss as to how the LAMP stack would interfere in only a select number of files.

I have AVIs that fail and AVIs that succeed, as well as MKV (the two encoding formats I use), I have even had two copies of the same file one works and the other doesn’t, so the idea that there’s physical hardware issues rather than software are feeling more and more like the answer. Unfortunately I’m out of town this weekend, but next week I’ll get new hardware together and get it running and see if that clears up the issue.

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