# Problems with replacing mpv

**URL:** <https://forums.plex.tv/t/problems-with-replacing-mpv/856960>\
**Category:** Plex Players\
**Tags:** plex-htpc\
**Created:** [October 17, 2023, 10:49pm UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960 "2023-10-17T22:49:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ninelpienel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ninelpienel/32/279811_2.png) [@Ninelpienel](https://forums.plex.tv/u/Ninelpienel)\
**Post date:** [October 17, 2023, 10:49pm UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/1 "2023-10-17T22:49:28Z")

</div>

Hey, I want to switch my mpv version in Plex HTPC (as described [here](https://forums.plex.tv/t/htpc-tips-and-tricks/794228/3)) but I always get an error message.  
The error says “Not enough CPU to convert this element.”. I use the newest Plex HTPC version (1.48.1.3982) and tried serveral mpv versions from here: [https://sourceforge.net/projects/mpv-player-windows/files/libmpv/](https://sourceforge.net/projects/mpv-player-windows/files/libmpv/)

I also tried different settings in my mpv.conf. I left it blank and used this, for example:

```auto
vo=gpu-next
gpu-api=vulkan
gpu-context=winvk

```

CPU: AMD Ryzen 5 5600x  
GPU: NVIDIA GeForce RTX 3080  
Log: [Plex HTPC.log](https://forums.plex.tv/uploads/short-url/yd0j24b6FHChYZwXSL8YNQqGXss.log) (247.4 KB)

What am I doing wrong?

Edit: Looks like I get this error only if I stream via my local server, it works via an external one.

---

<div class="post-metadata">

**Author:** ![BigWheel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigwheel/32/78783_2.png) [@BigWheel](https://forums.plex.tv/u/BigWheel)\
**Post date:** [October 18, 2023, 12:26am UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/2 "2023-10-18T00:26:51Z")

</div>

> [@Ninelpienel](#):
>
> Not enough CPU to convert this element

that error means it is trying to transcode. Do you have video transcoding disabled on the server or the local quality lower than the content so it is trying to transcode?

---

<div class="post-metadata">

**Author:** ![Ninelpienel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ninelpienel/32/279811_2.png) [@Ninelpienel](https://forums.plex.tv/u/Ninelpienel)\
**Post date:** [October 18, 2023, 5:27am UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/3 "2023-10-18T05:27:56Z")

</div>

No, please check the log and my edited message. It seems like Plex HTPC can’t generate a proper stream link in the background with the local server.

---

<div class="post-metadata">

**Author:** ![gbooker02](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/gbooker02/32/9726_2.png) [@gbooker02](https://forums.plex.tv/u/gbooker02)\
**Post date:** [October 18, 2023, 1:56pm UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/4 "2023-10-18T13:56:19Z")

</div>

When direct play fails, it falls back to a transcode. Looks like something is wrong with your mpv or your system:

```auto
Oct 18, 2023 00:39:33.594 [3304] ERROR - [MPVEngine] loading failed.
Oct 18, 2023 00:39:33.594 [3304] DEBUG - [MPVEngine/mpv] ytdl_hook: status: 1 
Oct 18, 2023 00:39:33.594 [3304] DEBUG - [MPVEngine/mpv] ytdl_hook: reason:  
Oct 18, 2023 00:39:33.594 [3304] DEBUG - [MPVEngine/mpv] ytdl_hook: stdout: null
Oct 18, 2023 00:39:33.594 [3304] DEBUG - [MPVEngine/mpv] ytdl_hook:  
Oct 18, 2023 00:39:33.595 [3304] DEBUG - [MPVEngine/mpv] ytdl_hook: stderr: ERROR: [generic] Unable to download webpage: [Errno 11001] getaddrinfo failed (caused by TransportError('[Errno 11001] getaddrinfo failed'))
Oct 18, 2023 00:39:33.595 [3304] DEBUG - [MPVEngine/mpv] ytdl_hook:  
Oct 18, 2023 00:39:33.595 [3304] ERROR - [MPVEngine/mpv] ytdl_hook: ERROR: [generic] Unable to download webpage: [Errno 11001] getaddrinfo failed (caused by TransportError('[Errno 11001] getaddrinfo failed')) 
Oct 18, 2023 00:39:33.595 [3304] ERROR - [MPVEngine/mpv] ytdl_hook: youtube-dl failed: unexpected error occurred 
Oct 18, 2023 00:39:33.595 [3304] DEBUG - [MPVEngine/mpv] cplayer: finished playback, loading failed (reason 4)
Oct 18, 2023 00:39:33.595 [3304] INFO - [MPVEngine/mpv] cplayer: 

```

---

<div class="post-metadata">

**Author:** ![Ninelpienel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ninelpienel/32/279811_2.png) [@Ninelpienel](https://forums.plex.tv/u/Ninelpienel)\
**Post date:** [October 18, 2023, 3:42pm UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/5 "2023-10-18T15:42:24Z")

</div>

I get a different error when transcoding is enabled: “An unknown error has occurred”  
This is my latest log file: [Plex HTPC.log](https://forums.plex.tv/uploads/short-url/8TWeJCXfNbjmby87bjfauDxP2Tn.log) (311.2 KB)

I think the main error is this:

```auto
Oct 18, 2023 17:38:58.578 [14168] ERROR - [MPVEngine/mpv] ffmpeg: tcp: Failed to resolve hostname 127-0-0-1.0ba89a8540a84d2d98d1cfb098bcb7ca.plex.direct: The name does not resolve for the supplied parameters
Oct 18, 2023 17:38:58.578 [14168] ERROR - [MPVEngine/mpv] stream: Failed to open 

```

---

<div class="post-metadata">

**Author:** ![DTR](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DTR](https://forums.plex.tv/u/DTR)\
**Post date:** [October 18, 2023, 3:46pm UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/6 "2023-10-18T15:46:52Z")

</div>

> [@Ninelpienel](#):
>
> `ffmpeg: tcp: Failed to resolve hostname`

Potentially a DNS rebind issue: [Dolby TrueHD passthrough - modified mpv build - #36 by gbooker02](https://forums.plex.tv/t/dolby-truehd-passthrough-modified-mpv-build/802742/36)

---

<div class="post-metadata">

**Author:** ![Ninelpienel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ninelpienel/32/279811_2.png) [@Ninelpienel](https://forums.plex.tv/u/Ninelpienel)\
**Post date:** [October 18, 2023, 4:06pm UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/7 "2023-10-18T16:06:27Z")

</div>

Thank you! I added “plex.direct” to my DNS rebind protection exceptions of my FRITZBox! and now it works!

 ![20231018_18.06.14_vivaldi](https://global.discourse-cdn.com/plex/original/4X/3/8/6/386894477f0c053ef4d37f31f9e80565b31db926.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 16, 2024, 4:07pm UTC](https://forums.plex.tv/t/problems-with-replacing-mpv/856960/8 "2024-01-16T16:07:13Z")

</div>

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