Markdown to Video in PHP
Written on 2023-02-06Join over 14k subscribers on my mailing list. I write about PHP news, share programming content from across the web, keep you up to date about what's happening on this blog, my work on Tempest, and more.
You can subscribe by sending an email to brendt@stitcher.io.
Today I've built something pretty cool, if I can say so myself. I wrote some code that takes a markdown file, and generates a video from it. Audio, video, it's all generated and stitched together programmatically. Why? It seemed like a nice exercise in learning some new tools, but I was also interested in learning about the current state of AI, and how it can help with generating video content.
Now, don't worry! I will keep making my videos, newsletter and blog posts by hand! However, I do think it'll be interesting to see how AI will define the future for content creation, and so this was a very interesting experiment.
I made a 10-minute video showing the process and sharing some conclusions, I hope you'll give it a watch:
In other video news, I published another blog post of mine as a video as well. This time I'm talking about objective reasons why light colour schemes are better. I'm sure you'll agree, no?
I do wonder what you think about these short-style videos? You can always let me know by hitting the reply button in this email. You can watch it here:
Finally, let's share some interesting posts I came across this week.
Roundup
- Screenshots — Sebastian shares a very interesting way of keeping a digital journey. I'm tempted to try it myself.
- CSS Nesting — So apparently native CSS nesting is a thing now?!? It still needs proper browser support, but let me say I find this so amazingly awesome. I used SASS on my blog for two reasons: variables and nesting. So I'm very happy I'll be able to finally switch to native CSS soon-ish!
- Hakana: Taking Hack Seriously — An interesting post by the Slack team about how they've written a static analyser for Hack.
- The Dark Side of Dark Mode — An interesting article that looks at the research that went into the "dark vs light mode" debate.
- Request-Level Validation — Andrew shares some thoughts about request validation in Laravel.
That's all for this week, until next time!
Brent