Gerrit Niezen

Hi there!

My name is Gerrit Niezen. I'm a maker of open-source software and hardware based in Swansea, Wales.

Latest Articles

Using libavutil's LZO algorithm in Node.js: Part 5

Using libavutil's LZO algorithm in Node.js: Part 5

I found the reason why I didn't get av_lzo1x_decode compiled into the avutil library when cross-compiling to Windows from Linux the first time (as described in yesterday's blog post). Basically I needed to do sudo apt-get install mingw-w64-tools…

Using libavutil's LZO algorithm in Node.js: Part 4

Using libavutil's LZO algorithm in Node.js: Part 4

I've been away at a Tidepool offsite, which explains the lack of updates to the blog. Hopefully we'll be back to regularly daily updates from now onward.I've been struggling to successfully link to the avutil shared library on Windows.…

Open data maps

Open data maps

I came across some pretty cool open data maps recently. The first one is from M&S (via Spencer Wright's awesome The Prepared newsletter), which shows exactly where in the world their products (food & clothing) are made, as…

Using libavutil's LZO algorithm in Node.js: Part 2

Using libavutil's LZO algorithm in Node.js: Part 2

Yesterday I started wrapping the LZO algorithm inside libavutil into a Node.js library. I'm still working on the C code, but let's have a look at how to test if it's actually working. I needed to generate some LZO-compressed…

Using libavutil's LZO algorithm in Node.js

Using libavutil's LZO algorithm in Node.js

Now that I have built FFmpeg's libavutil as a shared library, I need to wrap the C code into a Node.js module. I've done this previously for libmtp, and will be following a similar approach.First, we need to…

Using a cast-iron pan

Using a cast-iron pan

After going through a series of non-stick teflon pans during the past decade, I wanted to try out using a cast-iron pan. They supposedly last multiple lifetimes if taken care of, so I wanted to see if I would enjoy…

A Now page

A Now page

Today I added a new section called Now to this website. It's inspired by Derek Sivers's Now page. This is the description of a Now page:So a website with a link that says “now” goes to a page that…

Building FFmpeg's libavutil as a shared library

Building FFmpeg's libavutil as a shared library

After I abandoned my attempt to transpile a C# library to C yesterday, I started to see if I can get the LGPL version of FFmpeg's libavutil library compiled as a shared library, for which I can then write a…

Transpiling C# to a cross-platform C library: Part 2

Transpiling C# to a cross-platform C library: Part 2

After my previous post I managed to build the compiler myself. It turns out that when Emscripten installs itself, it installs its own copy of clang and puts that in the path. CoreRT falls over when it tries to use…