<commit_before># timeslice-chronometer
A stopwatch for easily measuring fast-switching time spans

This tool has originally been developed to evaluate screen capturing videos that were recorded during controlled experiments in the area of software engineering. We measured how much time the participants used for which specific activity. With timeslice-chronometer it is possible to switch the measurement of different time slices very fast so evaluating the videos could be done in a fraction of the recorded real-time.<commit_msg>adds video handling section to readme<commit_after># timeslice-chronometer
A stopwatch for easily measuring fast-switching time spans

This tool has originally been developed to evaluate screen capturing videos that were recorded during controlled experiments in the area of software engineering. We measured how much time the participants used for which specific activity. With timeslice-chronometer it is possible to switch the measurement of different time slices very fast so evaluating the videos could be done in a fraction of the recorded real-time.

## Video Handling

Video handling is done through JavaFX and comes with some limitations. It is only able play certain video files.

At the time of writing videos may not be bigger than 1920x1080, have the `-pix_fmt yuv420p` option (used in ffmpeg) and use the `h264` codec.
Videos can be converted to this format by using ffmpeg:

`ffmpeg -i input.mp4 -vcodec h264 -vf scale=1920x1080 -an -pix_fmt yuv420p output.mp4`
{'fraction_non_alphanumeric': 0.03050397877984085, 'fraction_numerical': 0.01989389920424403, 'mean_word_length': 5.01195219123506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4748906', 'n_tokens_mistral': 376, 'n_tokens_neox': 344, 'n_words': 219}