[FFmpeg-user] Fastest way to check integrity of video files

James Darnley james.darnley at gmail.com
Sat May 17 11:48:14 CEST 2014


On 2014-05-16 09:36, Molly Millions wrote:
> Hi!
> 
> I currently use this command in order to detect possible errors in video
> files:
> 
> ffmpeg -i INPUT -f mp4 -benchmark -y null
> 
> Is there any faster way than this?

Calculating some hash or checksum (crc32, md5, sha1) is probably faster
but then you need a reference value with which to compare it.

It would also be faster for you to not encode the video and audio every
time.  You probably want -f null.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 683 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140517/d5765b21/attachment.asc>


More information about the ffmpeg-user mailing list