Earth Notes: On Website Technicals (2019-07)Updated 2019-07-19 07:49 GMT.
2019-07-14: HTTPS is Alive!
I have my RPi3B+ on-line and, with the aid of
working on a test Apache domain/site. Hurrah!
2019-07-12: Happy Video
I'm generally happy with how the video support is going, and direct insertion into EOU pages of Gallery video is especially pleasing.
The space saving when transcoding from the original format to
.mp4 can be astonishing. And when cranking down the
fidelity even more so. For example, ~78MB original
down to 10MB (
.mp4) down to 2MB lo-fi as below, at
time of writing. There is some additional saving when downsizing
for a smaller display than the original. A few seconds of video
can take a similar size in bytes to a single still as a JPEG. I
may yet be able to tune codecs to improve further (ie with slower
It looks like although the
avconv on my RPi2 seems
older and more buggy, the version on my Mac may be silently borked
instead. The above video was wonderfully broken by the Mac's attempt
at transcoding, and was surreal like something from the end of "2001"!
2019-07-05: Better Video support
I have spent longer than is wise already playing with
to create 'responsive' video output better matched to the user's device,
eg fewer pixels and lower-fi to minimise data use for 'lite' pages.
Next up is making it possible to use videos directly from the Gallery, copying or transcoding as necessary.
At some point I'd also like to add a short-cut for the repeated re-encoding logical steps, such as full size -> correct width -> lo-fi. Instead I'd pass in the original source alongside the previous element in the chain, and take metadata (eg size in pixels) from that previous item, but recode from the closest-to-source bits each time. That should make for cleaner and lower-bandwidth results.