Generate an audio-extraction command and review it before running
At a glance
Simon Willison describes using llm-cmd to draft an FFmpeg command that remains editable before execution. This workflow is listed under Command Line, Audio Extraction, Human Review.
SourceBuilding a tool for these workflows? See weekly rates.
What they did
1) Have the LLM CLI installed with a working default model, FFmpeg available, and an MP4 in your working directory. Install the command plugin in LLM's environment with `llm install llm-cmd`. 2) Describe the conversion, including the real input filename; the source example is `llm cmd extract mp3 audio from pelican-data-journalists.mp4 with ffmpeg`. 3) Review the generated command before pressing Enter. The example output is `ffmpeg -i pelican-data-journalists.mp4 -vn -acodec libmp3lame -q:a 4 pelican-data-journalists.mp3`. Edit filenames or cancel with Ctrl+C if it is wrong. 4) Execute the approved command and open the resulting MP3 to check the extracted audio.
Worth knowing
The plugin drafts a command using the default model; pressing Enter executes it locally. Its linked README supplies the installation and cancellation instructions.