plex实现流媒体服务器
Streaming content from your Plex Media Server is great, but sometimes—like when you’re going to be offline or stuck with cruddy internet speeds while traveling—there’s no substitution for having a copy of the media stored on your device instead of in the cloud. Fortunately, it’s easy to grab your media and go.
从Plex Media Server传输内容非常棒,但是有时(例如,当您准备离线或旅行时互联网速度缓慢时),没有替代方法将媒体副本存储在设备中而不是在云中。 幸运的是,获取媒体信息很容易。
下载,同步和高级区别 (Downloading, Syncing, and the Premium Difference)
With Plex, there are two ways to approach this issue, dependent on whether you’re a free Plex user or a Plex Premium user. Both free and premium users can download content from their Plex Media Servers, but this download functionality is 1) manual action only; 2) simply downloads a copy of the media to the computer or mobile device you are using; and 3) does not automatically transcode your media (to make it smaller and more mobile-storage friendly).
使用Plex,有两种方法可以解决此问题,具体取决于您是免费的Plex用户还是Plex Premium用户。 免费用户和高级用户都可以从其Plex Media Server下载内容,但是此下载功能是1)仅手动操作; 2)只需将媒体的副本下载到您正在使用的计算机或移动设备上; 和3)不会自动对您的媒体进行转码(使其变得更小,更便于移动存储)。
The upside to this technique is that you get a copy of the media to do whatever you want with (like give to a friend) and that copy is in the original quality. The downside is that it does not automatically sync, you have to manually transcode if you want smaller file sizes, and you have to load the media in a third-party player (e.g. if you download a movie to your iPhone using the manual download method, the movie won’t load in the Plex app but it will load in any media player on your iPhone capable of playing it).
这种技术的好处是,您可以获得媒体的副本以做您想做的任何事情(例如送给朋友),并且该副本具有原始的质量。 缺点是它不会自动同步,如果要减小文件大小,则必须手动进行转码,并且必须将媒体加载到第三方播放器中(例如,如果使用手动下载方法将电影下载到iPhone, ,电影将不会在Plex应用程序中加载,但会在iPhone上能够播放的任何媒体播放器中加载)。
The other method, available only to Plex Pass premium subscribers, is the sync method. While the download method might be great for a one-off download (like grabbing a movie or two to copy to your laptop before you head to the airport), the syncing method is vastly superior for consistent use (like keeping the most recent episodes of your favorite TV show synced to your phone and ready for viewing on the commuter train). The upside to the syncing method is that it is fully automated and highly customizable, thanks to flexible syncing rules. You can sync files from your Plex Server to any Plex app that is registered to your Plex account, including Plex for iOS, Android, Windows Phone, and Windows desktop.
仅Plex Pass高级订户可用的另一种方法是同步方法。 虽然下载方法非常适合一次性下载(例如在前往机场之前抓取一两部电影以复制到您的笔记本电脑),但同步方法对于一致使用(例如保留最新的电视剧集)具有极大的优势。您最喜欢的电视节目已同步到您的手机,并可以在通勤列车上观看)。 同步方法的优点是,由于具有灵活的同步规则,因此它是完全自动化和高度可定制的。 您可以将文件从Plex服务器同步到已注册到Plex帐户的任何Plex应用程序,包括iOS,Android,Windows Phone和Windows桌面的Plex。
Let’s take a look at how to download and sync content, respectively, using a season of the TV show Archer as our sample media.
让我们来看看如何使用电视剧《阿切尔》的一季作为示例媒体来分别下载和同步内容。
如何从Plex媒体服务器下载内容(免费或高级) (How to Download Content from Your Plex Media Server (Free or Premium))
To download a couple one-off videos from your Plex Media Server, you simply need to be logged into your Plex account and access the web interface. You can do this either while your’e at home or while you’re away from home, as long as you have a good internet connection. The only real restriction on downloading is that you must be the owner of the Plex Media Server—this means you can download everything from your own server, but you can’t download content from a server someone has shared with you, nor can they download from a server you share with them.
要从Plex Media Server下载一对一次性视频,您只需登录到Plex帐户并访问Web界面。 只要您有良好的互联网连接,就可以在家里或不在家中进行此操作。 唯一真正的下载限制是您必须是Plex Media Server的所有者-这意味着您可以从自己的服务器上下载所有内容,但不能从别人与您共享的服务器上下载内容,也不能下载从您与他们共享的服务器上。
From that web interface, it’s super simple to download content. First, navigate to the media you’re interested in. We’re interested in grabbing a few episodes from Season 1 of Archer to watch away from home, so we’ll head there now. Here in the Season 1 entry, we need to select Episode 1 and then click on the “…” menu icon, as seen below.
通过该Web界面,下载内容非常简单。 首先,导航到您感兴趣的媒体。我们有兴趣从《弓箭手》第1季中摘取几集内容,以便在家外观看,所以我们现在就去那里。 在第1季的条目中,我们需要选择第1集,然后单击“…”菜单图标,如下所示。
In the context menu, click “Download”.
在上下文菜单中,单击“下载”。
The file will be downloaded, in it’s full original file size and resolution, to you computer or mobile device. Additionally, you can also click on the full detailed entry for any media item (individual TV episodes, movies, songs in your music library, etc.) and click on the “…” menu in the left side navigation bar to also select “Download”. You cannot download entire seasons of TV shows at one time and will need to repeat this process for every episode you wish to transfer.
该文件将以完整的原始文件大小和分辨率下载到您的计算机或移动设备上。 此外,您还可以单击任何媒体项目的完整详细条目(单个音乐集,电影,音乐库中的歌曲等),然后单击左侧导航栏中的“…”菜单,还选择“下载” ”。 您无法一次下载整个季节的电视节目,并且需要对要传输的每一集重复此过程。
As we mentioned, this does not sync the file to the local installation of Plex or your mobile Plex app, it merely transfers a copy of the file from the media server to your device. It is up to you, at this point, to load the file in an appropriate media player for your device (like VLC or another good multi-format media player).
正如我们提到的,这不同步文件到本地安装Plex的或移动Plex的应用程序,它只是从媒体服务器上的文件的副本传送到您的设备。 此时,由您自己决定将文件加载到适合您设备的媒体播放器中(例如VLC或其他良好的多格式媒体播放器)。
如何从Plex媒体服务器同步内容(仅高级) (How to Sync Content from Your Plex Media Server (Premium Only))
To sync content from your Plex Media Server, you can approach things one of two ways. You can use the same web-based interface we used in the previous section, but you can also use the interface in mobile apps like Plex for iOS to sync, too. Again, to avoid any frustration, you must have a premium Plex Pass account to use the syncing feature.
要同步来自Plex Media Server的内容,可以采用以下两种方法之一进行处理。 您可以使用与上一节相同的基于Web的界面,但也可以在移动应用程序(如Plex for iOS)中使用该界面进行同步。 同样,为了避免感到沮丧,您必须具有高级Plex Pass帐户才能使用同步功能。
Let’s take a look at how to sync using the web interface first. Starting in the same place as we did in the previous section of the tutorial Archer Season 1, simply tap on the sync icon. Although we’re starting the process in Season 1, you can use the sync feature on an entire show (across multiple seasons) as well as on individual pieces of media.
让我们先看看如何使用网络界面进行同步。 从与《弓箭手第1季》教程的上一部分相同的地方开始,只需点击同步图标。 尽管我们将从第1季开始该过程,但是您可以在整个节目(跨多个季)以及单个媒体上使用同步功能。
You’ll be prompted to select a destination. The destinations listed below are the valid destinations for our particular account. “iPhone” is my personal phone and the only device I currently have a mobile Plex app installed on. You may see other options listed here like “Carl’s iPhone”, “Tim’s Nexus 7”, or “Win10” depending on what devices you have the Plex app installed on and what their names are. (Cloud Sync is a totally separate function and designed to sync your content to a cloud-based storage provider; we’ll ignore that for now.)
系统将提示您选择一个目的地。 下面列出的目的地是我们特定帐户的有效目的地。 “ iPhone”是我的个人电话,也是我目前唯一安装了移动Plex应用程序的设备。 您可能会在这里看到其他选项,例如“ Carl's iPhone”,“ Tim's Nexus 7”或“ Win10”,这取决于安装了Plex应用程序的设备及其名称。 (Cloud Sync是一个完全独立的功能,旨在将您的内容同步到基于云的存储提供程序;我们暂时将其忽略。)
After a destination device, you’ll be prompted to make a handful of choices about the syncing operation, as seen below. The biggest force behind your choices will be, first and foremost, the storage available on your device, as well as its screen size. Let’s look at how the individual choices are influenced by those things.
在目标设备之后,系统将提示您对同步操作进行一些选择,如下所示。 首先,您选择的最大力量将是设备上可用的存储空间以及屏幕尺寸。 让我们看看这些东西如何影响个人选择。
The first choice is what to name the sync (normally you would simply leave it as is, like “TV Show – Season”, but if you are creating multiple syncing rules for different devices you might want to name them like “TV Show – Season – iPad” to indicate the settings are optimized for the iPad).
首选名称是同步的名称(通常,您可以像“电视节目-季节”那样直接保留它,但如果要为不同的设备创建多个同步规则,则可能要命名为“电视节目-季节” – iPad”表示设置已针对iPad优化。
You can also specify “Unwatched only” to prevent it from syncing episodes you’ve already seen, and you can set a limit to X number of items (e.g. only sync the next 3, 5, or whatever number of episodes). Both of these techniques are useful if you want to keep storage demands under control.
您还可以指定“仅不观看”,以防止它同步您已经看过的剧集,并且您可以设置X个项目的限制(例如,仅同步下3、5个或任意数量的剧集)。 如果要控制存储需求,这两种技术都是有用的。
Also useful is the playback quality setting, seen here set to “2 Mbps, 720p”. If you’re copying the files to your laptop or a nice big tablet, then perhaps you’ll want to sacrifice the space to go with a higher quality 1080p conversion, but if you’re watching sitcoms on your phone screen, you’ll likely want to dial back the quality to 720p or even 480p to save space. Once you’ve made your selections click “Sync”.
播放质量设置也很有用,此处设置为“ 2 Mbps,720p”。 如果您要将文件复制到笔记本电脑或大型平板电脑上,那么也许您会想牺牲空间来获得更高质量的1080p转换,但是如果您正在手机屏幕上观看情景喜剧,可能希望将质量回拨到720p甚至480p以节省空间。 选择完毕后,单击“同步”。
Plex will announce that the syncing process has started. If you click on the “here” link, it’ll take you to the syncing queue where you’ll see a general overview of the transcoding and syncing process—you can click on the entry for a more detailed view if you wish or simply wait it out.
Plex将宣布同步过程已开始。 如果您单击“此处”链接,它将带您到同步队列,您将在其中看到转码和同步过程的一般概述-如果您愿意或只需单击条目即可获得更详细的视图等一下
While that’s chugging along, let’s pop over to the mobile app to start the syncing process: while the process is almost totally automatic, it won’t happen unless you open the application on the device.
在此过程中,让我们跳到移动应用程序以启动同步过程:虽然该过程几乎是全自动的,但是除非您在设备上打开应用程序,否则它不会发生。
On your device—we’re using our iPhone—run the application. By default, you’ll be hooked into your default media server (in our case “plexmediaserver_1” because, clearly, we have a flair for creative names). Click on the menu button in the corner.
在您的设备上(我们正在使用iPhone)运行该应用程序。 默认情况下,您将被挂接到默认的媒体服务器上(在我们的示例中为“ plexmediaserver_1”,因为很明显,我们具有广告素材名称的天赋)。 单击角落的菜单按钮。
Within the menu click on “Sync”. Most of the time, the syncing process should happen automatically the moment you open the app (you can see that our device is already syncing). If the sync fails to start, though, you can come here to start it manually.
在菜单中单击“同步”。 在大多数情况下,同步过程应该在您打开应用程序后自动进行(您可以看到我们的设备已经在同步)。 但是,如果同步无法启动,您可以在此处手动启动同步。
Inside the Sync menu you’ll see that our sync, while already started, is still in progress (if it had not started already, we could click the grayed out “sync” button to start it up. Here we can click on the syncing rule “Archer (2009) – Season 1” to both check on the progress and make changes.
在“同步”菜单中,您会看到我们的同步已经开始,但是仍在进行中(如果尚未开始,我们可以单击灰色的“同步”按钮来启动它。在这里,我们可以单击同步规则“ Archer(2009)– Season 1”来检查进度并进行更改。
Here, we see not only the sync options we set on the server (which we can change here) but also a rundown of which episodes are synced to the device already and which are in progress.
在这里,我们不仅看到我们在服务器上设置的同步选项(可以在此处更改),还可以看到已将哪些片段已同步到设备以及正在进行中的摘要。
Episode 1 is already on the device, so let’s show you how to access synced media. Simply exit out of the menus back to the main screen and then, in the upper corner, tap on the server name to switch locations.
第1集已经在设备上,因此让我们向您展示如何访问同步的媒体。 只需退出菜单返回主屏幕,然后在右上角点击服务器名称即可切换位置。
Select the local device, in this case “iPhone”.
选择本地设备,在这种情况下为“ iPhone”。
Now you’ll be browsing the local device instead of the server, and whatever media you’ve synced (TV shows in our case, as seen below) will appear in your media menu.
现在,您将浏览本地设备而不是服务器,并且您同步的任何媒体(本例中为电视节目,如下所示)都将显示在媒体菜单中。
You can navigate around the application just like you would as if you were connected to your home server: your media will have the same layout, same menus, and same metadata with the small (but important) difference that it is stored right on your device instead of the server.
您可以像在连接到家庭服务器一样浏览该应用程序:您的媒体将具有相同的布局,相同的菜单和相同的元数据,只是存储在设备上的微小(但很重要)的差异而不是服务器。
That’s all there is to it. Whether you’re using the old school Download function to just grab a complete copy of something for your remote device or you’re enjoying the comforts of the premium Syncing feature, it’s easy to keep fresh media on your devices so you can enjoy offline viewing wherever you are.
这里的所有都是它的。 无论您是使用老式的下载功能只是为远程设备获取某件东西的完整副本,还是享受高级同步功能带来的舒适,都可以轻松地在设备上保留新鲜的媒体,以便享受离线观看的乐趣无论你在哪。
翻译自: https://www.howtogeek.com/304199/how-to-download-and-sync-media-from-your-plex-media-server-offline-viewing/
plex实现流媒体服务器