←back to thread

FFmpeg 8.0

(ffmpeg.org)
985 points gyan | 3 comments | | HN request time: 0.401s | source
1. JSR_FDED ◴[] No.44991189[source]
Tangentially, 50% of effort goes into assembling long complex CLI commands, and 50% fighting with escaping for the shell. Adding text to a video adds it’s own escaping hell for the text.

Has anyone found a bulletproof recipe for calling ffmpeg with many args (filters) from python? Use r-strings? Heredocs?

replies(2): >>44991866 #>>44992052 #
2. edge17 ◴[] No.44991866[source]
Agree with this, but I think LLM's have been a net positive in helping generate commands? Admittedly, getting working commands is still tough sometimes, and i'm 50/50 on whether ChatGPT saved me time vs reading docs.
3. ElectricalUnion ◴[] No.44992052[source]
subprocess.run, with list args?