Warning, /graphics/digikam-test-data/README.md is written in an unsupported language. File is not indexed.

0001 # digiKam Test Data
0002 
0003 ![](logo.png) Data required to run unit-tests for [digiKam source code repository](https://invent.kde.org/graphics/digikam/-/tree/master/core/tests)
0004 
0005 # Git Large File Storage (Git LFS)
0006 
0007 This reprository use [Git-lfs](https://git-lfs.github.com/) to handle large file storage
0008 
0009 ## Working with Git LFS
0010 
0011 This section is for developers who wish to add files to this repo.
0012 All the commands listed below must be typed into a shell after changing to the directory holding this README.
0013 
0014 You must install Git LFS on your system. For Ubuntu, uses "sudo apt install git-lfs".
0015 
0016 ### One-time setup (on each machine)
0017 
0018 In the directory containing this README, type:
0019 
0020         git lfs install
0021 
0022 ### Check the files tracked
0023 
0024 Git LFS identifies a "large file" by pattern matching.
0025 This is often via a file extension, but can also be used to track entire directories.
0026 
0027 Before comitting a large test file -- including any image, video, audio file -- do check that the
0028 file extension is one that is currently tracked by LFS using:
0029 
0030       git lfs track
0031 
0032 ### Add file tracking pattern
0033 
0034 To add a new extension "ext":
0035 
0036       git lfs track "*.ext"
0037 
0038 The current set of tracked file extensions is located in file .gitattributes.
0039 Thus the above command will update .gitattributes and you need to commit that change.
0040 
0041 ### Add a new file
0042 
0043 Commit, push and work with the files normally:
0044 
0045       git add file.jpg
0046       git commit -m 'added file.jpg'
0047       git push
0048 
0049 # File Descriptions
0050 
0051 ## core/tests/video/qtav/video
0052 
0053 * basemediav1.mp4
0054   - downloaded from https://file-examples.com/wp-content/uploads/2017/04/file_example_MP4_480_1_5MG.mp4
0055   - cut to 5 seconds using ffmpeg -i file_example_MP4_480_1_5MG.mp4 -t 5 basemediav1.mp4
0056 
0057 * riffMpeg.avi
0058   - downloaded from https://file-examples.com/wp-content/uploads/2018/04/file_example_AVI_640_800kB.avi
0059   - cut to 5 seconds using ffmpeg -i file_example_AVI_640_800kB.avi -t 5 riffMpeg.avi
0060 
0061 * mpeg2.mp4
0062   - created using ffmpeg -i basemediav1.mp4 -vcodec mpeg2video mpeg2.mp4
0063 
0064 * mpeg4.mp4
0065   - created using ffmpeg -i basemediav1.mp4 -vcodec mpeg4 mpeg4.mp4
0066 
0067 ## core/tests/metadataengine
0068 
0069 * Data test files (RAW, JPEG, PNG, TIF, etc.) to check the file metadata engine functionalities.
0070 
0071 ## core/tests/advancerename
0072 
0073 * Data test files for the Advance Rename tool core engine.
0074 
0075 ## core/tests/albummodel
0076 
0077 * Data test files to check the database album model functionalities.
0078 
0079 ## core/tests/database
0080 
0081 * Data test files to check the database low level operations.
0082 
0083 ## core/tests/dimg
0084 
0085 * Data test files to check the digiKam DImg API.
0086 
0087 ## core/tests/faceengine
0088 
0089 * Data test files for Faces Engine detections and recognitions.
0090 
0091 ## core/tests/fileio
0092 
0093 * Data test files for file input output stream.
0094 
0095 ## core/tests/geolocation
0096 
0097 * Data test files for Geolocation editor and corelator.
0098 
0099 ## core/tests/imgqsort
0100 
0101 * Data test files for Image Quality Sorting.
0102 
0103 ## core/tests/iojobs
0104 
0105 * Data test files for database input output jobs with managed media.
0106 
0107 ## core/tests/mediawiki
0108 
0109 * Data test files for MediaWiki client server test cases.
0110 
0111 ## core/tests/timestampupdate
0112 
0113 * Data test files for the database time-stamp update test cases.
0114 
0115 # Rationale
0116 
0117 Entries from Phabricator:
0118 
0119 - https://phabricator.kde.org/T14540
0120 - https://phabricator.kde.org/T15844