Giter VIP home page Giter VIP logo

check-video's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

check-video's Issues

Error Log in the same folder

I found it really useful.
But I need to use it in an environment where video folders are with read only access.
So would be grateful if Error Log can generate in the same folder as that of this Batch script resides..

I tried to make it, But couldn't do it.
Thanks a lot in advance..

Specific filename skip, and corrupted file marked as Good.

I have some files which names contains ! symbol
(I know it's not good practice to name files like that, but still...)
So these files are skipped, - due to No such file or directory error.
For example: File named Sea!.mp4 in CLI is displayed as Sea1.

I got some identical files, one is playing fine, but other at specific time shows blocking artifacts.
But ffmpeg integrity check with your bat file marks both of them as Video is good.

Tried to check both files with other ffmpeg code, and It shows that second one have problems.
I know there are logging level parameters, maybe there is difference, that one batch can detect error, and other do not.

I can share these files to check, but they are kinda NSFW.

UPD.
So what I think, -map 0:1 parameter selects not video stream, but audio, and checks it's integrity.
I payed attention to my CPU load with your bat, and there was very small load.
Other bat file (without -map) loads CPU like 80-90%, and can detect places where video stream is corrupted.

As conclusion I think you just need to or remove -map parameter, or set it to -map 0:0 to check video stream. Because files I mentioned before have good audio, but one of them shows broken frames, and still can pass check.

UPD2*
To speed processing it checks the audio stream for errors, instead of processing the entire file. This is usually enough to determine if a video is corrupt due to a stopped download, extraction or something similar.
Didn't saw this part, so half of text above isn't actual no more.

Unicode character support?

Hi guys - well done - this looks great! I am finding though that when checking large list of videos, all files whose names contain unicode characters fail. Any clues on what modifications to make to allow unicode characters in filenames?

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.