Blog
The team5 min read

How to post a demo video on a Linear issue (and stay under 10 MB)

Linear's free plan rejects files over 10 MB. How we fit a 2 min 43 demo into 9.1 MB, upload it, and post it as a comment on the right ticket.

The first demo video we ever made by hand had one obvious place to go: the Linear ticket that asked for the feature. That is where the reviewer was going to look. That is where the discussion already lived.

It didn't go through. The file was too big.

Linear's free plan refuses attachments over 10 MB. A 2 min 43 demo in 1080p is well over that. So before we could post anything, we had to learn how to make a narrated screen recording small without making it unreadable. This post is what we learned, and what Pullscene now does on its own.

Why the ticket is the right place

A demo video can go to Slack, to Discord, or into the pull request itself. All of them work. But the ticket has one thing the others don't: it is where the request started.

The person who wrote the ticket described a problem. The video answers it, right under the description, in the same thread. Nobody has to find a link in a channel that scrolled away two days ago. Six months later, someone who opens the ticket to understand why a screen behaves the way it does finds the video next to the decision.

That is why Linear was the first delivery target of our prototype, before Slack or the pull request comment.

The 10 MB problem

A screen recording is hard to compress. Phone screens and web pages are full of sharp edges: small text, thin lines, icons. Compression artifacts show up exactly where the eye looks. Shrink the file too hard and the button label your voice is talking about turns into mush.

So "make it smaller" is not one setting. It is a trade between three things:

  • resolution, how many pixels you keep;
  • bitrate, how many bits per second each of those pixels gets;
  • duration, which you do not control, because the voice decides it.

The duration is fixed by the script. The limit is fixed by Linear. That leaves resolution and bitrate, and they pull against each other.

What worked: 720p, two passes, about 360 kb/s

Our prototype video lasted 2 min 43. The version we posted to Linear weighed 9.1 MB. Here is how.

720p, not 1080p. At 1080p, the bits a 10 MB budget allows for 163 seconds are spread over too many pixels, and the text breaks up. At 720p, each pixel gets more of the budget. A phone screen laid over a slide still reads cleanly at that size, including on a laptop.

A bitrate computed from the length. Instead of picking a quality level and hoping, we start from the limit and work backwards. Take the size budget, keep a safety margin, set aside 96 kb/s for the audio, divide what remains by the number of seconds. For our 2 min 43, that came to roughly 360 kb/s of video. A longer video gets a lower bitrate, a shorter one a higher bitrate, and the file lands under the limit either way.

Two passes. In a single pass, the encoder has to decide how many bits to spend on each moment without knowing what comes next. In two passes, the first one only analyses the video. The second one spends the budget where it is needed: more on a scene with scrolling and new text, less on a slide that holds still while the voice finishes. For a demo, where calm slides and busy screens alternate, the difference is visible.

The voice stays clean. Speech at 96 kb/s AAC sounds like speech. Nobody notices. Everybody notices a voice that sounds like a phone call from 2004, so we never take bits from the audio to give them to the picture.

Pullscene makes both versions

Today, every render produces the full video first. If it is over 10 MB, the runner encodes a second copy that fits: 720 pixels on the short side, bitrate computed from the length, two passes, the same audio settings. Portrait and square videos get the same treatment, scaled on their short side.

You keep both. The full version is what you download and what plays on the share page. The small version is what goes out to places with size limits, like a Linear issue or a Slack upload. You don't choose, and you don't run ffmpeg.

Posting to the ticket

In the prototype, the upload was manual: ask Linear for an upload slot, then push the file to a signed URL that stays valid for 60 seconds. Miss the window and you start again. Then post a comment on the ticket with an @mention, so the reviewer gets a notification and not just a silent attachment.

Pullscene does the same steps for you, with a Linear key that a workspace admin adds once in Settings. The key is stored encrypted and never shown again.

The interesting part is how it knows which ticket. It doesn't guess from the branch name. The script of the video already lists the tickets it is about, because Pullscene read them when it planned the scenes. Those identifiers, like FKQD-21, are what the delivery uses. The video is uploaded once and posted as a comment on each of those issues, with its title, the file, and a link to the interactive version on the share page.

If the script has no Linear issue, the delivery says so instead of posting somewhere random. If Linear can't find the issues, it says that too.

Ticket cards inside the video

A comment on the ticket is half of the link. The other half is inside the video.

Our slides show ticket cards, drawn like Linear's: the identifier, the title, the status, the label, the assignee, the pull request. When the voice says "this came from the camera ticket", the card for that ticket is on screen. A viewer who watches the video somewhere else, a share link on their phone for example, still sees where the work came from.

There is one exception. When a video is made for customers, with the Customers audience, ticket cards are left out entirely. Customers don't care about your ticket numbers, and they shouldn't see your internal board. More on how the audience reshapes a video in One pull request, many audiences.

A video nobody watches is a video nobody made

It is tempting to think of delivery as the boring last step. Our prototype taught us the opposite. A video that sits in a folder until someone remembers to upload it might as well not exist. A video that lands on the ticket, with a notification, gets watched the same day.

That is why the size limit was worth solving properly, and why the small version is made automatically instead of on request. If you want the same video to land in a Slack channel too, the setup is in Pull request demos in Slack. And you can choose a different destination for each video of a pull request: the full demo on the ticket, a twenty-second Quick look in the team channel.