<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SmoothVideo Project — Plex for Windows does not use SVP]]></title>
		<link>https://www.svp-team.com/forum/viewtopic.php?id=5946</link>
		<atom:link href="https://www.svp-team.com/forum/extern.php?action=feed&amp;tid=5946&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Plex for Windows does not use SVP.]]></description>
		<lastBuildDate>Wed, 15 Jun 2022 12:17:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80604#p80604</link>
			<description><![CDATA[<p>update SVP now<br />mpv-1.dll built from the latest mpv sources plus ffmpeg &#039;resolve_hosts&#039; patch</p>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Wed, 15 Jun 2022 12:17:18 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80604#p80604</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80602#p80602</link>
			<description><![CDATA[<p>&gt; Note it is named mpv-2.dll rather than mpv-1.dll but it works fine as it is. Simply removing the mpv-1.dll from the Plex directory and copying the mpv-2.dll in resolves the ffmpeg open error.</p><p>hmmm... Plex app doesn&#039;t like &quot;mpv-2.dll&quot; at all, it needs &quot;mpv-1.dll&quot;.<br />If you &quot;simply removed the mpv-1.dll from the Plex directory and copied the mpv-2.dll&quot; then Plex uses mpv-1.dll from somewhere else, probably from SVP&#039;s directory if you have it in PATH.<br />And even if I rename mpv-2.dll into mpv-1.dll then it still doesn&#039;t work cause built-in SSL is not compatible with Plex.<br /></p><div class="quotebox"><blockquote><p>Jun 14, 2022 17:38:28.879 [104472] ERROR - [MPVEngine/mpv] ffmpeg: tls: mbedtls_ssl_handshake returned -0x2700</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Tue, 14 Jun 2022 14:42:18 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80602#p80602</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80601#p80601</link>
			<description><![CDATA[<p>so does it work with the official mpv build or not?</p><p>cause it&#039;s possible that the one provided with Plex was patched to add this &#039;resolve_hosts&#039; option<br />what it does - it basically replaces xxxxx.plex.direct with just an IP address</p>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Tue, 14 Jun 2022 05:50:09 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80601#p80601</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80599#p80599</link>
			<description><![CDATA[<p>After some testing, the only thing that seems to work is using a VPN to route out of the local network. Turns out it is just my DNS authority server not resolving the host which is weird as it works fine with the original mpv-1.dll so I will investigate that on my own some more. Just in case it ever helps someone in the future!</p>]]></description>
			<author><![CDATA[null@example.com (benj0670)]]></author>
			<pubDate>Tue, 14 Jun 2022 02:54:26 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80599#p80599</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80598#p80598</link>
			<description><![CDATA[<p>So I found out something interesting that I will have to dive deeper into. Could be something weird with my network but SVP only works when connecting outside of my network. If I try to watch something while on the same network as my Plex server it errors out and can&#039;t resolve. It seems either MPC or SVP don&#039;t have local network access as I can pull the URL out of the Plex log and load it up fine in my browser. I can also navigate directly to the server on any device on my local network so it&#039;s not a firewall issue. I&#039;m going to try and force both MPC&#039;s and SVP&#039;s directories open access through the network, will update how it goes.</p>]]></description>
			<author><![CDATA[null@example.com (benj0670)]]></author>
			<pubDate>Mon, 13 Jun 2022 21:14:10 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80598#p80598</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80593#p80593</link>
			<description><![CDATA[<p>is sets &#039;resolve_hosts&#039; to help ffmpeg resolve this &#039;XXXXXXXXXXX.plex.direct&#039;<br />interesting part is that ffmpeg doesn&#039;t have such option (&#039;resolve_hosts&#039;) at all <img src="https://www.svp-team.com/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Mon, 13 Jun 2022 11:30:42 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80593#p80593</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80589#p80589</link>
			<description><![CDATA[<p>Hey Chainik,</p><p>Using the dll from the build you linked has fixed the problem. Note it is named mpv-2.dll rather than mpv-1.dll but it works fine as it is. Simply removing the mpv-1.dll from the Plex directory and copying the mpv-2.dll in resolves the ffmpeg open error. </p><p>Thanks for the help</p>]]></description>
			<author><![CDATA[null@example.com (benj0670)]]></author>
			<pubDate>Sun, 12 Jun 2022 03:00:02 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80589#p80589</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80574#p80574</link>
			<description><![CDATA[<p>try the latest &quot;official build&quot;: <a href="https://sourceforge.net/projects/mpv-player-windows/files/libmpv/mpv-dev-x86_64-20220605-git-ec236f7.7z/download">https://sourceforge.net/projects/mpv-pl … z/download</a></p>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Wed, 08 Jun 2022 04:49:23 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80574#p80574</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80573#p80573</link>
			<description><![CDATA[<p>Looks like the issue has returned with the latest Plex-1.45.0.3013 update. Above mentions copying everything into the Plex/Plex directory, I have tried this and it does not work. It was previously working fine on Plex-1.43.4.2971 all that changed was Plex updated. I have replaced the mpv-1.dll since the update and it fails with error code 4294967283. It seems that there is an issue with resolving the stream host. I have provided what I&#039;ve found below to show that it works fine with Plex&#039;s dll but not SVP&#039;s dll. All that is changed is the mpv-1.dll:</p><p>Plex&#039;s original mpv-1.dll:<br /></p><div class="codebox"><pre><code>Jun 08, 2022 00:52:58.714 [7036] DEBUG - [MPVEngine/mpv] cplayer: Setting option &#039;stream-lavf-o&#039; = &#039;resolve_hosts=[XXXXXXXXXXX.plex.direct:XXXXXXXXXXX]&#039; (flags = 16)
Jun 08, 2022 00:52:58.715 [7036] DEBUG - [MPVEngine/mpv] cplayer: Running hook: ytdl_hook/on_load
Jun 08, 2022 00:52:58.715 [7036] DEBUG - [MPVEngine/mpv] ytdl_hook: ytdl:// hook 
Jun 08, 2022 00:52:58.715 [7036] DEBUG - [MPVEngine/mpv] cplayer: Set property: start=&quot;+1796&quot; -&gt; 1
Jun 08, 2022 00:52:58.715 [7036] DEBUG - [MPVEngine/mpv] ytdl_hook: not a ytdl:// url 
Jun 08, 2022 00:52:58.715 [7036] DEBUG - [MPVEngine/mpv] cplayer: Set property: aid=&quot;no&quot; -&gt; 1
Jun 08, 2022 00:52:58.715 [7036] DEBUG - [MPVEngine/mpv] cplayer: Set property: sid=&quot;no&quot; -&gt; 1
un 08, 2022 00:52:58.715 [7036] DEBUG - [MPVEngine/mpv] ffmpeg: Opening https://XXXXXXXXXX.plex.direct:32400/library/parts/2151/1499763098/file.mkv?X-Plex-Session-Identifier=n6o2qylyc6vqah1jf6j4v9xd&amp;X-Plex-Product=Plex%20for%20Windows&amp;X-Plex-Version=1.45.0.3013-1676042f&amp;X-Plex-Client-Identifier=oti94rrvujjg47wu7cq8df9q&amp;X-Plex-Platform=windows&amp;X-Plex-Platform-Version=10.0.22000&amp;X-Plex-Features=external-media%2Cindirect-media&amp;X-Plex-Model=standalone&amp;X-Plex-Device-Name=SurfaceBook2&amp;X-Plex-Device-Screen-Resolution=1481x858%2C1714x1143&amp;X-Plex-Client-Profile-Name=Plex%20Desktop&amp;X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&amp;X-Plex-Language=en&amp;Accept-Language=en
Jun 08, 2022 00:52:58.768 [7036] DEBUG - [MPVEngine/mpv] ffmpeg: Mime-type: &#039;video/x-matroska&#039;
Jun 08, 2022 00:52:58.768 [7036] DEBUG - [MPVEngine/mpv] demux: Trying demuxers for level=normal.
Jun 08, 2022 00:52:58.768 [7036] DEBUG - [MPVEngine/mpv] mkv: Seeking to 3117326564 to read header element 0x1c53bb6b.
Jun 08, 2022 00:52:58.768 [7036] DEBUG - [MPVEngine/mpv] ffmpeg: stream level seek from 16384 to 3117326564
Jun 08, 2022 00:52:58.814 [7036] INFO - [MPVEngine] Resuming playback.
Jun 08, 2022 00:52:58.814 [7036] DEBUG - [MPVEngine/mpv] cplayer: Set property: pause=no -&gt; 1
Jun 08, 2022 00:52:58.815 [7036] INFO - [MPVEngine] Playback has resumed.
Jun 08, 2022 00:52:58.815 [10876] DEBUG - [QHotkeyInput] Playback state is now &#039;Playing&#039;</code></pre></div><br /><p>SVP&#039;s mpv-1.dll:<br /></p><div class="codebox"><pre><code>Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] cplayer: Setting option &#039;stream-lavf-o&#039; = &#039;resolve_hosts=[XXXXXXXXXXX.plex.direct:XXXXXXXXXXX]&#039; (flags = 16)
Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] cplayer: Running hook: ytdl_hook/on_load
Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] ytdl_hook: ytdl:// hook 
Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] cplayer: Set property: start=&quot;+650&quot; -&gt; 1
Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] ytdl_hook: not a ytdl:// url 
Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] cplayer: Set property: aid=&quot;no&quot; -&gt; 1
Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] cplayer: Set property: sid=&quot;no&quot; -&gt; 1
Jun 08, 2022 00:49:40.008 [10812] DEBUG - [MPVEngine/mpv] ffmpeg: Opening https://XXXXXXXXXX.plex.direct:32400/video/:/transcode/universal/start?hasMDE=1&amp;path=%2Flibrary%2Fmetadata%2F6110&amp;mediaIndex=0&amp;partIndex=0&amp;protocol=http&amp;fastSeek=1&amp;directPlay=0&amp;directStream=1&amp;subtitleSize=100&amp;audioBoost=100&amp;location=lan&amp;addDebugOverlay=0&amp;autoAdjustQuality=0&amp;directStreamAudio=1&amp;advancedSubtitles=text&amp;session=w88l4lzkqkk4r1neskd6gfga&amp;offset=650&amp;subtitles=auto&amp;copyts=1&amp;Accept-Language=en&amp;X-Plex-Session-Identifier=tkt3rheiwgook11zjim7r5os&amp;X-Plex-Chunked=1&amp;X-Plex-Incomplete-Segments=1&amp;X-Plex-Product=Plex%20for%20Windows&amp;X-Plex-Version=1.45.0.3013-1676042f&amp;X-Plex-Client-Identifier=oti94rrvujjg47wu7cq8df9q&amp;X-Plex-Platform=windows&amp;X-Plex-Platform-Version=10.0.22000&amp;X-Plex-Features=external-media%2Cindirect-media&amp;X-Plex-Model=standalone&amp;X-Plex-Device-Name=SurfaceBook2&amp;X-Plex-Device-Screen-Resolution=1481x858%2C1714x1143&amp;X-Plex-Client-Profile-Name=Plex%20Desktop&amp;X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&amp;X-Plex-Language=en
Jun 08, 2022 00:49:40.011 [10812] ERROR - [MPVEngine/mpv] ffmpeg: tcp: Failed to resolve hostname XXXXXXXXXXX: The name does not resolve for the supplied parameters
Jun 08, 2022 00:49:40.011 [10812] ERROR - [MPVEngine/mpv] stream: Failed to open https:/XXXXXXXXXXX  -----------(I shortened this) 
Jun 08, 2022 00:49:40.011 [10812] DEBUG - [MPVEngine/mpv] cplayer: Opening failed or was aborted: https://XXXXXXXXXXX</code></pre></div><p>Specifically looking at the &quot;ffmpeg: Opening&quot; line, you can see there is a different structure to how the URL is passed through. This seems to be the root causes of resolve error and may need the SVP dev team to recompile the MPV dll for the new Plex URL structure.</p><p>Any assistance from the dev team would be appreciated as this is one of the main reasons I have SVP</p>]]></description>
			<author><![CDATA[null@example.com (benj0670)]]></author>
			<pubDate>Wed, 08 Jun 2022 03:04:48 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80573#p80573</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=80382#p80382</link>
			<description><![CDATA[<p>just sharing<br />so anyway just to share that... <br />since i have to keep replacing the mpv-1.dll all the time (each time plex client updates) </p><p> I&#039;ve decided to make a batch svpToPlex.bat</p><div class="codebox"><pre><code>COPY &quot;C:\Program Files (x86)\SVP 4\mpv64\mpv-1.dll&quot; &quot;C:\Program Files\Plex\Plex&quot;
PAUSE</code></pre></div><p>this will copy automatically the mpv file to my plex client, although you need to execute it with admin priveleges<br />I&#039;m still thinking if theres a way to run this easily each time i turn plex on, like a pseudo-shortcut with plex icon maybe</p><p>I could add it to windows startup but this wont work for me since i most of times use Hibernate pc</p>]]></description>
			<author><![CDATA[null@example.com (joaoserraseal)]]></author>
			<pubDate>Sat, 30 Apr 2022 15:38:39 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=80382#p80382</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=79926#p79926</link>
			<description><![CDATA[<p>It works now! Thank you! <img src="https://www.svp-team.com/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (adamkex)]]></author>
			<pubDate>Tue, 15 Feb 2022 15:53:29 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=79926#p79926</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=79925#p79925</link>
			<description><![CDATA[<p>copy _everything_ from SVP\mpv64 into Plex&#039;s folder</p>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Tue, 15 Feb 2022 13:50:25 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=79925#p79925</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=79924#p79924</link>
			<description><![CDATA[<p>Hey, I reinstalled SVP (picked every package despite some of them probably not needed). Mpv plays at high frame rate, I am able to transcode a video with the svp transcoder, I am able to import vapoursynth into a python console. &quot;Plex for Windows&quot; still doesn&#039;t work. I&#039;ve tried both copying the mpv-1.dll file and deleting it, the end result is the same. The video plays but doesn&#039;t transcode to a frame rate.</p><p>These are my env values:<br /><span class="postimg"><img src="https://i.imgur.com/0HnuruC.png" alt="https://i.imgur.com/0HnuruC.png" /></span></p><p>This is my event log:</p><div class="codebox"><pre><code>12:16:02.214 [i]: VideoPlayer: mpv [Plex.exe] connected, waiting for the video info...
12:16:04.746 [i]: VideoPlayer: mpv 0.33.0-dirty /via &#039;mpvpipe&#039;
12:16:05.441 [i]: Media: video looks like some kind of stream
12:16:05.441 [i]: Media: video 1440x1080 [PAR 1.000] at 23.976 fps (via video player)
12:16:05.441 [i]: Media: codec type is hevc (HEVC (High Efficiency Video Coding)), DXVA2_VLD, BT.709 BT.1886
12:16:05.630 [i]: Playback: starting up...
12:16:05.634 [i]: Playback [af3afe49]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
12:16:05.635 [i]: Playback [af3afe49]: resulting video frame 1440x1080
12:16:05.635 [i]: Playback [af3afe49]: 1 acceptible profiles, best is &#039;Automatic&#039; [0]
12:16:05.637 [i]: Playback [af3afe49]: enabled while video is paused
12:16:05.638 [i]: Profile: using automatic profile #1 /film
12:16:05.639 [i]: Playback [af3afe49]: playing at 47.952 [23.976 *2/1] 
12:16:05.668 [E]: Playback [af3afe49]: VS - Could not initialize VapourSynth scripting.</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (adamkex)]]></author>
			<pubDate>Tue, 15 Feb 2022 11:26:27 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=79924#p79924</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=79868#p79868</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>The issue of joaoserraseal is solved!</p></blockquote></div><p>Thanks you MAG79 </p><br /><p>all I had to do to fix it was uninstall the vapoursynth and reinstall the svp</p>]]></description>
			<author><![CDATA[null@example.com (joaoserraseal)]]></author>
			<pubDate>Tue, 25 Jan 2022 14:30:42 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=79868#p79868</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plex for Windows does not use SVP]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=79867#p79867</link>
			<description><![CDATA[<p>The issue of <strong>joaoserraseal</strong> is solved!<br />In support mail we have found the cause. It was vapoursynth wrong version not compatible to SVP.<br />SVP log:<br /></p><div class="codebox"><pre><code>16:26:05.878 [i]: Playback [16b152dd]: Frame server (64-bit) C:\Program Files\VapourSynth\core\vapoursynth.dll
...
16:26:05.915 [E]: Playback [16b152dd]: VS - Could not initialize VapourSynth scripting.</code></pre></div><p>As you can see the folder loaction is <strong>C:\Program Files\VapourSynth\core\</strong><br />Correct folder loaction must be <strong>C:\Program Files (x86)\SVP 4\mpv64\</strong></p>]]></description>
			<author><![CDATA[null@example.com (MAG79)]]></author>
			<pubDate>Tue, 25 Jan 2022 14:28:08 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=79867#p79867</guid>
		</item>
	</channel>
</rss>
