
Recherche avancée
Autres articles (98)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (15562)
-
av_vdpau_get_profile : mask out H.264 intra profile flag
4 mars 2014, par Rémi Denis-Courmont -
avformat/argo_brp : support MASK streams
25 septembre 2020, par Zane van Iperen -
How to QUICKLY batch scan video files to check for integrity (corrupt / valid)
9 juillet 2024, par nhershyThis question has been asked several times on this forum, with the accepted answer using ffmpeg to assess the integrity of the file with these example commands :


# scan a single file
ffmpeg.exe -v error -i C:\to\path\file.avi -f null - >error.log 2>&1

# batch scan
find C:\to\path\ -name "*.mp4" -exec sh -c "ffmpeg -v error -i '{}' -map 0:1 -f null - 2>'{}.log'" \;



The Problem :


The above commands work without issue, taking anywhere between 2-20 mins to assess a single video file. But when running the above batch command on a large number of video files (1000+) (assuming an average of 5 minutes per file), the process could take over a week to finish.


The Objective :


Looking for a faster solution to verify integrity of my files. Either to modify the
ffmpeg
command, or to use as a different binary entirely. Anything is accepted as long as I can run the new command in the terminal/bash. Would like to get the processing time down from a few days, to a few hours.

References :


https://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-video-file-avi-mpeg-mp4


Quickly check the integrity of video files inside a directory with ffmpeg


How can I tell if a video file is corrupted ? FFmpeg ?


https://gist.github.com/ridvanaltun/8880ab207e5edc92a58608d466095dec


Update


I never did find a "quick" way of scanning the video files. I just accepted that for the sake of thoroughness it will take some time. However, I made a GUI Python program that may benefit others :


https://github.com/nhershy/CorruptVideoFileInspector