Ergebnis nach dem umwandeln ist dann eine "animation.gif" mit 4kb die komplett schwarz ist und auch eine animation.zap die nur 14kb groß ist
hast Du das Eingabevideo in eine RAW-Bildsequenz umgewandelt? skanim will ja Folgendes:
Code
usage: skanim f{l|o} gamma scale path output.zap
converts a sequence of 128 raw-images (resolution 192x147, 8-bit gray scale) with filename 0000.raw 0001.raw etc.
f flip images vertically (not shown in preview!)
o standard ordered dither matrix
l line-like dither matrix
gamma gamma-correction value (typically between 0.5 and 2.5)
scale brightness scaling (1.0 and 2.0)
e.g. "skanim fl 1.5 1.55 ./images animation.zap" creates a flipped animation with line dithering-style.
Für das Video (das übrigens nicht gut aussieht, wenn man es s/w mit einer so niedrigen Auslösung konvertiert) sieht die Konversion als Ganzes dann so aus:
Code
del animation.gif
del animation.mp4
rem convert .mp4 to raw images (no double '%' on linux)
ffmpeg -i "sample_640x360.mp4" -t 00:00:10.000 -vf "fps=30" -s 192x147 -vcodec rawvideo -pix_fmt gray -f image2 "%%04d.raw"
skanim fl 2.0 1.55 .\ animation.zap
rem on linux use -i out%04d.png (no double '%')
ffmpeg -f image2 -pix_fmt gray -framerate 25 -pattern_type sequence -start_number 0 -s 192x147 -i "out%%04d.raw" animation.mp4
ffmpeg -i animation.mp4 -vf vflip -pix_fmt gray -s 192x147 animation.gif
del *.raw
del animation.mp4
Alles anzeigen

