Automating the YouTube Review Pipeline | Vikhyat

Vikhyat proposes a four-stage automation plan that checks video resolution and outro handles locally before upload, replacing a wasteful upload-then-delete review loop.

3:30 video3 min readWatch on YouTube

Vikhyat asks how much of the fellow video review process can actually be automated, and splits the answer three ways: sorting can be almost fully automated, uploading needs two remaining human steps, and judging quality stays entirely human.

The current wasteful loop

Right now every video a fellow submits gets uploaded to YouTube before anyone knows whether it is usable. The reviewer waits for YouTube to process it, checks whether a 4K option appeared, and deletes the ones that did not qualify. Vikhyat's point is that YouTube is not making a quality judgment here, it is just counting pixels, and the video's dimensions are already readable from the file itself in about a second. Uploading to find that out wastes the processing time on videos that were never going to pass.

The Brutalist render trap

A pixel count alone is not quite enough. The Brutalist toolkit stretches any undersized piece of footage to fill the frame, and on the video path it does this without warning anyone. That means a file can measure a full 4K, satisfy YouTube's resolution check, and still look soft because one underlying piece was rendered small and stretched to fit. Vikhyat suspects the render default changed at some point, since the code still carries a note about it, and a fellow working from an older copy of the toolkit would produce soft cuts with no warning.

Stage one and two: local checks before anything uploads

Stage one is a script that watches the Drive folder, checks each new file's actual dimensions against the target for its format, and sorts passes from fails, with a note explaining what to fix. Nothing gets deleted at this stage. Vikhyat notes this is not even a new idea, since Brutalist's own documentation already describes the check; nobody had written the code yet. Stage two adds a second check on the same pass: confirming a Humanitarians AI video closes with the correct Humanitarians AI outro and channel handle, since shipping the wrong channel's handle is a real failure that has already happened once and is checkable just by reading the settings file and comparing it to the outro.

Stage three and four: building checks into the tools

Stage three moves the check inside the rendering tool itself, so the tool refuses to finish a video that would fail the checks and tells the fellow to update before recording, stopping the problem before it starts rather than catching it after the fact. Stage four uploads whatever passes as a private video and gives the professors a list to approve from.

The security limits that remain

Two things in stage four are outside Vikhyat's control. First, a video uploaded through an unapproved Google Cloud project gets locked private permanently, so the team needs to confirm they already have an approved project before relying on this stage. Second, only the channel owner can authorize the API access personally; managers cannot do it on the owner's behalf, and Vikhyat is explicit that he would show how to do this but would never hold the key himself.

Key takeaways

  • Video resolution is readable directly from a file's dimensions, so a YouTube upload is not needed just to check if a render is 4K.
  • A file can pass a 4K pixel check and still look soft if an undersized piece was stretched to fill the frame.
  • Local checks for resolution and correct channel outro can be automated with a script that sorts pass from fail without deleting anything.
  • Moving checks into the rendering tool itself stops bad renders from being created in the first place, not just from being uploaded.
  • YouTube API uploads require an approved Google Cloud project and personal authorization from the channel owner, which cannot be delegated to a manager.

Who this is for

This is for teams running a recurring video review and upload pipeline who want to cut wasted processing time by moving quality checks earlier, before anything gets uploaded.

Chapters

  1. 0:00Can we automate video reviews?
  2. 0:15The current wasteful upload loop
  3. 0:30The "Brutalist" render trap & soft cuts
  4. 0:50Stage 1 & 2: Local pixel and outro handle checks
  5. 1:15Stage 3 & 4: Integrating checks into tools & API uploads
  6. 1:40Security limits: Google Cloud project permissions
Full transcript(auto-generated, with timestamps)

Can we automate video reviews?

[0:00]Here's a question worth asking about how fellow videos get reviewed. How much of it can actually be automated? The answer splits three ways. The sorting, most of it. The uploading, after two steps only you can take. The judging, none of it

The current wasteful upload loop

[0:15]Ever. Right now, every video a fellow submits gets uploaded to YouTube before anyone knows whether it's usable. You wait for it to process, check whether it came back in 4K, and delete the ones that didn't. The upload is doing work that reading the file would do in a

The "Brutalist" render trap & soft cuts

[0:31]Second. Watch the loop. A video arrives in Drive. It gets uploaded. You wait for processing. You check the resolution. And then, for some share of them, you delete it. Everything before that last step was time spent on a video that was never going to make it. YouTube isn't making a judgment about quality here.

Stage 1 & 2: Local pixel and outro handle checks

[0:50]It's counting pixels. Big enough and a 4K option appears. Not big enough and it doesn't, which means you don't need YouTube to tell you. The dimensions are already in the file, and reading them takes about a second. But counting pixels isn't quite enough, and this is the part I'd want checked properly. Brutalist stretches any undersized piece to fill the frame, and on the video path it does that without warning anyone. So,

Stage 3 & 4: Integrating checks into tools & API uploads

[1:16]A file can measure a full 4K, satisfy YouTube, and still look soft because one piece underneath it was small. So, why would failures cluster? Here's a likely explanation, and I want to be careful because it's the one thing here I can't prove from a document. The render default changed, and the code still carries a note saying so. A fellow on an older copy would get soft cuts and no warning. The checker would settle that

Security limits: Google Cloud project permissions

[1:42]In a week. So, stage one. A script watches the Drive folder, checks each new file against the target for its format, and sorts. Passes one way, fails the other with a note saying what to fix. Nothing gets deleted. And this isn't a new idea. Brutalist own documentation already describes this check. Nobody wrote the code. Same pass, a second check. A humanitarian's AI video should close with a humanitarian's AI outro. Shipping the wrong channel's handle is a real failure. The toolkit documents one that already went out, and it's checkable without watching anything. Read the settings file, read the outro, compare them to the channel. Stage two is that check pointed at your folder, so sorting stops being manual. Stage three is better. Put the check inside the tool, so it refuses to finish a video that would fail, and tell fellows to update before they

Record. Then the problem stops happening. Stage four uploads what passes privately and gives the professors a list to approve from. It needs two things, and neither is from me. First, a video uploaded through an unapproved Google project is locked private permanently. So, do you already have an approved one? Second, the channel owner has to authorize it personally. Managers can't through the API. I'd show you how. I'd never hold the key. Your turn. If you want to check any of this yourself, here's the prompt. Point Claude at the Brutalist repository and ask what actually sets the render height. And three things from me. How many videos arrive each week, whether you have an approved Google project, and whether I can build stage one for you, automating the YouTube review pipeline. Stage one is ready when you are. Made by Vicky at Ragumanda. Thanks for watching.

More from Brutalist (Film as Code)

Humanitarians AI Lyrical Literacy Project