<commit_before><?xml version="1.0"?>

<device>
    <make>Generic</make>
    <model>Computer</model>
    <description>H.264/AAC for the computer</description>
    <author>
        <name><NAME></name>
        <email><EMAIL></email>
    </author>
    <version>1.0</version>
    <icon>file://computer.svg</icon>
    <default>Normal</default>
    
    <preset>
        <name>Low</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=128000 profile=LC</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=qual quantizer=27 subme=4 threads=0</pass>
            </passes> 
            <width>320, 640</width>
            <height>240, 480</height>
            <rate>1, 25</rate>
        </video>
    </preset>
    <preset>
        <name>Normal</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=192000</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=qual quantizer=21 me=umh subme=6 ref=3 bframes=3 threads=0</pass>
            </passes>
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 30</rate>
        </video>
    </preset>
    <preset>
        <name>Live Input</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=192000</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=cbr bitrate=2048 subme=4 threads=0</pass>
            </passes> 
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 30</rate>
        </video>
    </preset>
    <preset>
        <name>High</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=256000</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=qual quantizer=18 me=umh subme=6 ref=3 bframes=3 8x8dct=1 threads=0</pass>
            </passes>
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 60</rate>
        </video>
    </preset>
</device>

<commit_msg>Added patent free presets by <NAME>, see lp bug #443099<commit_after><?xml version="1.0"?>

<device>
    <make>Generic</make>
    <model>Computer</model>
    <description>H.264/AAC or Theora/Vorbis for the computer</description>
    <author>
        <name><NAME></name>
        <email><EMAIL></email>
    </author>
    <version>1.0</version>
    <icon>file://computer.svg</icon>
    <default>Normal</default>
    
    <preset>
        <name>Low</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=128000 profile=LC</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=qual quantizer=27 subme=4 threads=0</pass>
            </passes> 
            <width>320, 640</width>
            <height>240, 480</height>
            <rate>1, 25</rate>
        </video>
    </preset>
    <preset>
        <name>Normal</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=192000</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=qual quantizer=21 me=umh subme=6 ref=3 bframes=3 threads=0</pass>
            </passes>
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 30</rate>
        </video>
    </preset>
    <preset>
        <name>Live Input</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=192000</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=cbr bitrate=2048 subme=4 threads=0</pass>
            </passes> 
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 30</rate>
        </video>
    </preset>
    <preset>
        <name>High</name>
        <container>ffmux_mp4</container>
        <extension>mp4</extension>
        <audio>
            <name>faac</name>
            <passes>
                <pass>bitrate=256000</pass>
            </passes>
        </audio>
        <video>
            <name>x264enc</name>
            <passes>
                <pass>pass=qual quantizer=18 me=umh subme=6 ref=3 bframes=3 8x8dct=1 threads=0</pass>
            </passes>
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 60</rate>
        </video>
    </preset>
    <preset>
        <name>Low (patent-free)</name>
        <container>matroskamux</container>
        <extension>mkv</extension>
        <audio>
            <name>vorbisenc</name>
            <passes>
                <pass>quality=0.3</pass>
            </passes>
            <channels>1, 2</channels>
         </audio>
        <video>
            <name>theoraenc</name>
            <passes>
                <pass>border=0 quality=15 keyframe-freq=27</pass>
            </passes>
            <width>320, 640</width>
            <height>240, 480</height>
            <rate>1, 25</rate>
        </video>
    </preset>
    <preset>
        <name>Normal (patent-free)</name>
        <container>matroskamux</container>
        <extension>mkv</extension>
        <audio>
            <name>vorbisenc</name>
            <passes>
                <pass>quality=0.5</pass>
            </passes>
            <channels>1, 2</channels>
        </audio>
        <video>
            <name>theoraenc</name>
            <passes>
                <pass>border=0 quality=40 keyframe-freq=30</pass>
            </passes>
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 30</rate>
        </video>
    </preset>
    <preset>
        <name>Live Input (patent-free)</name>
        <container>matroskamux</container>
        <extension>mkv</extension>
        <audio>
            <name>vorbisenc</name>
            <passes>
                <pass>quality=0.5</pass>
            </passes>
            <channels>1, 2</channels>
        </audio>
        <video>
            <name>theoraenc</name>
            <passes>
                <pass>border=0 quality=16 keyframe-freq=25</pass>
            </passes>
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 30</rate>
        </video>
    </preset>
    <preset>
        <name>High (patent-free)</name>
        <container>matroskamux</container>
        <extension>mkv</extension>
        <audio>
            <name>vorbisenc</name>
            <passes>
                <pass>quality=0.8</pass>
            </passes>
            <channels>1, 2</channels>
        </audio>
        <video>
            <name>theoraenc</name>
            <passes>
                <pass>border=0 quality=58 keyframe-freq=30</pass>
            </passes>
            <width>320, 1920</width>
            <height>240, 1080</height>
            <rate>1, 60</rate>
        </video>
    </preset>
</device>


{'fraction_non_alphanumeric': 0.1513166183696611, 'fraction_numerical': 0.049388937885851074, 'mean_word_length': 1.4598698481561823, 'pattern_counts': {'":': 0, '<': 418, '<?xml version=': 2, '>': 418, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4512948', 'n_tokens_mistral': 2803, 'n_tokens_neox': 2532, 'n_words': 384}