Closed vtenfys closed 2 years ago
Most likely they are DRM protected.
I'd be happy to donate to the project for somebody to buy some movies to test this out; is there any way I can do so? I can code but don't have any experience in breaking DRM.
No one had so far (apart from obvious screen capturing and some non practical heuristic sequence based approaches).
I tried this again today just to see if I could use any other apps to remove the DRM but now I got the error 'rental videos unsupported' rather than the previous output. So it looks like this is another #359 duplicate... not sure why it worked initially though (not removing the DRM, but downloading the original file at least).
at least detect that the video or the format are DRM protected.
youtube-dl won't extract DASH formats because when they are protected they will contain ContentProtection
.
this some information that appear in the js code of the player:
url_data
may contain drm_families
.video_info
may contain one of this attributes license_info
, drm_session_id
, fair_play_cert
.needs confirmation if this information can help to detect DRM protection in youtube.
Is there any update on this? I have numerous movies that are purchased that you can use for testing
@sakanaproductions Just tried this on the latest version (2017.04.11), and it seems to work fine for purchased videos, despite one warning which didn't seem to affect the output. The resulting file was DRM-free. I don't have any "rented" videos, so not sure if those use different DRM.
@tommcintyre what syntax did you use? I am running 2017.04.11 version and I get 2 warnings: WARNING: Unknown codec dtse[youtube] {329} signature length 41.41, html5 player en_US-vfl5-0t5t WARNING: Unknown codec eac3[youtube] {350} signature length 41.41, html5 player en_US-vfl5-0t5t and I have the same issues as the original post.
I could've sworn I had a working drm-free video file from the 4.27 version, but since 4.28 everything's been unable to be properly played back.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2016.04.06. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-v
flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible. If work on your issue required an account credentials please provide them or explain how one can obtain them.
When I try to download a movie from YouTube that's been purchased on Google Play, it'll appear to be downloaded successfully, but upon opening the file in the player the screen is black and no sound played. The video length on the seeker is correct, however. I'm not sure what the problem is exactly but I suppose it might be that YouTube uses some sort of extra encryption on movies that isn't present for normal videos.
N.b. I cancelled the download in the log given, but I've confirmed this happens each time when downloading in full. I've also tried other formats, none of which seem to work (the default is 1080p webm).
I've tried with the stable 2016.04.06 version, and the git version.