Unable to HW Transcode MPEG2

Server Version#: 1.41.3.9314 - Windows 10
Player Version#: Android 10.24.1.2319 (d613f885), Roku 7.29.15.9736-8074497c1
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

My father reported that he was unable to watch recorded TV shows from his Roku (outside my server’s local network). I’m seeing the same issue off-network from my Android phone. When we try to play an episode, the video tries to load, but does not play. The logs show this repeatedly:

Dec 30, 2024 20:57:55.245 [2812] ERROR - [Req#308b4f/Transcode/f6780e0041f45701-com-plexapp-android/97b5c6f4-3ce3-45ce-ae1b-256720cc00ef] [mpeg2video @ 000001697cb6eac0] hardware accelerator failed to decode picture
Dec 30, 2024 20:57:55.245 [2812] ERROR - [Req#308b53/Transcode/f6780e0041f45701-com-plexapp-android/97b5c6f4-3ce3-45ce-ae1b-256720cc00ef] Error while decoding stream #0:0: Operation not permitted
Dec 30, 2024 20:57:55.246 [2812] ERROR - [Req#308b55/Transcode/f6780e0041f45701-com-plexapp-android/97b5c6f4-3ce3-45ce-ae1b-256720cc00ef] [mpeg2video @ 000001697cb6eac0] Failed to execute: 0x80070057

I am using a pretty old Haswell Core i5 (Intel HD Graphics 4600). But up until a few versions ago, I had hardware acceleration enabled, and everything played flawlessly. With this issue, I have to disable hardware acceleration for the videos to play. And then they play fine, but it’s significantly more taxing on the server. As I understand it, if the video is unsupported, it should fall back to software transcoding, but that is not happening. Is there any way to force software encoding only for MPEG2 (or where unsupported by hardware)?

I can provide full logs if needed, but I saw another post indicating that MPEG2 streams would no longer be supported by hardware acceleration going forward. So, I’m not sure of the permanent solution.

I couldn’t find a definitive answer searching around the forums. I adjusted the transcode settings, set a specific GPU/transcode directory/upload speed/max quality for remote, but none of the setting changes made a difference.

Ultimately, I rolled the server back to 1.41. 2.9200, and everything is functional again. I’m able to hardware transcode the recorded TV shows. I tested off my local network to verify.

It was a pretty bad Nov/Dec for server updates, I encountered multiple issues, and this was my second rollback. So now that I’ve found a good version, I’ll hold here, but will keep an eye on new releases.

Hi @ttupa would you have a way of uploading that version of Plex (1.41. 2.9200) so I can back date to it as well. I’m also having the mpeg2 problem but my system didn’t back up that far back. I truly appreciate it:).

Actually, my server is stable on version 1.41.4.9463. There has been a more recent update, but I haven’t taken it yet. If you haven’t tried the newer versions, I think they’ve fixed the transcoder (for the most part).

1 Like

Odd I’m still having an issue with live TV decoding. It does look like they removed it. Does it work for you(if you have live tv to test)? It works on movies and recorded TV shows just not live TV for me.

Yep, it seems to be working. And my father has been using it for live tv (not local to server network) as well.

1 Like

The exclamation mark next to the 1080i indicates it’s not working. It should have an HW. It’s only encoding not decoding. You confirm this on your task manager under GPU performance:)

This is generally not a big deal as decoding doesn’t take much. But it’s still using CPU and still using more power than just using the GPU.

I was thinking maybe that looked different, but couldn’t remember. When I hover over the exclamation point it just says MPEG2VIDEO. Ultimately, I’m running a 10-year old i5 in the machine. When I posted this issue, the problem was that the videos weren’t playing at all with hardware acceleration enabled, and without it putting pretty good strain on my ancient hardware.

If you want to try the version I mentioned, I do have a copy of the exe. It’s too big to share here, though.

1 Like

No worries I just found a repository on GitHub, big thanks to @pshanew. But I do truly appreciate it. Been hardware transcoding for almost 5 years. Not sure why they decided to change it. When I get home I’m going to run a couple tests and see on the older Plex server software:).

1 Like

1.41.1.9057 is the last version they allowed decoding for live tv. After installing it’s working fine. You save me a ton of time on searching. I appreciate it!

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