Using YouTube to Transcode Videos to DASH on the Command Line


A white plastic desktop phone with QWERTY keyboard and a video screen.

This is part of my redecentralisation efforts to liberate my videos from YouTube. MPEG-DASH is a simple method of streaming videos which doesn't require any specialised server software. You convert a high resolution video into a series of smaller resolution videos. You chop each of the videos up into several chunks. As the video plays, your browser then decides which chunk of the video to load next depend on the bandwidth available to it. Easy! Aim From the command line: Upload a video…

Continue reading →

Alexa - what bin day is it?


A row of recycling bins.

Bin day is the most magical time of the week! Children of all ages cry "Which bins is it?! Oh! Which bins?" Is today recycling day? Or green waste day? Or humble landfill day? Should my food caddy go out? Gosh! Who can keep track? I mean, obviously I could look at my calendar. Or sign up for free SMS alert. Or use push notifications in their app. But where's the fun in that? "Alexa..." The code I've written uses Oxford City Council's civic data APIs - which will deal with bank holidays…

Continue reading →

UK Flood Forecast on Amazon Alexa


You can now get the UK's flood forecast as part of your Flash Briefing on Amazon's Alexa. I've tried previously to create an interactive Alexa skill - it did not go well. This time, I thought I'd create an easier skill - a Flash Briefing. You ask Alexa for your daily news report and it reads out items that you've configured - news, weather, traffic, that sort of thing. For a basic skill, all you need is a tiny scrap of JSON. In this case: { "uid":…

Continue reading →

Previewing Circular Avatars


Play with the demo I was lucky enough to go to Number 10 Downing Street for a meeting a few weeks ago. A perfect opportunity for a photo of me by that famous door. Being the vain man that I am, I wanted to set it as my avatar photo. But Twitter and other social networks now use circular avatars. The "10" has been obliterated and part of my head is missing. So I've created a quick way to preview avatar images to see how they'll look on both squares and circles. It places a simple…

Continue reading →

Review Nextion HMI Touchscreen with GPIO


I don't think the people who sent me this touchscreen are going to be very happy with this review. But that's the peril of asking bloggers to assess your kit, isn't it? The good folks at Sonoff have sent me a review unit of their "7.0" Nextion Enhanced HMI Capacitive Touch Display with Enclosure". A USB powered touchscreen - with a range of hackable goodies. It's a device which sadly fails to live up to its promise. Specs Let's get the specs out of the way, then see how it works! …

Continue reading →