RSSAmplifier

Blog

Brett’s Blog

bjia56.github.ioRSS feed ↗9 posts

Latest posts

Coding with Samsung DeX

One of my favorite features of Samsung smartphones is DeX, an Android-based desktop environment available when the phone is connected to an external monitor. Though DeX can be used to get more screen real estate for watching videos or running apps, I’ve recently begun using it as a minimal but functional coding environment.

FFmpeg Transcoding Helper

This tool generates FFmpeg output arguments for transcoding video streams, for use cases such as Scrypted’s rebroadcast FFmpeg output arguments.

Packaging terminal apps for Scrypted

The major reimplementation of Scrypted’s management UI in 2024 introduced a way for plugins to expose custom interactive terminals to users. Similar to how Scrypted’s management UI provides shell access via a web terminal (which itself allows for some neat tricks), this feature provides an xterm.js window on the plugin’s device page, allowing plugins to render interactive terminal apps directly to…

Streaming your terminal apps as video

If you’ve ever looked into how to record your terminal and share it with a friend, chances are you’ve come across tools like ttyrec or asciinema. These store the inputs and outputs of your terminal session in text files that can be shared and replayed.

Hosting Scrypted on the Orange Pi 5

When setting up the Scrypted home video platform, it’s important to consider what kind of computer to use as the host. Scrypted benefits from being a pluggable system that can cater to a variety of use cases, so there is flexibility in weighing desired performance and functionality against cost of hardware. NVR, for example, benefits from having fast GPUs and AI accelerators for object detection,…

translate.ttf: A translation engine in your font

A few weeks ago, @fuglede demonstrated that it was possible to embed llama2 generative AI models inside TrueType fonts using the experimental HarfBuzz WASM shaper engine. Today, we take things a step further by embedding T5 (text-to-text transfer transformer) AI models inside fonts using the same method, granting our fonts the power of text translation. No more localization files or language packs…

Hosting Scrypted on Android

The Scrypted home video platform is typically installed on a Linux, MacOS, or Windows server, with optional viewer apps available for Android and iOS as part of the paid NVR plugin. Historically, Scrypted was available as an Android app. Although this Android app is no longer offered, in this blog we’ll take a look at what it takes to go back to Scrypted’s roots and get Scrypted server running on…

Making a portable CPython interpreter

In the Scrypted home video platform, Python is one of the scripting languages used for implementing Scrypted plugins, predominantly used by plugins that provide motion detection, object detection, and other AI inference services (a byproduct of the heavily reliance on Python in existing machine learning communities). As such an ubiquitous language, Python has interpreters available for nearly…

Diving into the Scrypted terminal

Scrypted is an awesome high performance and pluggable home video and automation platform. If you’ve never used it before, go check it out! Its media pipeline is optimized for low-latency camera streaming, and its flexible plugin system allows for integrations for countless external services.