Error when downloading #32
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tried to download videos. Error below keeps coming up. Even when i try to download a single post. Any fix?
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, String sess, Stri fied, Int64 media_id, String api_type, ProgressTask task, String custom
I was just getting the same thing. Do you have this yellow message being printed on startup?
device_client_id_blob and/or device_private_key missing, https://ofdl.tools/ or https://cdrm-project.com/ will be used instead for DRM protected videos
If so, try following the CDM steps here. I just did this (used the Discord bot to generate my keys) and the download error appears to have gone away.
I can also confirm using the discord key fixed this issue
I fixed it for me by making sure the FFmpegPath variable in the config.conf file read
FFmpegPath = " "
which apparently forces OF-DL to look for it in the working directory - it must have been using another ffmpeg in my path (I have several versions for different apps).