<commit_before>bag2video
=========

Convert images in a rosbag to a video

# Usage
    usage: bag2video.py [-h] [--outfile OUTFILE] [--precision PRECISION] [--viz]<commit_msg>Note about variable framerates<commit_after>bag2video
=========

Convert images in a rosbag to a variable framerate video. Variable framerate is achieved through duplicating frames since OpenCv can't encode at variable framerates. This can produce very large files which should be re-encoded with something like ffmpeg.

# Usage
    usage: bag2video.py [-h] [--outfile OUTFILE] [--precision PRECISION] [--viz]
{'fraction_non_alphanumeric': 0.1113013698630137, 'fraction_numerical': 0.00684931506849315, 'mean_word_length': 4.625, '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': '1807135', 'n_tokens_mistral': 183, 'n_tokens_neox': 169, 'n_words': 68}