GithubHelp home page GithubHelp logo

trainman261 / yt-dlp-checkvideointegrity Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18 KB

A plugin for yt-dlp that checks the downloaded video's integrity

License: The Unlicense

Python 92.38% PowerShell 7.62%
python yt-dlp-plugins file-integrity-check

yt-dlp-checkvideointegrity's Introduction

Check Video Integrity

This is a plugin to check if the video was downloaded successfully. It first checks a number of different fields to check if the length matches the metadata from the site (in my experience this is often a symptom of a download gone wrong). On Windows, it also checks the file duration metadata. Pull requests are welcome for other platforms.

When all the duration checks are complete, it uses ffmpeg to look through the video and search for any signs of corruption.

If there is a problem, it will abort, and yt-dlp will return an error code.

Installation

Tested on 2023.11.16.

You can install this package with pip:

python3 -m pip install -U https://github.com/trainman261/yt-dlp-CheckVideoIntegrity/archive/master.zip

See installing yt-dlp plugins for the other methods this plugin package can be installed.

Development

Python is by far not my best language, don't expect great code - but feel free to improve it! Pull requests are welcome, as mentioned. Also, feel free to open issues.

yt-dlp-checkvideointegrity's People

Contributors

coletdjnz avatar pukkandan avatar trainman261 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.