Could not find file ***.mp4
When I try to download drm videos I get the following error:
Exception caught: Could not find file 'S:\OF DL_user_data_\sites\OnlyFans[author]\Posts\Free\Videos\0hf22h5ksf2oc3ays9qcl_source.mp4'.
StackTrace: at System.IO.FileInfo.get_Length() at OF_DL.Helpers.DownloadHelper.DownloadDrmMedia(String ffmpegpath, String user_agent, String policy, String signature, String kvp, String sess, String url, String decryptionKey, String folder, DateTime lastModified, Int64 media_id, ProgressTask task, String customFileName, String filename, String path, Boolean showScrapeSize) at OF_DL.Helpers.DownloadHelper.DownloadPostDRMVideo(String ffmpegpath, String user_agent, String policy, String signature, String kvp, String sess, String url, String decryptionKey, String folder, DateTime lastModified, Int64 media_id, Media, Author author, Dictionary`2 users, Config con
I have generated the blob files by myself multiple times, it never worked. I also tried to just use it with cdrm-project, in every case this error occurs. How to solve htis error?
What files are actually in the Videos folder? What version are you running, if it's the latest then ensure ffmpeg is updated and the path is accessible and correct
I found the same error only when I trying to download DRM videos.
Exception caught: Could not find file 'E:\OF DL_user_data_\sites\OnlyFans[author]\Posts\Free\Videos\XXXXXX_source.mp4'.
I never ever get this error. Are you using a custom format and check the videos folder after the exception is thrown, does that file actually exist or is it not being created at all?
I'm sure that the file is not created.
I never ever get this error. Are you using a custom format and check the videos folder after the exception is thrown, does that file actually exist or is it not being created at all?
I got this error too. Seems like it's a common error when it comes to drm videos. I tried every solution I find, but I failed.
This is an issue with the FFMpeg binary that is being used.
Non-DRM content is downloaded from the server as a mp4 file however, DRM protected content is delivered as DASH (mpd). The FFMpeg binary that is used has to be built with DASH-demuxer enabled, otherwise it is unable to download DASH content and you'll encounter the error in question with OF-DL.
The DASH-demuxer requires FFMpeg to be built specifically with libxml2 enabled. When libxml2 is enabled, DASH-demuxer will be enabled automatically by the config. Likewise, if libxml2 isn't enabled, DASH-demuxer will be automatically disabled and will not be available.
So, if you are building your own FFMpeg binary, remember to include "--enable-libxml2" in the config. Otherwise the resulting binary will not work with OF-DL, for DRM-content.
You can easily check if the FFMpeg binary you are using has DASH-demuxer available and hence, is compatible with OF-DL: "ffmpeg.exe -demuxers" (the alphabetically sorted should include dash).
This should be mentioned in the OF-DL documentation however, even currently it does mention which FFMpeg binaries should be used (https://of-dl.gitbook.io/of-dl/requirements) and the binaries specified (ffmpeg-release-essentials) indeed do include DASH-demuxer support and hence do not feature this issue.
This is an issue with the FFMpeg binary that is being used.
Non-DRM content is downloaded from the server as a mp4 file however, DRM protected content is delivered as DASH (mpd). The FFMpeg binary that is used has to be built with DASH-demuxer enabled, otherwise it is unable to download DASH content and you'll encounter the error in question with OF-DL.
The DASH-demuxer requires FFMpeg to be built specifically with libxml2 enabled. When libxml2 is enabled, DASH-demuxer will be enabled automatically by the config. Likewise, if libxml2 isn't enabled, DASH-demuxer will be automatically disabled and will not be available.
So, if you are building your own FFMpeg binary, remember to include "--enable-libxml2" in the config. Otherwise the resulting binary will not work with OF-DL, for DRM-content.
You can easily check if the FFMpeg binary you are using has DASH-demuxer available and hence, is compatible with OF-DL: "ffmpeg.exe -demuxers" (the alphabetically sorted should include dash).
This should be mentioned in the OF-DL documentation however, even currently it does mention which FFMpeg binaries should be used (https://of-dl.gitbook.io/of-dl/requirements) and the binaries specified (ffmpeg-release-essentials) indeed do include DASH-demuxer support and hence do not feature this issue.
Thank you so much for your advice, but it doesn‘t work out (latest released version: 6.1.1).
Thank you so much for your advice, but it doesn‘t work out (latest released version: 6.1.1).
The FFMpeg 6.1.1 binary from the ffmpeg-release-essential.7z package together with the latest release binary of OF-DL 1.7.48 work perfectly fine together for both DRM and non-DRM downloads. As does any other FFMpeg binary that has been built with "--enable-libxml2" configure flags (i.e., DASH-demuxer available).
Make sure your "auth.json" file has the full path pointing to THIS ffmpeg binary and that you don't have an another ffmpeg binary (without the DASH support) in anywhere in your path (in any directory pointed by the PATH environment-variable).
I guess it would be technically possible for there to be an another issue which causes this error, but I'm 99.5% sure it is the same one.
What files are actually in the Videos folder? What version are you running, if it's the latest then ensure ffmpeg is updated and the path is accessible and correct
This solved the error for me (updating ffmpeg). Thank you.
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
Same. I reverted back to 1.7.44, which still works well with DRM videos.
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
Same. I reverted back to 1.7.44, which still works well with DRM videos.
Which version of ffmpeg you used in the version 1.7.44? Is it the same as in the 1.7.48?
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
Same. I reverted back to 1.7.44, which still works well with DRM videos.
Which version of ffmpeg you used in the version 1.7.44? Is it the same as in the 1.7.48?
Yes, 6.1.1
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
Same. I reverted back to 1.7.44, which still works well with DRM videos.
Which version of ffmpeg you used in the version 1.7.44? Is it the same as in the 1.7.48?
Yes, 6.1.1
Current docunments do not match to version1.7.44. Can you tell me how to complete YTDLP_PATH and MP4DECRYPT_PATH in auth.json?
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
Same. I reverted back to 1.7.44, which still works well with DRM videos.
Which version of ffmpeg you used in the version 1.7.44? Is it the same as in the 1.7.48?
Yes, 6.1.1
Current docunments do not match to version1.7.44. Can you tell me how to complete YTDLP_PATH and MP4DECRYPT_PATH in auth.json?
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
Same. I reverted back to 1.7.44, which still works well with DRM videos.
Which version of ffmpeg you used in the version 1.7.44? Is it the same as in the 1.7.48?
Yes, 6.1.1
Current docunments do not match to version1.7.44. Can you tell me how to complete YTDLP_PATH and MP4DECRYPT_PATH in auth.json?
Thank you so much!
I have the same issue. I can download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas? I have the latest version of OF DL and the 6.1.1 version of FFMPEG suggested above.
Same. I reverted back to 1.7.44, which still works well with DRM videos.
Which version of ffmpeg you used in the version 1.7.44? Is it the same as in the 1.7.48?
Yes, 6.1.1
Current docunments do not match to version1.7.44. Can you tell me how to complete YTDLP_PATH and MP4DECRYPT_PATH in auth.json?
Thank you so much!
mp4decrypt and yt-dlp are no longer needed, just ffmpeg is needed
i have this issue too when i trying to donwload drm videos, tried update ffmpeg version metioned above, didn‘t work.
I'm using the latest version of OFDL, + latest version of ffmpeg, libxml2 enabled, DRM videos downloading fine, but some of videos nope. This doesn't always happen, but it drives me crazy when I realize I can't download everything.
