Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm going to plug my own LLM CLI project here: I use it on a daily basis now for coding tasks like this one:

llm -m o4-mini -f github:simonw/llm-hacker-news -s 'write a new plugin called llm_video_frames.py which takes video:path-to-video.mp4 and creates a temporary directory which it then populates with one frame per second of that video using ffmpeg - then it returns a list of [llm.Attachment(path="path-to-frame1.jpg"), ...] - it should also support passing video:video.mp4?fps=2 to increase to two frames per second, and if you pass ?timestamps=1 or &timestamps=1 then it should add a text timestamp to the bottom right conner of each image with the mm:ss timestamp of that frame (or hh:mm:ss if more than one hour in) and the filename of the video without the path as well.' -o reasoning_effort high

Any time I use it like that the prompt and response are logged to a local SQLite database.

More on that example here: https://simonwillison.net/2025/May/5/llm-video-frames/#how-i...



Seconded, everyone should be using CLIs.

Simon: while that example is impressive, it is also complicated and hard to read in an HN comment.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: