Compare commits

..

2 커밋

작성자 SHA1 메시지 날짜
Tonton Th
90af7dd796 better EGA transcoding tool 2025-10-19 16:46:51 +02:00
Tonton Th
b2cbcd928f switch to EGA mode 2025-10-19 14:44:34 +02:00
2개의 변경된 파일38개의 추가작업 그리고 4개의 파일을 삭제

34
tools/build-ega-mp4.sh Executable file
파일 보기

@ -0,0 +1,34 @@
#!/bin/bash
set -eu
source tools/fonctions.sh
# retour aux vieilles pratiques : EGA 640x350
# c'est une nouveauté du 18 octobre 2025
SEQ="essai"
if [ $# == 1 ] ; then
SEQ=$1
fi
echo "[$SEQ] going EGA" | tee -a WS/log
debut=$(date +%s)
for source in $(ls -1 frames/$SEQ/*.png)
do
bname=$( basename $source )
destname="frames/EGA/$bname"
# echo $source "==>" $destname
convert $source \
-resize '640x350!' \
-dither none \
-remap datas/ega-colors.png \
$destname
done
ff_encodage "EGA/" "ega-$SEQ.mp4"
fin=$(date +%s)
echo "$SEQ -> EGA" $(( fin-debut )) "secondes" >> WS/log

파일 보기

@ -16,10 +16,10 @@ GIF="t-$SEQ.gif"
echo "seq $SEQ -> $GIF" | tee -a WS/log
convert \
-delay 10 -dither none \
-resize 40% \
-colorspace gray -normalize \
-colors 14 \
-delay 8 -dither none \
-resize '320x200!' \
-normalize \
-remap datas/ega-colors.png \
frames/$SEQ/?[012]*[369].png \
$GIF