Prevent partial DRM video downloads #142

Merged
sim0n00ps merged 3 commits from whimsical-c4lic0/OF-DL:fix-partial-video-downloads into master 2026-02-19 18:03:11 +00:00
Collaborator

This PR adds ffprobe as a dependency to check the duration of DRM video downloads. It compares the downloaded video duration against the expected duration retrieved from the MPD manifest. A config value is used to set the allowed threshold (default 98%). If the duration ratio (actual / expected duration) is less than the threshold. The download will be deleted and tried again (up to 3 times). FFprobe is included in FFmpeg downloads, so no changes were needed in the docker image.

This PR adds ffprobe as a dependency to check the duration of DRM video downloads. It compares the downloaded video duration against the expected duration retrieved from the MPD manifest. A config value is used to set the allowed threshold (default 98%). If the duration ratio (actual / expected duration) is less than the threshold. The download will be deleted and tried again (up to 3 times). FFprobe is included in FFmpeg downloads, so no changes were needed in the docker image.
whimsical-c4lic0 added 2 commits 2026-02-13 07:05:45 +00:00
Collaborator

We'll need to update the installation docs about this, too, not just the new config options. It looks like we don't even mention the ffmpeg dependency on the Linux installation page currently, that's an oversight.

We'll need to update the installation docs about this, too, not just the new config options. It looks like we don't even mention the ffmpeg dependency on the Linux installation page currently, that's an oversight.
Author
Collaborator

The windows installation docs have been updated, but you're right about the Linux installation page. That will also need to be updated to reflect that the project uses .NET 10 instead of 8

The windows installation docs have been updated, but you're right about the Linux installation page. That will also need to be updated to reflect that the project uses .NET 10 instead of 8
whimsical-c4lic0 added 1 commit 2026-02-17 18:38:00 +00:00
sim0n00ps merged commit 4b0bd4d676 into master 2026-02-19 18:03:11 +00:00
whimsical-c4lic0 deleted branch fix-partial-video-downloads 2026-02-19 18:15:43 +00:00
Sign in to join this conversation.
No description provided.