describe19 / check-video Goto Github PK
View Code? Open in Web Editor NEWWindows .bat script that checks video file integrity using ffmpeg
Windows .bat script that checks video file integrity using ffmpeg
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..
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.
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?
Hi, I improved your batch-file to support subfolders. Please check it and feel free to publish it :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.