Closed empz closed 2 months ago
The kwargs option also throws the same error
ffmpeg = (
FFmpeg()
.option("y")
.input(input_file)
.output("/tmp/output.mp3", acodec="libmp3lame", audio_bitrate="320k")
)
Nevermind. I don't know where I got that audio_bitrate
thing from.
The right way:
ffmpeg = (
FFmpeg()
.option("y")
.input(input_file)
.output("/tmp/output.mp3", {"acodec": "libmp3lame", "b:a": "320k"})
)
ffmpeg.execute()
I'm having an issue with this library and I have no idea what am I doing wrong.
My code is very simple:
This throws an error: Error splitting the argument list: Option not found.
What am I missing?