/Fake-HEVC-support-for-Plex

Plex direct play hevc video in window

Primary LanguageJavaScript

Fake-HEVC-support-for-Plex

Plex direct play hevc video in windows

https://greasyfork.org/zh-CN/scripts/439243-fake-hevc-support-for-plex

中文简介

使plex网页端在windows上可以直接播放(不转码)hevc的视频(需浏览器支持hevc播放)

制作原因

plex网页端对hevc的限制太严重,edge for chromium安装hevc扩展后,在emby上可以直接播放hevc内容,但在plex上却依旧需要转码播放。

因此制作此脚本

windows浏览器支持播放hevc视频的便捷方法(以edge for chromium为例,chrome需自行测试可行性)

1、在https://www.free-codecs.com/hevc_video_extension_download.htm 下载HEVC插件(edge版本号大于等于99的可以下载最新版插件,低于99的下载31823版本的插件)

2、在地址栏输入:edge://restart,重启edge使安装的插件生效

完成上述步骤后,你的浏览器即可支持hevc视频,但即使如此,你的plex播放hevc内容仍然会提示转码播放

要解决此问题,需要安装Fake-HEVC-support-for-Plex脚本,让plex知道你的浏览器支持hevc解码播放

(需先安装Tampermonkey类插件)

(若你的plex端口非32400,请自行更改将脚本中的32400更改为你的plex网页端口)

完成上述步骤,即可直接播放hevc内容。朋友们,进行享受支持播放的快乐吧

部分电脑可能会碰到画面偏暗的问题(应该和nvidia显卡有关),解决办法,地址栏输入edge://flags,将Media Foundation playback for Windows,Media Foundation Site Based Experimentation for Windows 10设置为enable即可解决。Media Foundation Site Based Experimentation for Windows 10只有在edge 99以上版本才存在

English Introduction

Make plex web on windows can directly play (not transcode) hevc video (need browser support hevc play)

Reason

The hevc limitation on plex web is too serious, after installing the hevc extension on edge for chromium, the hevc content can be played directly on emby, but on plex it still needs to be transcoded.

So this script was created>

windows browser to support the convenient way to play hevc video (edge for chromium as an example, chrome need to test the feasibility of their own)

1、In https://www.free-codecs.com/hevc_video_extension_download.htm download hevc video_extension(edge version number higher or equal to 99 can download the latest version of the plug-in, lower than 99 download 31823 version of the plug-in)

2, enter in the address bar: edge://restart, Restart edge to enable the installed plug-ins

After completing the above steps, your browser can support hevc video, but even so, your plex will still prompt transcoded playback when playing hevc content

To solve this problem, you need to install Fake-HEVC-support-for-Plex script to let plex know that your browser supports hevc decoding

(you need to install Tampermonkey class plugin first)

(If your plex port is not 32400, please change the 32400 in the script to your plex web port)

After completing the above steps, you can play hevc content directly. Friends, enjoy the joy of supported playback!

some computers to watch hevc video, the color will be dark, the solution, enter edge://flags in the address bar, set Media Foundation playback for Windows, Media Foundation Site Based Experimentation for Windows 10 to enable. Media Foundation Site Based Experimentation for Windows 10 is only available on edge version 99+

Translated with www.DeepL.com/Translator (free version)