Live data from Hacker News

Show HN: LLMpeg

github.com

81–83 of 83 posts

Re: Show HN: LLMpeg

#81
post #78

Earlier quoted context omitted.

> Programs should precisely define what their inputs are and loudly reject all else. …when interfacing with other programs. Humans aren't programs, which is a somewhat important distinction.

Well, firstly, take a look at some tech news, because it sure looks to me like people left and right are interfacing programs with AI, desperately scrambling to get reliable, stable outputs out of their prompts. Secondly, people need precision and stability in program behavior also. People learn that when they give a certain command, they get a certain effect, and they don't want it to break. Interfaces that allow pe…

But we aren't talking about "interfacing programs with AI", and we aren't talking about "[giving] a certain command, [getting] a certain effect". We are talking about one-off invocations directly by a human. Tools like llmpeg aren't intended to be a component in your CI/CD scripts, but for the command line user who wants to casually convert some media files and who hasn't memorized ffmpeg's full CLI interface.

Re: Show HN: LLMpeg

#82
post #64

This should be a terminal utility. xx ffmpeg video1.mp4 normalize audio without reencoding video to video2.mp4 And have sensible defaults. Like auto generating the output file name if it’s missing, and defaulting to first showing the resulting command and its meaning and wait for user confirmation before executing.

aider https://aider.chat/ basically does this already.

% aider

[...]

> do this on command line: ffmpeg cat\ meets\ skunk.mp4 normalize audio without reencoding video to video2.mp4

To normalize the audio without re-encoding the video, we'll use ffmpeg's loudnorm filter and stream copy for video. Here's the command:

ffmpeg -i "cat meets skunk.mp4" -c:v copy -af loudnorm -c:a aac video2.mp4

This command:

• Uses -c:v copy to stream copy the video (no re-encoding) • Applies loudnorm filter to normalize audio • Re-encodes only the audio using AAC codec • Outputs to video2.mp4

[...]

Run shell command? (Y)es/(N)o/(D)on't ask again [Yes]:

Re: Show HN: LLMpeg

#83
post #50

Earlier quoted context omitted.

does the tool snap to I-frames when slicing?

I don't know about ffslice, but you can get frame-perfect slicing with minimal reencoding via LosslessCut's experimental "smart cut" feature[2] or Smart Media Cutter's[3] smartcut[4]. [1] https://github.com/mifi/lossless-cut [2] https://github.com/mifi/lossless-cut/issues/126 [3] https://smartmediacutter.com/ [4] https://github.com/skeskinen/smartcut

Excellent video snipping resources. I love HN for this.
Post reply on HN