<commit_before># !/bin/bash

Release=${DEBUG:-1}

[ "$Release" != "" ] && echo "target config: release" ||  echo "target config: debug"

os_name=`uname`

function makeFFmpeg()
{
    local ffmpegDir=$1/FFmpeg

    echo "ffmpegDir=$ffmpegDir"

    cd $1

    if [ ! -d "$ffmpegDir" ]
    then
        wget https://github.com/FFmpeg/FFmpeg/releases/download/n3.0/ffmpeg-3.0.tar.gz -O  /var/tmp/ffmpeg-3.0.tar.gz
        case $os_name in
         'Linux')
            devFFmpegDir=~/
            ;;
        'Darwin')
            devFFmpegDir=~/Documents/
            ;;
        *) ;;
        esac

        tar -xzvf /var/tmp/ffmpeg-3.0.tar.gz -C $devFFmpegDir
        ln -s $devFFmpegDir/ffmpeg-3.0 $ffmpegDir
    fi

    cd $ffmpegDir

    # checkout to specific revision
    git checkout 'd693392886b8454c818e384c816b9ede53c570d8'

    debug_specifics=""
    [ "$Release" == "" ] &&  debug_specifics='--enable-debug --disable-optimizations'

    configFileName=$ffmpegDir/lastConfigure



    confCmd="./configure --disable-everything --disable-doc --enable-protocol=file \
    --enable-demuxer=mpegts --enable-muxer=rtp_mpegts --enable-parser=h264 --enable-parser=aac \
    --enable-muxer=mp4   --enable-zlib --enable-bsf=aac_adtstoasc --enable-decoder=aac --enable-decoder=h264 \
    $debug_specifics"

    [ "$os_name" == "Linux" ] && confCmd="$confCmd --enable-pic"<commit_msg>get specific ffmpeg version<commit_after># !/bin/bash

Release=${DEBUG:-1}

[ "$Release" != "" ] && echo "target config: release" ||  echo "target config: debug"

os_name=`uname`

function makeFFmpeg()
{
    local ffmpegDir=$1/FFmpeg

    echo "ffmpegDir=$ffmpegDir"

    cd $1

    if [ ! -d "$ffmpegDir" ]
    then
        wget https://github.com/FFmpeg/FFmpeg/releases/download/n3.0/ffmpeg-3.0.tar.gz -O  /var/tmp/ffmpeg-3.0.tar.gz
        case $os_name in
         'Linux')
            devFFmpegDir=~/
            ;;
        'Darwin')
            devFFmpegDir=~/Documents/
            ;;
        *) ;;
        esac

        tar -xzvf /var/tmp/ffmpeg-3.0.tar.gz -C $devFFmpegDir
        ln -s $devFFmpegDir/ffmpeg-3.0 $ffmpegDir
    fi

    cd $ffmpegDir

    debug_specifics=""
    [ "$Release" == "" ] &&  debug_specifics='--enable-debug --disable-optimizations'

    configFileName=$ffmpegDir/lastConfigure



    confCmd="./configure --disable-everything --disable-doc --enable-protocol=file \
    --enable-demuxer=mpegts --enable-muxer=rtp_mpegts --enable-parser=h264 --enable-parser=aac \
    --enable-muxer=mp4   --enable-zlib --enable-bsf=aac_adtstoasc --enable-decoder=aac --enable-decoder=h264 \
    $debug_specifics"

    [ "$os_name" == "Linux" ] && confCmd="$confCmd --enable-pic"
{'fraction_non_alphanumeric': 0.16037383177570094, 'fraction_numerical': 0.025794392523364486, 'mean_word_length': 2.3916349809885933, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2217116', 'n_tokens_mistral': 1072, 'n_tokens_neox': 988, 'n_words': 153}