tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

encode_all_script.sh (656B)


      1 #!/bin/bash
      2 #INPUT=media/cheer_sif.y4m
      3 OUTPUT=test.webm
      4 LIMIT=17
      5 CPU_USED=3
      6 CQ_LEVEL=36
      7 
      8 for input in media/*
      9 do
     10  echo "****" >> experiment.txt
     11  echo "input: $input" >> experiment.txt
     12  ./aomenc --limit=$LIMIT --codec=av1 --cpu-used=$CPU_USED --end-usage=q --cq-level=$CQ_LEVEL --psnr --threads=0 --profile=0 --lag-in-frames=35 --min-q=0 --max-q=63 --auto-alt-ref=1 --passes=2 --kf-max-dist=160 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --sharpness=0 --undershoot-pct=100 --overshoot-pct=100 --frame-parallel=0 --tile-columns=0 -o $OUTPUT $input >> experiment.txt
     13 done