享受您的媒体收藏的唯一方法是打开相册或录像带的日子已经一去不复返了。借助 DLNA(DLNA)等流媒体技术,您可以在家中创建自己的媒体服务器,将您的数码照片和视频文件流式传输到电视、智能手机和其他设备。
您可以通过多种方式使用DLNA将内容从您的 PC 流式传输到其他设备。例如,您可以使用 Windows 自己的内置DLNA服务,也可以使用Plex 等第三方工具(third-party tool like Plex)来流式传输您的内容。如果您想使用Windows 10创建(Windows 10)DLNA媒体服务器,您需要执行以下操作。
什么是 DLNA 媒体服务器?(What Is a DLNA Media Server?)
DLNA代表Digital Living Network Alliance,指的是同名技术标准背后的制造商和开发者团体。DLNA标准允许受支持的设备将视频和照片从DLNA服务器流式传输到其他设备,无论其大小或操作系统如何。
DLNA媒体服务器使用此标准来传输内容。服务器通常是保存视频或照片集的设备,例如您的 PC 或连接的网络存储。当您将支持DLNA的设备连接到本地网络时,它应该会自动检测任何DLNA服务器(和共享媒体内容)。
这就是为什么您可以将媒体从Windows 10 PC 流式传输到基于 Linux 的机顶盒,或从具有自定义嵌入式操作系统的DVD播放器流式传输到(DVD)Android智能手机。由于DLNA标准,制造商已经为这些设备提供了必要的支持,以便将媒体从 A 流式传输到 B。
该技术并不完美,但这意味着您可以轻松地为您的电影和照片设置流媒体服务,而无需昂贵的设备。假设您家中拥有相当现代的技术,您的电视、PC 和智能手机很可能都可以从受支持的DLNA服务器流式传输内容。
如何在 Windows 10 上设置 DLNA 媒体服务器(How to Set Up a DLNA Media Server on Windows 10)
许多设备支持从DLNA服务器播放,但要流式传输内容,您首先需要设置服务器。如果您还没有DLNA媒体服务器,您可以快速使用(DLNA)Windows 10上的内置DLNA媒体服务器开始流式传输。
此服务需要进行一些配置,因此您需要先按照以下步骤进行设置。您可能需要更新 Windows 10(update Windows 10)并配置网络以允许其他设备连接到您的 PC,方法是将您的网络设置为 Windows 上的专用网络(setting your network as a private network)。
- 首先,您需要访问Windows 设置(Windows Settings)菜单。右键单击(Right-click)开始(Start)菜单并选择设置(Settings)来执行此操作。
- 在“设置”(Settings)菜单顶部的“查找设置”搜索框中,键入(Find a setting)媒体流(media streaming)。选择出现在下拉菜单中的媒体流选项建议。(Media streaming options )
- 这将打开一个较旧的控制面板(Control Panel)窗口。在媒体流选项(Media streaming options )窗口中,选择打开媒体流(Turn on media streaming )按钮。这将激活您 PC 上的内置DLNA媒体服务器,并更改您的防火墙规则(change your firewall rules)和网络设置以允许媒体流。
- 等待几秒钟让Windows打开服务。完成后,您可以修改服务器设置。要更改DLNA媒体服务器的名称,请替换命名您的媒体库(Name your media library)文本框中的文本。
- 如果您想与本地网络上其他支持 DLNA 的设备共享您的媒体文件,请确保已启用允许(Allowed )复选框。您会在此计算机上的媒体播放器(Media players on this computer)选项旁边看到它。
- 媒体从Windows 文件资源管理器中的(Windows File Explorer)库(Libraries)文件夹共享。这在Windows 10(Windows 10)中默认隐藏。因此,要查看这些文件夹,请打开Windows 文件资源管理器(Windows File Explorer)并右键单击左侧树形菜单中的空白区域,然后选择“显示库”(Show Libraries)选项。
- 启用库后,选择左侧树形菜单中库(Libraries)选项旁边的箭头,然后选择可用选项之一(例如,文档、音乐、图片(Documents, Music, Pictures )或视频(Videos))。这将显示这些库(Libraries)中的文件夹列表(例如, Windows用户文件夹中的视频文件夹)。(Videos)
当您的 PC 开启时,您的库(Libraries)文件夹中的任何内容(例如照片或视频文件)都将可供本地网络上支持 DLNA的播放器访问。(DLNA)确保(Make)将您想要流式传输的任何文件移动到您选择的库(Libraries)文件夹,以便您将它们流式传输到支持的DLNA播放器。
使用 Plex 创建 DLNA 流媒体服务器 (Using Plex to Create a DLNA Streaming Server )
Windows 的内置DLNA服务器是在本地网络中快速启用DLNA流式传输的好方法。(DLNA)但是,它不是一个得到很好支持的功能,启用它的设置和管理您的内容的库(Libraries)文件夹都隐藏起来。
如果您正在为您的 Windows PC 寻找更受支持的流媒体解决方案(或者如果您有Mac并且希望添加DLNA支持),您可能更愿意尝试Plex。Plex是一个多合一的媒体服务器平台,可让您为照片、家庭视频、电视节目、电影等管理和创建内容库。
虽然您可以构建一个独立的Plex服务器来托管您的内容,但您也可以在您的 PC 或Mac上设置Plex。这将启用从您的 PC 到其他功能设备的 DLNA 样式流式传输。您还可以使用许多第三方 Plex 插件扩展(third-party Plex plugins,)Plex的功能,提供与Netflix、YouTube等的集成。
如果您已在 PC 上下载并安装了 Plex 服务器,则可以在(downloaded and installed the Plex server)Web 应用程序(Web App)的设置区域中启用 Plex 的内置DLNA功能,可从您的 Web 浏览器访问。
- 首先,打开您的 Web 浏览器并使用地址栏访问您服务器的Web App控制面板(例如http://127.0.0.1:32400/web/)。选择右上角的帐户图标,然后从下拉菜单中选择帐户。(Account)
- 在左侧菜单中选择DLNA类别。(DLNA )要将DLNA流式传输到网络上支持的播放器,请选中启用 DLNA 服务器(Enable the DLNA server )复选框,然后选择保存更改(Save Changes)以将它们应用到您的服务器。
- 启用DLNA流式传输后,您的(DLNA)Plex服务器会将其媒体库中的内容流式传输到支持DLNA的设备。要查看或添加包含您希望流式传输的照片或视频的新库,请在左侧菜单中选择库类别,然后选择(Libraries)添加库(Add Library)以添加新文件夹。
在本地网络上流式传输家庭媒体内容(Streaming Home Media Content on a Local Network)
使用 PC 或Mac创建DLNA媒体服务器是将电影和相册快速流式传输到其他设备的好方法。您还可以考虑将照片和视频从 Windows 流式传输到 Xbox(streaming photos and videos from Windows to an Xbox)。或者,如果您想在其他地方使用您的 PC,您可以使用 Chromecast 流式传输整个桌面(stream your entire desktop using a Chromecast)。
如果您的媒体收藏太大,您还可以考虑在网络上设置网络附加存储 (NAS) 设备(setting up a network attached storage (NAS) device)。这些通常带有DLNA和其他内置媒体流功能,包括Plex 支持(Plex support)。您还可以构建自己的 Plex 服务器(build your own Plex server),该服务器具有足够的存储空间来存储和从单个设备流式传输。
How to Turn Your Computer Into a DLNA Media Server
Long gone arе the days whеre the only way to enjoy уour media collection was to break out the photo albums or the video cаssettes. Thanks to streaming technology like DLNA, you can create your own mediа server from home, allowing you to stream your digital photos and video files to your TVs, smartphones, and other devices.
There are a few ways you can use DLNA to stream content from your PC to other devices. For instance, you could use Windows’ own built-in DLNA service or you could use a third-party tool like Plex to stream your content instead. If you want to create a DLNA media server using Windows 10, here’s what you’ll need to do.
What Is a DLNA Media Server?
DLNA stands for Digital Living Network Alliance, and refers to the group of manufacturers and developers behind the technological standard of the same name. The DLNA standard allows supported devices to stream videos and photos from a DLNA server to other devices, regardless of their size or operating system.
A DLNA media server uses this standard to stream content. The server is usually the device that holds the video or photo collection, such as your PC or attached network storage. When you connect a DLNA-supported device to your local network, it should detect any DLNA servers (and shared media content) automatically.
This is why you can stream media from a Windows 10 PC to a Linux-based set top box, or from a DVD player with a custom embedded operating system to an Android smartphone. Thanks to the DLNA standard, manufacturers have baked in the necessary support for these devices to stream media from A to B.
The technology isn’t perfect, but it means that you can easily set up a streaming service for your movies and photos without needing expensive equipment. It’s quite likely that, assuming you have fairly modern technology in your home, that your TV, PC, and smartphone can all stream content from a supported DLNA server.
How to Set Up a DLNA Media Server on Windows 10
Many devices support playback from a DLNA server, but to stream the content, you’ll need the server set up in the first place. If you don’t have a DLNA media server already, you can quickly use the built-in DLNA media server on Windows 10 to begin streaming.
This service requires a bit of configuration, so you’ll need to follow these steps to set it up first. You may need to update Windows 10 and configure your network to allow other devices to connect to your PC by setting your network as a private network on Windows.
- To begin, you’ll need to access the Windows Settings menu. Right-click the Start menu and select Settings to do this.
- In the Find a setting search box at the top of the Settings menu, type media streaming. Select the Media streaming options recommendation that appears in the drop-down menu.
- This will open an older Control Panel window. In the Media streaming options window, select the Turn on media streaming button. This will activate the built-in DLNA media server on your PC, as well as change your firewall rules and network setup to allow for media streaming.
- Allow a few seconds for Windows to switch the service on. Once this is complete, you can modify your server settings. To change the name of the DLNA media server, replace the text in the Name your media library text box.
- If you want to share your media files with other DLNA-capable devices on your local network, make sure that the Allowed checkbox is enabled. You’ll see it next to the Media players on this computer option.
- Media is shared from your Libraries folders in Windows File Explorer. This is hidden by default in Windows 10. So to view these folders, open Windows File Explorer and right-click an empty space in the tree menu on the left, then select the Show Libraries option.
- Once Libraries are enabled, select the arrow next to the Libraries option in the left-hand tree menu, then select one of the available options (eg. Documents, Music, Pictures or Videos). This will display the list of folders within those Libraries (eg. the Videos folder in your Windows user folder).
Any of the content held in your Libraries folders (such as photos or video files) will be accessible to DLNA-capable players on your local network while your PC is switched on. Make sure to move any files you want to stream to your selected Libraries folders to allow you to stream them to supported DLNA players.
Using Plex to Create a DLNA Streaming Server
Windows’ built-in DLNA server is a great way to quickly enable DLNA streaming across your local network. However, it isn’t a well supported feature, with both the settings to enable it and the Libraries folder to manage your content hidden away.
If you’re looking for a better supported streaming solution for your Windows PC (or if you have a Mac and you’re looking to add DLNA support), you might prefer to give Plex a try. Plex is an all-in-one media server platform that allows you to manage and create a content library for your photos, home videos, TV shows, movies, etc.
While you can build a standalone Plex server to host your content, you can also set up Plex on your PC or Mac. This will enable DLNA-style streaming from your PC to other capable devices. You can also expand Plex’s features using a number of third-party Plex plugins, providing integrations with Netflix, YouTube, and more.
If you’ve downloaded and installed the Plex server on your PC, you can enable Plex’s built-in DLNA features in the settings area of the Web App, accessible from your web browser.
- To start, open your web browser and use the address bar to access the Web App control panel for your server (eg. http://127.0.0.1:32400/web/). Select your account icon in the top right, then select Account from the drop-down menu.
- Select the DLNA category in the left-hand menu. To enable DLNA streaming to supported players on your network, select the Enable the DLNA server checkbox, then select Save Changes to apply them to your server.
- With DLNA streaming enabled, your Plex server will stream content from its media libraries to DLNA-supported devices. To view or add new libraries containing photos or videos you wish to stream, select the Libraries category in the left-hand menu and select Add Library to add new folders.
Streaming Home Media Content on a Local Network
Creating a DLNA media server using your PC or Mac is a great way to quickly stream your movies and photo albums to your other devices. You could also think about streaming photos and videos from Windows to an Xbox. Or, if you want to use your PC elsewhere, you could stream your entire desktop using a Chromecast.
If your media collection is too large, you could also think about setting up a network attached storage (NAS) device on your network. These often come with DLNA and other media streaming capabilities built-in, including Plex support. You can also build your own Plex server with enough storage to store and stream from a single device.