Blog · A home network run like a small office

The movie that stuttered on one TV

The file was fine and the server was fine. One TV couldn't handle one audio format.

In this series · Chapter 5, The media serverShow all 49 partsHide the list

1. Where it started

  1. 01Why I'm running my home like a small office
  2. 02What a read-only audit of my network found
  3. 03The first changes, and the ones I said no to
  4. 04Reuse first, build only what's missing
  5. 05Fifteen decisions before the first line of code

2. Remote access and keys

  1. 06One way in from outside
  2. 07An address that keeps itself up to date
  3. 08Where the passwords live
  4. 09Keys that can do one thing

3. Monitoring

  1. 10Is it my network or the internet provider?
  2. 11A watcher outside the house, and backups I've restored
  3. 12The drill that found the bug
  4. 13Alerts that only reach my phone when something needs me
  5. 14I had the monitor audit itself
  6. 15Teaching the hub to stop crying wolf

4. The network redesign

  1. 16"Don't take down my internet": the routine before every change
  2. 17The firewall upgrade, two days late
  3. 18Keeping the plan when the builder wanted to drop it
  4. 19Two Wi-Fi drops, and knowing when to stop
  5. 20The router at 90 percent
  6. 21Moving 40 gadgets without touching each one

5. The media server

  1. 22Bringing the media server back, and keeping it up
  2. 23The movie that stuttered on one TV

6. The control center

  1. 24An overnight prototype, and bars instead of dials
  2. 25A nice hub, tucked away in a drawer
  3. 26Instructions for a phone I don't own
  4. 27Three checks before anything goes live
  5. 28Buttons with a seatbelt
  6. 29Rewind: replaying a Wi-Fi outage
  7. 30"I just want a more sensible layout"

7. Security

  1. 31A security scoreboard that started at a D
  2. 32Who's knocking: a security tab in two evenings
  3. 33Matching every program to the public flaw lists
  4. 34A DNS log for the house
  5. 35A weekly scan that can't annoy anyone
  6. 36The week of the scary flaw list

8. A private AI assistant

  1. 37A private AI for the house that can't touch anything

9. How the work got done

  1. 38Keeping a non-developer in charge
  2. 39A house manual that rebuilds itself every night
  3. 40My AI assistant keeps blocking itself, and I'm glad
  4. 41What it cost, what's next, and what I'd bring to an office

10. After the rebuild

  1. 42The backup that filled its own disk
  2. 43Two messages, one second, wrong order
  3. 44My help tool said "fine" at 7 megabits

11. Groceries

  1. 45Reading our grocery orders until the store locked us out
  2. 46I was testing a cart button when I found out nobody wanted one
  3. 47My first grocery rule would have nearly doubled what we buy
  4. 48The third store was the cheapest on nothing
  5. 49The house AI's only grocery job is picking a picture

One evening, one movie played badly. The sound was perfect, but the picture skipped and stuttered. I'd seen the same thing before, so I asked the assistant whether it might be the file's format.

This post is about how we found the answer without changing anything.

Clear the server first

Everything the assistant did was read-only. It checked the server while the movie played. There was one stream, the video was being passed through untouched, the server's converter was keeping ahead, and the network timing was clean over 60 seconds. The server wasn't the problem.

A week earlier, we'd run a drill with pretend viewers to see how the server handled converting video. With one conversion running, the slowest 5-second piece of video took 136 milliseconds to prepare. The server had room to spare.

Test the hunch

My hunch was a bad file. I tested it myself: the same movie on a different brand of TV played perfectly. So the file was fine too. Earlier, I'd seen the same stutter with another movie. The pattern pointed at one kind of TV.

The answer

The assistant surveyed the library and found 9 files with the same style of audio, plus 76 with related styles. The diagnosis: that one TV platform can't play that audio format. When it plays one of those files, the server has to rebuild the stream on the fly to convert the audio, and that TV's player stutters on the rebuilt stream. Files that play directly, without rebuilding, are smooth.

I asked, "Did you change anything?" No. Every step had been read-only. The assistant also declined to install anything to dig further, because the answer was already good enough to act on.

The decision

There were two ways to fix it: convert every affected file in the library, or handle the format for new additions going forward. I chose going forward. Converting dozens of files is real work with real risk, for a problem that shows up on one kind of TV.

The same file on a different TV told me more than an hour of server logs. When something works for some people and not others, that's where I start now: change one thing, compare, and keep the investigation read-only, so it doesn't create a second problem.

Have something in mind?

Tell me what you're trying to do. I reply within two business days.

Get in touch