将DVR调谐器连接到Hyper-V中的PLEX服务器

发布于 2025-01-21 15:22:11 字数 163 浏览 2 评论 0 原文

有没有办法将DVR调谐器连接到Hyper-V中托管的PLEX服务器?

我已经搜索过,但找不到有关此主题的问题。

我的构建是Hyper-V中运行PLEX的Win22数据中心服务器。 Hauppauge DualHD通过USB连接到Win22数据中心服务器。

感谢您的帮助!

is there a way to connect a dvr tuner to a Plex Server hosted in Hyper-V?

I have searched but could not find a Question about this topic.

My build is a Win22 Datacenter Server running Plex in Hyper-V. A Hauppauge dualHD is connected to the Win22 Datacenter Server via USB.

Thanks for your help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寻找我们的幸福 2025-01-28 15:22:11

当前的答案

我正在更新答案,因为我没有意识到这是调谐器,而不是连接到电视的DVR框。
从我在网上看到的内容,您最好的选择是:

  • 使用增强的会话模式通过RDP连接设备(仅支持某些设备)
  • 使用第三方工具,例如
  • ​。 PLEX的实例反而
  • 将PLEX在同一系统上的Hyper-V外运行,并
  • 完全在另一台设备上运行SANDBOXED用户plex,例如覆盆子pi

我不禁要第一个-hyper-v-vm-wi.html“ rel =“ nofollow noreferrer”>我不能做的一些gpedit.msc魔术,或第二个我从未使用过。
第三选项将降低程序速度,如果多个人一次流媒体,可能会导致放缓。
第四个选项是我的个人建议,因为您绕过了完全使用管理程序并保留在同一设备上的需求。
仅当您使用基于USB的驱动器并且在Linux方面具有不错的经验时,第五次才是不错的。


旧答案

为了档案,保留了

。您将需要使用PowerShell和 add-netnatstaticmapping cmdlet,以允许入站连接到Hyper-V服务器。这将需要设置VNAT适配器。如果您也需要帮助,请参见链接的博客文章(不是我的)。
假设Vethernet连接具有 192.168.10.2 的内部IP和 natSwitch 的NAT网络名称,并且在 32400的默认端口上有PLEX

Add-NetNatStaticMapping -ExternalIPAddress "0.0.0.0/24" -ExternalPort 32400 -Protocol TCP -InternalIPAddress "192.168.10.2" -InternalPort 32400 -NatName NATNetwork

您很可能需要替换内部IP,端口和NAT名称。
设置此操作后,您需要将DVR指向Windows Server框的IP。

网站引用:

github用户博客,特别是端口上的帖子转发

Current Answer

I'm updating my answer as I didn't realize it was a tuner and not a DVR box connected to your TV.
From what I'm seeing online, your best bets are:

  • use Enhanced Session Mode to connect the device over RDP (which only supports some devices)
  • use a third-party tool such as Donglify (this is from results on Google. Buy at your own digression) to allow USB passthrough
  • use a Type 2 hypervisor (VirtualBox, VMware) to run your instance of Plex instead
  • run Plex outside of Hyper-V on the same system with a sandboxed user
  • run Plex on another device entirely, such as a Raspberry Pi.

I can't help with the first, as it requires some gpedit.msc magic I cannot do, or second as I have never used one.
3rd option will reduce program speeds which may cause slowdown if multiple people stream at once.
4th option is my personal recommendation, as you bypass the need to use a hypervisor entirely and keep on the same device.
5th is only good if you use a USB-based drive and have a decent bit of experience with Linux.


Old Answer

Kept for the sake of archival.

You'll want to use Powershell and the Add-NetNatStaticMapping cmdlet to allow inbound connections to the Hyper-V server. This will need a vNAT adapter set up. See the linked blog post (not mine) if you need help with that, too.
Assuming the vEthernet connection has an internal IP of 192.168.10.2 and a NAT network name of NATSwitch, with Plex on the default port of 32400:

Add-NetNatStaticMapping -ExternalIPAddress "0.0.0.0/24" -ExternalPort 32400 -Protocol TCP -InternalIPAddress "192.168.10.2" -InternalPort 32400 -NatName NATNetwork

You will most likely need to replace the internal IP, port, and NAT name.
After this is set up, you'll need to point your DVR to the IP of the Windows Server box.

Sites referenced:
Plex support page on ports to forward
A GitHub user's blog, specifically a post on port forwarding

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文