OFDLV1.9.12 download error #28

Open
opened 2025-06-13 11:54:18 +00:00 by mopp · 5 comments

Im using OFDLV1.9.12, and it works very well by May.
But recently I cannot download anything, only can see the error code like below.
Can you help me?

Downloading Post ---------------------------------------- 0%
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 Time lastModified, Int64 media_id, String api_type, Progre
Downloading Post ---------------------------------------- 0%th)

Im using OFDLV1.9.12, and it works very well by May. But recently I cannot download anything, only can see the error code like below. Can you help me? Downloading Post ---------------------------------------- 0% 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 Time lastModified, Int64 media_id, String api_type, Progre Downloading Post ---------------------------------------- 0%th)
Collaborator

Have you downloaded CDM keys using the discord bot? Assuming you have joined the OF-DL discord server, you can access the bot from this link (or the pinned post in the #ofdl support forum)

Have you downloaded CDM keys using the discord bot? Assuming you have joined the OF-DL discord server, you can access the bot from [this link]([url](https://discord.com/channels/1198332760947966094/1333835216313122887)) (or the pinned post in the #ofdl support forum)

I've been having the same issue. Is this keys via a bot a new thing? How does one access the server? I'm not seeing a link. Thank you!

I've been having the same issue. Is this keys via a bot a new thing? How does one access the server? I'm not seeing a link. Thank you!
Collaborator

The keys bot has been available for about 6 months now. The discord invite link is in several places (the README in code, the docs pages, etc). You can find both the discord invite link and the keys bot link in the docs here: https://docs.ofdl.tools/config/cdm/#discord-method

The keys bot has been available for about 6 months now. The discord invite link is in several places (the README in code, the docs pages, etc). You can find both the discord invite link and the keys bot link in the docs here: https://docs.ofdl.tools/config/cdm/#discord-method

I'm getting a similar error. I've just generated new keys via the discord bot, and made sure I'm using the FFMPEG distributed with OF-DL. Grateful for any help!

Exception caught: No process is associated with this object.

       StackTrace:    at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_HasExited()
   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                                                                   lastModified, Int64 media_id, String api_type, Progre
Downloading 127 Posts ----------------------------------------  12%
I'm getting a similar error. I've just generated new keys via the discord bot, and made sure I'm using the FFMPEG distributed with OF-DL. Grateful for any help! ``` Exception caught: No process is associated with this object. StackTrace: at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_HasExited() 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 lastModified, Int64 media_id, String api_type, Progre Downloading 127 Posts ---------------------------------------- 12% ```

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).

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).
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sim0n00ps/OF-DL#28
No description provided.