Skip to content
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

Issues downloading DRM #694

Open
badbeezy opened this issue Feb 6, 2025 · 2 comments
Open

Issues downloading DRM #694

badbeezy opened this issue Feb 6, 2025 · 2 comments

Comments

@badbeezy
Copy link

badbeezy commented Feb 6, 2025

I'm having issues downloading videos using DRM. I used to be able to bypass this issue using OF-DRM but i guess an update prevented that program from working i now receive the following errors:

Exception caught: Object reference not set to an instance of an object.

               StackTrace:    at OF_DL.Helpers.DownloadHelper.OnError(Object sender, ConversionErrorEventArgs e)

at FFmpeg.NET.Engine.OnError(ConversionErrorEventArgs e)
at FFmpeg.NET.FFmpegProcess.OnConversionError(ConversionErrorEventArgs eventArgs)
at FFmpeg.NET.FFmpegProcess.OnException(List`1 messages, FFmpegParameters parameters, Int32 exitCode, Exception caughtException)
at FFmpeg.NET.FFmpegProcess.ExecuteAsync(ProcessStartInfo startInfo, FFmpegParameters parameters, CancellationToken cancellationToken)
at FFmpeg.NET.FFmpegProcess.ExecuteAsync(CancellationToken cancellationToken)
at FFmpeg.NET.Engine.ExecuteAsync(FFmpegParameters parameters, CancellationToken cancellationToken)
at FFmpeg.NET.Engine.ExecuteAsync(String arguments, CancellationToken cancellationToken)
at OF_DL.Helpers.DownloadHelper.DownloadDrmMedia(String user_agent, String policy, String signature, String kvp, Stri astModified, Int64 media_id, String api_type, Progre
Downloading 2280 Posts ---------------------------------------- 47%
Exception caught: Unable to parse license

                                                                                                         StackTrace:    at WidevineClient.Widevine.CDM.ProvideLicense(String sessionId, Byte[] license)
                                                                4)

Anyone know whats happening here?

@melithine
Copy link
Collaborator

Try following https://sim0n00ps.github.io/OF-DL/docs/config/cdm and see if that helps.

@badbeezy
Copy link
Author

i actually did generate my own widevide keys so i’m not sure why this is happening. i’m using windows 10, 32 bit so i’m using an older version of ffmpeg. could that be the reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants