# HG changeset patch # User iuc # Date 1761843147 0 # Node ID ff7cec6bc5188201a7607d92961e9742c362b4db planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/fileidentification commit bb234555cae70fdd9be475415855a7a03c4139df diff -r 000000000000 -r ff7cec6bc518 fileidentification.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fileidentification.xml Thu Oct 30 16:52:27 2025 +0000 @@ -0,0 +1,56 @@ + + Check multimedia files if they are corrupt or duplicated + macros.xml + + results.txt + ]]> + + + + + + + + + + + + + `_. + ]]> + + +@misc{githubfileidentification, + author = {Swiss National Data and Service Center for the Humanities}, + year = {2025}, + title = {Fileidentification - A CLI to Identify Multimedia File Formats and Bulk Convert Files}, + publisher = {GitHub}, + journal = {GitHub repository}, + url = {https://github.com/dasch-swiss/fileidentification}, +} + + diff -r 000000000000 -r ff7cec6bc518 macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Thu Oct 30 16:52:27 2025 +0000 @@ -0,0 +1,10 @@ + + + 2.5.0 + 0 + + + daschswiss/fileidentification-galaxy:@TOOL_VERSION@-galaxy@VERSION_SUFFIX@ + + + diff -r 000000000000 -r ff7cec6bc518 test-data/output_results_linux_gh_action.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/output_results_linux_gh_action.txt Thu Oct 30 16:52:27 2025 +0000 @@ -0,0 +1,38 @@ + +----------- duplicates ----------- + +md5: 6c0cf64b97d107bdfae8d54ea4cd3375 - files: +test-data/file-sample_13kB.pdf +test-data/file-sample_13kB.docx + +md5: 82b415572a47acd77156a1f69e61c75e - files: +test-data/SampleJPGImage.jpg +test-data/SampleJPGImage.tif + + + +----------- file formats ----------- + +no. of files | combined size | fmt type | policy | convert | format name +2 | 0.024 MB | fmt/17 | | soffice | Acrobat PDF 1.3 - Portable Document Format +1 | 0.154 MB | fmt/569 | | | Matroska +2 | 0.019 MB | fmt/645 | | | Exchangeable Image File Format (Compressed) +4 | 0.405 MB | fmt/199 | | | MPEG-4 Media File +1 | 0.091 MB | fmt/585 | | ffmpeg | MPEG-2 Transport Stream +1 | 0.266 MB | fmt/5 | | ffmpeg | Audio/Video Interleaved Format + +WARNING: you should manually rename test-data/SampleJPGImage.tif +expecting one of the following ext: ['jpeg', 'jpg'] + + +----------- errors ----------- + + 0.049 MB test-data/corrupt.mp4 +filehandler: fmt not detected, falling back on ext +ffmpeg: [ERROR] code=-1094995529 string=Invalid data found when processing input [/ERROR] +filehandler: file is corrupt: removed + +----------- processing errors ----------- + + 0.006 MB test-data/nested folder/bear-320x180-10bit-frame-0.hevc +filehandler: failed to get fmt type for test-data/nested folder/bear-320x180-10bit-frame-0.hevc diff -r 000000000000 -r ff7cec6bc518 test-data/test-data.zip Binary file test-data/test-data.zip has changed