-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site request for plex.tv #4062
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
i was able to grab the MPD using the firefox add-on called the stream detector |
How to test if an online video is DRM-protected. Please keep in mind that testing one video isn't necessarily an indication of whether all the videos on the website contain drm. Step 1: start by checking whether the video can be played in your web browser, after disabling DRM technologies on it: Firefox instructions
Brave Browser instructions
Microsoft Edge instructions
Vivaldi instructions
If the video could be played with DRM disabled, feel free to open a site-support request for the website. if the website has an mobile app availableIf a website has an equivalent android app available, it is possible that videos in the app won't be DRM protected. You can check if the videos are DRM protected by installing the app on Bluestacks emulator. If the video plays in Bluestacks, feel free to open a site-support request for that website, but make sure to mention that it works in Bluestacks. However, if the video doesn't play in Bluestacks, then I'm afraid you're out of luck, and the website is very unlikely to be supported by yt-dlp :( If the website doesn't have any mobile appsUnfortunately, the video is most likely DRM protected. It is unlikely to be supported by yt-dlp. Please do not open any site support requests related to that video. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I'm up against similar struggles, looking for solutions and insight about downloading painlessly from plex.tv. After some trial and error I'm able to download from plex.tv successfully some of the time. For the HLS streams, it requires locating two hls/m3u8/token links, one for the video stream and one for the audio stream, downloading each of them (as two mp4 containers), and then combining the two using FFMPEG or similar tools. I've been looking for ways to eliminate the extra steps and legwork, to simplify the process to where both video and audio streams are downloaded and muxed together concurrently and automatically as is done with most other yt-dlp supported sites. This is the goal. |
This comment was marked as resolved.
This comment was marked as resolved.
Neither the video nor the audio streams are scrambled or unplayable, so probably not. It's just that yt-dlp is not handling plex.tv appropriately, meaning it's not recognizing and downloading both streams concurrently and processing them together into one video file... I end up having to do that myself. |
This comment was marked as resolved.
This comment was marked as resolved.
While the example in OP seems to contain DRM, not all videos do:
|
This was super useful.
|
Here's another example that worked fine, when you use the yt-dlp "https://vod.provider.plex.tv/library/parts/62be16665e5872e9508f50ab-hls.m3u8?includeAllStreams=1&X-Plex-Product=Plex+Mediaverse&X-Plex-Token=yTzrtVtCLAQgDTeZxbvD" yt-dlp downloaded both video and audio sources and combined them automatically to get a ready-to-watch mp4 video file. |
Workaround: You can use dash-mpd-cli to download a Plex media by the stream URL which ends in .mpd. How to get the MPD URL from Plex
|
Thanks @JasonLandbridge. I tried this but only get a 401 when trying to use basic auth in the command line for dash-mdp-cli. Would you be able to provide an example command to show what else might be needed for plex. Auth token as well? |
Ah. Never mind @JasonLandbridge. I was able to find the full url from Video DownloadHelper plugin in chrome. |
Great! An alternative is PlexRipper (shameless plug as I am the author) that does this as well. |
Checklist
Region
Anywhere
Example URLs
https://watch.plex.tv/movie/borderline
Description
For the example URL, click on 'Watch now' to load the video. It may not play unless if you have adblocker disabled. I've taken the URL and entered it yt-dlp with the following verbose log.
I have also tried grabbing any available stream link with the network tab but could not locate any playlist or master .m3u8 links to use. Thanks.
update: there is a .mpd link that includes a token key but not sure how to use it for yt-dlp
Verbose log
The text was updated successfully, but these errors were encountered: