Mercurial > hg > paul
view bin/makeAVI.sh @ 1:95740c6658a3
from Meg
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Wed, 10 Jun 2026 13:04:44 +0100 |
| parents | 2aa53823fb21 |
| children |
line wrap: on
line source
#!/bin/bash f=${1##*/} /c/Users/ht/AppData/Roaming/myFFmpeg/ffmpeg.exe -i $(cygpath -d "$1") -map 0:0 -map 0:1 -c:a libmp3lame -ac 2 -async 1 -c:v mpeg4 -b:v 1163.52k -maxrate 2327.04k -bufsize 2327.04k -r 25 -s 720x404 -aspect 180:101 -trellis 0 -qsquish 0.5 -me_range 16 -i_qoffset 0 -refs 3 -sws_flags fast_bilinear -sc_threshold 40 -g 200 -qmin 3 -qmax 51 -threads 4 -vtag DIVX -sn -y "C:\Users\ht\Videos/${f%.*}.avi" |\ while read l do case l in frame=*) printf '%s\r' "$l" ;; *) printf '%s\n' "$l" ;; esac done
