Transcoder always failing on specific content

I’ve been having an issue with an entire season of a TV show failing transcoding when trying to sync to my Android phone. Plex status always just goes to “The transcoder was unable to process this media.”

I’ve looked through the logs, and I couldn’t find anythat that would help me figure out why Plex is failing on this media. The transcode seems to start up fine, but then I always just see this generic error:

ERROR - [Transcoder] [h264_qsv @ 05f38180] Error during encoding: device failed (-17)
ERROR - [Transcoder] Video encoding failed

Can someone look at the attached logs and help me figure out why the transcoder is failing?

Thanks a lot for the reply, Andy! I’ve asked this question a couple weeks ago and got zero responses. Happy to have at least some help figuring this out :slight_smile:

The files (season) in your snip turned out to be corrupted, wouldn’t even play, so I will defeinitly need to replace that. However, that’s not the content I’m actually having issues with currently. I probably should have mentioned which files specifically in my original post. Sorry.

Family Guy - Season 16 (E:\TV Shows\Family Guy\Season 16). To help narrow down, here are snips from the PMS log for the transcode failures with timestampts to help narrow down in my logs:

Apr 13, 2018 23:23:54.975 [7556] ERROR - [Transcoder] [h264_qsv @ 05f38180] Error during encoding: device failed (-17)
Apr 13, 2018 23:23:54.975 [8464] ERROR - [Transcoder] Video encoding failed

Apr 13, 2018 23:23:53.897 [9420] ERROR - [Transcoder] [h264_qsv @ 04037400] Error during encoding: device failed (-17)
Apr 13, 2018 23:23:53.897 [8464] ERROR - [Transcoder] Video encoding failed

Apr 13, 2018 23:23:50.537 [7556] ERROR - [Transcoder] [h264_qsv @ 0712c020] Error during encoding: device failed (-17)
Apr 13, 2018 23:23:50.537 [9420] ERROR - [Transcoder] Video encoding failed

Apr 13, 2018 23:23:47.787 [9420] ERROR - [Transcoder] [h264_qsv @ 06a408a0] Error during encoding: device failed (-17)
Apr 13, 2018 23:23:47.787 [7556] ERROR - [Transcoder] Video encoding failed

I ran these files through your checker batch file, and a few provided the below output, but most scanned fine without errors. Not sure if these audio errors would be a hard stop for the transcoder? I have no issues playing these files through Plex and other media players. Even the ones without errors fail transcoding.

[null @ 00000000001ce500] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 26528 >= 26528
[null @ 00000000001ce500] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 26531 >= 26531
[null @ 00000000001ce500] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 27520 >= 27520
[null @ 00000000001ce500] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 27523 >= 27523
[null @ 00000000001ce500] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 27526 >= 27526
[null @ 00000000001ce500] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 27530 >= 27530

Thanks Trumpy. Yeah, I’ll have to replace or re-encode them. I really wanted to find out what it was about them that was causing issues with the mobile sync transcodes. It’s very off that they fail there, but work just fine when PMS has to transcode them for my Roku.