Prevent partial DRM video downloads #142
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "whimsical-c4lic0/OF-DL:fix-partial-video-downloads"
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?
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.
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.
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