Getting a "Conversion failed. Transcoder crashed or failed to start up" error.

@abigllama2 said:
I got it from filehorse through a google search.

How is 1.5.5.3634 holding up for you? I tried 1.5.5.3634 as well and while I did not specifically get the “Conversion failed” error message, the transcoding still randomly stopped in mid movie just like with the latest server version.

Found it on Filehorse as well. Wasn’t familiar with the site, can’t be too careful nowadays with infected software.

Since downgrading to 1.5.5.3634 myself and my shared friends have not experienced a single crash.

Another one here and a bump. Have never had transcoding issues and honestly do not post often. For me if I start a video, leave, and come back it errors out. If I start from the beginning it works fine.

@dko888 said:
As a test, I upgraded from server v1.3.4.3285 to the latest server version (v1.9.4.4325) and replicated conversion failed error again within 30 minutes.

@sa2000, can you help and provide guidance to what could be the issue? I have attached today’s log files.

I am sorry I missed this ping.
The error you are getting is similar to one reported by 4 others users for which we need some specific extra transcoder diagnostics. Linking to one of the other 4 threads for this error
http://forums.plex.tv/discussion/291933/conversion-failed-the-transcoder-crashed-or-failed-to-start-up

Your Errors from the log

Oct 13, 2017 09:20:52.848 [15340] ERROR - [Transcoder] [segment @ 05545aa0] Failed to open segment list 'http://127.0.0.1:32400/video/:/transcode/session/g8x1owgbdglwpwso5i2nfr15/e22a7a38-df50-407d-8fbe-eb8dc232fc65/seglist'
Oct 13, 2017 09:20:52.863 [12640] ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
Oct 13, 2017 09:20:52.926 [12640] ERROR - [Transcoder] Error writing trailer of chunk-%05d: Invalid argument

The extra diagnostics needed is to add transcoder logging until we get the logs of a failure like this
Please can you add this advanced setting in the registry

Using RegEdit
Locate HKEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server
Click on Plex Media Server in left side area
Right click on it and select New and type String Value
Add the new string item and give it name of TranscoderLogLevel and give it a value of verbose
Note that this is case sensitive and need to be exact
Click OK and exit it RegEdit

Make sure you are on 1.9.4 or 1.9.5 or 1.9.6 for the diagnostics

Restart the Plex Media Server to get fresh logs created and recreate the error
And let me have the zipped logs on getting the failure

If possible to get the error with a 5-minute clip - please try it with that and make that available with the logs

Please confirm if this error is specific to certain Plex client apps

For everyone else, transcoder crashes are not all caused by the same underlying issue. Most are media specific and some specific content that causes the crash

Each case needs to be investigated and in most cases short samples /clips are needed to reproduce the problem

@sa2000 said:
For everyone else, transcoder crashes are not all caused by the same underlying issue. Most are media specific and some specific content that causes the crash

Each case needs to be investigated and in most cases short samples /clips are needed to reproduce the problem

Just for the record the issue cannot be replicated, at least on my end. I will watch a series(same exact file types, etc) one episode will work fine the next it will crash. My wife will watch that exact episode that crashed at a later date and not have transcoder crash at all.
Also, this isssue occurs in roku. I haven’t had it anywhere else. That could also be an issue but really don’t know.

@greeknasty said:

@sa2000 said:
For everyone else, transcoder crashes are not all caused by the same underlying issue. Most are media specific and some specific content that causes the crash

Each case needs to be investigated and in most cases short samples /clips are needed to reproduce the problem

Just for the record the issue cannot be replicated, at least on my end. I will watch a series(same exact file types, etc) one episode will work fine the next it will crash. My wife will watch that exact episode that crashed at a later date and not have transcoder crash at all.
Also, this isssue occurs in roku. I haven’t had it anywhere else. That could also be an issue but really don’t know.

Thanks

Mostly they would be specific media related - but agree there could be other types of bugs and if it is only roku - then may need to have the roku app logging enabled and captured at the time

So in addition to the server logs info - see https://support.plex.tv/hc/en-us/articles/201377603-Roku-Logs

@sa2000 said:
For everyone else, transcoder crashes are not all caused by the same underlying issue. Most are media specific and some specific content that causes the crash

Each case needs to be investigated and in most cases short samples /clips are needed to reproduce the problem

I guess I understand this statement, and it does make sense, but isn’t this an issue that has cropped up recently? I know it hadn’t happened to me ever, and now it happens constantly enough that I have started to (occasionally) use another product to stream my content.

How many cases need to be investigated until we are no longer whacking moles? If Plex does any phoning home, do you know when these particular transcoder errors started to increase in frequency?

@MovieBuffoon said:

@sa2000 said:
For everyone else, transcoder crashes are not all caused by the same underlying issue. Most are media specific and some specific content that causes the crash

Each case needs to be investigated and in most cases short samples /clips are needed to reproduce the problem

I guess I understand this statement, and it does make sense, but isn’t this an issue that has cropped up recently? I know it hadn’t happened to me ever, and now it happens constantly enough that I have started to (occasionally) use another product to stream my content.

How many cases need to be investigated until we are no longer whacking moles? If Plex does any phoning home, do you know when these particular transcoder errors started to increase in frequency?

There is no one common issue. There are loads of different combinations and there may be issues with some. A fix for one may not resolve your issue. So we do need to get the diagnostics.

ok so been doing some testing. i started using plex on my xbox one. 3 shows in and not a single crash. i will continue tomorrow. if i still dont have crashes then i will assume roku is causing these issues and will enable logging

Hi,
I have the same problem.
I’m using Plex on a Mi Box and I have movie files on my Laptop and TV Shows on a NAS Drive.
The TV Shows play fine but I get the Transcoder failure error when I try to play a movie. This only started all of a sudden a few days ago.
I’m at a loss what to do - any help would be appreciated please.
Thanks

Also seeing this in one specific media file, same place every time. Running PMS 1.9.5.4339 on FreeBSD 11.

ERROR - [Transcoder] [NULL @ 0x802616a00] Invalid NAL unit size (0 > 30646).
ERROR - [Transcoder] [NULL @ 0x802616a00] missing picture in access unit with size 30650
ERROR - [Transcoder] [AVBSFContext @ 0x809bffa40] Failed to send packet to filter h264_mp4toannexb for stream 0
ERROR - [Transcoder] av_interleaved_write_frame(): Invalid argument

@poohbear92 said:
Also seeing this in one specific media file, same place every time. Running PMS 1.9.5.4339 on FreeBSD 11.

ERROR - [Transcoder] [NULL @ 0x802616a00] Invalid NAL unit size (0 > 30646).
ERROR - [Transcoder] [NULL @ 0x802616a00] missing picture in access unit with size 30650
ERROR - [Transcoder] [AVBSFContext @ 0x809bffa40] Failed to send packet to filter h264_mp4toannexb for stream 0
ERROR - [Transcoder] av_interleaved_write_frame(): Invalid argument

If you have a problem with a specific media file, see if the errors continue when you create a short clip from the video - eg 5 minute video.

Also test the media file with other players eg vlc and if it plays ok with no errors with other players, then please provide full logs and short clip that gives the error

Enable Debug Logging - see
See https://support.plex.tv/hc/en-us/articles/201643703-Reporting-issues-with-Plex-Media-Server

Restart the server to get fresh log files

Reproduce the problem
Collect the logs - see
https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files

Upload sample giving the error to dropbox or similar service
Share a link to the clip and upload zipped logs here

I have been out of town so I haven’t had a chance to try the verbose debugging. Will try it soon and report back here. Thanks!

@sa2000 said:

@poohbear92 said:
Also seeing this in one specific media file, same place every time. Running PMS 1.9.5.4339 on FreeBSD 11.

ERROR - [Transcoder] [NULL @ 0x802616a00] Invalid NAL unit size (0 > 30646).
ERROR - [Transcoder] [NULL @ 0x802616a00] missing picture in access unit with size 30650
ERROR - [Transcoder] [AVBSFContext @ 0x809bffa40] Failed to send packet to filter h264_mp4toannexb for stream 0
ERROR - [Transcoder] av_interleaved_write_frame(): Invalid argument

If you have a problem with a specific media file, see if the errors continue when you create a short clip from the video - eg 5 minute video.

This is fixed for me in 1.9.6.4401.

Thank God for this thread and for Filehorse. What are some older, stable versions I can roll my server back to? I was thinking around 1.5 when everything worked fine. Ideas? What major additions am I losing if I skip more resent versions?

@poohbear92 said:

@sa2000 said:

@poohbear92 said:
Also seeing this in one specific media file, same place every time. Running PMS 1.9.5.4339 on FreeBSD 11.

ERROR - [Transcoder] [NULL @ 0x802616a00] Invalid NAL unit size (0 > 30646).
ERROR - [Transcoder] [NULL @ 0x802616a00] missing picture in access unit with size 30650
ERROR - [Transcoder] [AVBSFContext @ 0x809bffa40] Failed to send packet to filter h264_mp4toannexb for stream 0
ERROR - [Transcoder] av_interleaved_write_frame(): Invalid argument

If you have a problem with a specific media file, see if the errors continue when you create a short clip from the video - eg 5 minute video.

This is fixed for me in 1.9.6.4401.

Scratch that, my bad. Problem is still happening.

Downgrading to version 1.5.6 fixed the Transcoder issue for me, but created a new problem. Now, a decent percentage of my videos stop suddenly part of the way into playing and do not show how much time has elapsed. I now have to restart videos that do this and find the part where I was at. If it does not do this, it will play all the way through. I wonder if a version newer than this but older than the latest fixes this issue?

@arkieboy72472 said:
Downgrading to version 1.5.6 fixed the Transcoder issue for me, but created a new problem. Now, a decent percentage of my videos stop suddenly part of the way into playing and do not show how much time has elapsed. I now have to restart videos that do this and find the part where I was at. If it does not do this, it will play all the way through. I wonder if a version newer than this but older than the latest fixes this issue?

could you not in the meantime provide diagnostics to have a chance for the issue to be investigated - on latest PP Beta release (1.9.7.4460) ?
http://forums.plex.tv/discussion/295698/i-cant-get-my-sons-plex-to-complete-a-movie-without-the-transcoder-crashing

@sa2000,
I recreated a transcoder crash this morning using Plex server 1.9.7.4441. I have attached verbose debugging logs this time as requested from one of your earlier comments. I would appreciate your assistance to take a look and provide guidance on what the problem is.

I will try on the weekend about generating a 5 min clip but this may be difficult as the problem doesn’t always occur at same spot.

To answer one of your questions in previous comment, I have seen this error on Chromecast, Amazone fire stick, and Xbox One Plex app.