In both cases, there's lines of dots in wide dark spaces, as one would expect from an error-diffusion dither. Did you look into other approaches?
The example on the website are identical to the ones in the first video, as the simple looping gif is a by-product of the encoding.
On the second video (the one with sound), you cannot compare, as the video is compressed and not all the parts of the image are updated. But the algo is the same.
The swimmy bits come from the fact that I encode images using the preceeding one, and use the pixels from the preceeding images to "control" where the error gets diffused, to try to get some temporal stability in error diffusion (I have a long blog post that explains that, but I never got around finishing it, it seems people were more interested by having me coding sound).
I am not completely sure why the swim effect seems to always be in the north-west direction (I understand why pixels go in that diagonal, but no why they always seem to crawl on the top-left, and never the bottom-right).
The dithering code can be found in the encoder, on github:
https://github.com/fstark/macflim/blob/main/flimmaker.cpp#L3...
If you have other dithering ideas, let me know. I am happy with the one I have, which matches what I was looking for, but we never know. Also, for the compressed version (the one with sound), the dithering have a huge impact on the ability to play on slow machines.
(Btw, I tried ordered dithering, but I have always found it awful looking. Maybe in motion it would fare better?).
This article on dithering made the rounds a few months ago, and was a fascinating read; the hilbert curve method at the end (Riemersma) might be a good fit and get rid of some of the line effects (if that's of interest). And the Atkinson error diffusion sounds like it even has some history in old macs.
https://surma.dev/things/ditherpunk/
There's a really nice blog post on video stable dithering in Return to the Obra Dinn, but in that case it's a 3d game, and they've got direct access to the scene geometry. I'm curious if there's a nice way to use video encoding pixel tracking vectors to reduce swimminess...
I think there should be a clipping of the lower-grayscale coming into your filter. A black-point cut-off.
I think that would get rid of most of the "swimming pixels" in the very dark areas (would become completely black areas).
Some loss of detail of course in the dark areas ... but what details was there anyway?
It might be an option to offer Ordered by a menu option?
However, if anyone can help me getting my hands on some vintage hardware, that would be awesome (mac or non-mac, I have a few nasty software projects involving weird hardware).
[I'm ready to pay "normal" prices for those items, of course]
In particular, I am looking for a network card (for the next couple of years) for the SE/30, as I see streaming could be useful to a late 80's computer... :-) . I did found one, once, but the seller didn't ship outside of the US, and the time to organize, it went poof :-(
I also try to get my hands on a Performa/LC 575 motherboard to perform a Mystic upgrade of my Color Classic -- the goal being to see what kind of crazyness we could get on a top-of-the line color compact mac. Again, those things seems to be made of unobtainium, and probably hoarded by collectors...
A Turbo NeXT Cube would be awesome, but again, nowhere to be found...
I'd love to do a video with the explanations (or a talk), but I am still think about how to present this is a understandable and entertaining way.
I thought it was!!
very nice job anyway
Had a big grin watching your video.
Funny, I had a flash back to a high school chat. Friend had picked up on digital music. Sampling was a thing we all heard about and the chat was no noise, perfect music one can carry around on chips...
Seemed like sci-fi. We were using Apple 2 computers, some with a half megabyte of RAM. A CD held so much information!
It all just happened. Fairly quick too.
Full color next? https://www.anfractuosity.com/projects/rainbow/
Kudos!
This is the old video, I am finishing the techdemo that have sound, there is a video on youtube (https://youtu.be/YRe6I5AICJ0). I'll update the macflim.com website later today.
And yes, diskspace is one of the reason why it is impractical, but with a SCSI2SD, one can get 4 2Gb partitions on you mac for around $100.
And yes, it is bizarre and useles, hence absolutely necessary. If you have time, try the app, it is full of inside time-correct jokes.