Here let me take you on a journey. This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit helloai.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Okay, it's Justin Hart coming to you with another tutorial. I think you're really going to like this one. Now, I hope you can hear me. I'm actually in a very busy coffee shop, but I'm going to fix that later. I'm going to be using a bunch of AI tools to show you how I produce the daily Federal Register podcast. in a matter of minutes, maybe 15 minutes. This one's going to be a little longer as I walk you through it. But here's my blog, the COVID Reason Substack blog.
SPEAKER_00And the Federal Register, if you don't know, is a very boring document. It's 300 to 500 to 700 pages, and every weekday it's published by the federal government. It tells you everything that's going on. So today there's Medicare programs, notices on children and family administration. It's really boring stuff, but it's super vital because every single thing your government is doing to you is in here and it probably flies right by you. You have no idea. So my thought was, why not produce a daily podcast that boils down the essence of what we want to find
SPEAKER_00in here, which is government overreach. We want scrutiny against the government. We want to know what are some things to look out for, what some things might be positively impactful. So what we're going to do here is we're going to pull down the latest issue. We're going to download the latest issue of the Federal Register. And you can see, look, let's see, it's pretty large. It's still downloading. It's crazy. I think you've clocked in at 500 pages today. I can't remember. Let's see. Popping, popping, popping, popping, and done.
SPEAKER_00There we go. Yeah, it's a nice little bit there. Down to... Let's see. Oh yeah, many, many pages. I can't even see the page numbers. Here we go. All right. Well, what I'm going to do here is actually use some of these tools. The first thing you got to do is download this thing from its embed in the browser. I got my federal register folder here. And one of the things that I've done is it's pretty large, and even a machine like Google is going to have a hard time being able to actually
SPEAKER_00work with it. So I need to split it up. So using AI tools, I created a quick little Python script that basically allows me to split the... PDF and here we are looking for our September 18th one. And so it's going to split that into probably two or three pieces there. Okay. So we've got two pieces there. Now I'm going to go over to Google notebook. All right. And now Google notebook has these great new features. So I pop in here to Google network and I'm going to add in those sources, those very two PDFs that I had in the federal register.
SPEAKER_00They put it under the split PDF, so they are parts one and two. So I upload this now. Now, while that's uploading, I'm going to get my notes because I have specific notes I like to do for querying this. So we're going to query this just like you would chat GPT, but this is the Gemini model of what dash Google brings to the table. Let's go ahead and pause this and I'll pop it in in a second. All right, both the documents are in there. And what I can do is I can pull up the notebook guide And I'll actually do a summary of some of the things I want to do, but I want to start querying it myself. And I've got kind of this set guideline,
SPEAKER_00which says, hey, look at the PDFs, take the viewpoint of a government watchdog, always looking out for ways in which the federal government can save time and effort. And let's see what note it comes up with. So it's going to query these two PDFs. It's going to look at some of the details. Okay, came up some good stuff. You can see up here redundant printing and distribution of the federal register. All right, this is kind of funny, but I'm going to save it as a note. Then I have a few other notes here. I want to know examples of regulation that every Americans might find obscure, right? So pop this in here. Again, it's querying these big PDFs.
SPEAKER_00It's broken them up. It's looking at the data trying to say, If I took the viewpoint of someone who is an average American and I look at the minutia that's there, you can hear, for example, detailed fire extinguisher requirements for vessels, intricate patent amendment procedures, heavy vehicle use tax enforcement certification, boring stuff, but it might affect you. And it might also be something where you say, hey, look, does the government really need to be involved in that? And I got a few other questions here that I might pop in. What are some high impact items?
SPEAKER_00And it'll look at that. And then I'll look at what are some wasteful identifying things that we could find. So it'll look at that. Save that to a note. Then do this query. But magic's coming right up here. Okay, so here I got all these notes now. And what I want to do is select some of these notes here. And I've got the PDF selected. And when I click on the notebook guide, I can do a couple things. Now, some of these are pretty simple, like the FAQ, the study guide, the table of contents. You can give yourself a quiz, right?
SPEAKER_00But I want to do a deep dive where it's going to generate an actual audio of two people talking as if they're in a podcast discussing today's topic. Federal Register. So for time's sake, I've already generated that WAV file. And what I want to do now is put it into sort of my video podcast format. But I want to take it an extra level and show you some of the new tools that I've created as well. So here, for example, is one of the podcasts that I've done. If I click on it here, you'll see it'll play it in sort of this nice little format.
SPEAKER_00It's got all of the The narration, it's got the closed captioning, at least the narration there. So I've got this template all ready to go. And I want to plop in the audio. So that's pretty easy. Find the audio that I have here, drag it here. It's going to add it onto the timeline and it looks like it's just about seven minutes, which is about the last one was. And from my using my V tools, I can actually do the subtitles here. That was the word I was looking for.
SPEAKER_00And it'll transpose those. And I've got the transcription, the subtitles coming here, but I want to make it a little bit more intuitive. Well, I want to make the bathroom more dynamic. So those of you who know me know I love Luma and I love using some of the tools that Luma brings. And here, for example, I've created some imagery that I like about the Capitol building here.
SPEAKER_00And what I want to do is create some type of dynamic video that can go as the background to our podcast here. So let me show you how this works. So I've got the terminal up and I've got this special coded Python script that I've written that I think will work pretty well. I'm going to type in Python Luma flow. dot py so the first thing it's going to do is take all those images that i showed you and ask me uh do i want to rename those in sort of sequential order as to when
SPEAKER_00i download them that's probably the easiest way to do it so here one and do i want the put the images you can see if i go back over here now into the background folder it's created a sub and it's ordered the images one through nine, okay? Two, three, four, five, six, seven, eight, nine. Perfect, right? Now I'm gonna do this default sort of transition I have, seamless transition morph, enter. And now it's gonna cost me about $2.40. Hopefully those costs come down, but these are always fun to try. So yes.
SPEAKER_00Let's wait for these to process. Okay, so all the generation's gone. I think it skipped a couple. It had some errors. But again, this is a new API, barely a couple days old. But I'm going to go ahead and do the extra step that I have in this Python script, which takes all of the four generated videos from those images. Here they are here, there, there, and there. These are cool. I like what they did here. This is really fun. And I'm going to go ahead and merge those together into one MP4 file,
SPEAKER_00writing it together, done, and done. And now all I need to do is get ready for the input here. And I'm going to go ahead and check out the folder that I have here. Where is the generated video? Oh, it's stitched together. Here's the full stitch. Look at that. That's pretty amazing. I like this, right? Drowning in red tape coming from the Capitol.
SPEAKER_00And now what I can do, this is only like 20 seconds long, but I could drag this on here. And then I could just repeat that. So I've got that in there, and now my podcast has this fantastic 18-second, 20-second. Your daily dose of government regulation and all that fun stuff. Don't worry. Actually, look. Let's say if the group's here, it'll look together.
SPEAKER_00Make this seamless transition. That's the time I do. But that's fine. So now that I've got this… And there we go. I've got the entire podcast right here. I'm going to go up it and post my podcast, uploading software, and it's set to go. And that is how we do it. So that'll be another podcast right in the ground. That took me end to end. If I wasn't doing this narration with you, probably about 15 to 20 minutes. And this is something I could do on a regular basis. It doesn't cost me a lot of time. I could do it on my lunch break.
SPEAKER_00And there you have an entire podcast from 600 pages of boring documents into a compelling narrative. Let's take a listen and see what it sounds like. All right, everybody, buckle up.
Exploring VEO3 Through Tarkovsky’s Lens You can get a 3-month special on the Gemini ULTRA package and you can create VEO3 videos in their new Flow labs tool. VEO3 invites a new kind of dreaming - one shaped by slowness,...
A lot of video AI tools give you a manual set of instructions to build your own world from scratch. Pika has taken a very different tact and they'll give you that, but they pre-trained a few models that are really quite...