pforret

Joined 16 years ago

Karma
166
Submissions
57
Member since
May 18
Making sure I can't be replaced by a shell script.

[blog.forret.com](https://blog.forret.com) • [toolstud.io](https://toolstud.io) • [printthatvideo.com](https://printthatvideo.com)

pforret.at.hn

View on Hacker News

Recent submissions

Comment · 2 years ago
Neofetch also stood out as an unusually long bash script (top 1% of bash scripts, I guess). I always refer to its 11592(!) lines of code when I hear people say “bash scripts should never be longer than 50/100/200 lines, otherwise use a ‘real’ language.”
Comment · 2 years ago
Comment · 2 years ago
BMW, Hyundai, Kia, Mercedes, Škoda, Volkswagen, Porsche, Jaguar, Ford Mustang … EV drivers: you can charge at the Superchargers, but you might be yelled at.
Comment · 2 years ago
I think that’s on purpose. Not sure what the advantages are. SEO? Collateral Branding?
Comment · 2 years ago
That sounds a bit like subtitles, or Timed Text. There are simple formats (just a text and the moment it should appear) but some formats support changing the position, color, font… most of the times this would be embedded in an extra sidecar file like an .srt or a .sub
Comment · 2 years ago
This is one of the first results. The third, if I remember correctly.

I got this running yesterday (Sunday), and I wanted to write the blog post first to test if there was any interest in this topic. Apparently, yes. Now I only have to do the remaining 80% ;-)

Comment · 2 years ago
I played with that too before.

`ffmpeg -i input.mp4 -vf "select='gt(scene,0.4)'" -vsync vfr frame-%2d.jpg`

(from the repo pforret/filmpace)

For this project, I want to find an A.I. solution for finding the most 'interesting' frames. Not even sure how to measure interestingness yet, might be the presence of text, the presence of a human ...

Comment · 2 years ago
Thanks for the tip! I will add GPT to the mix to clean up the speech and title data.
Comment · 2 years ago
Using yt-dlp, ffmpeg and various AI services to print videos (e.g. cooking IG reels)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton