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…
Show HN: LLMpeg
81–83 of 83 posts
Re: Show HN: LLMpeg
#82This 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
[...]
> 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
#83Earlier 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