Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Can't use --preset (Read 1842 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Can't use --preset

Anytime I try to use "--preset insane" or any flag that starts with "--" for that matter, I get an error.

An example...

ffmpeg -i file.wav -vn -c:a libmp3lame -ar 44100 -ac 2 --preset insane output.mp3

Unrecognized option '-preset'.
Error splitting the argument list: Option not found







Re: Can't use --preset

Reply #5
It seems that https://ffmpeg.org/ffmpeg-codecs.html#libmp3lame-1 is incorrect (outdated?). According to ffmpeg -h full, only few options are available. And without two dashes.
Code: [Select]
libmp3lame encoder AVOptions:
  -reservoir         <boolean>    E...A...... use bit reservoir (default true)
  -joint_stereo      <boolean>    E...A...... use joint stereo (default true)
  -abr               <boolean>    E...A...... use ABR (default false)
  -copyright         <boolean>    E...A...... set copyright flag (default false)
  -original          <boolean>    E...A...... set original flag (default true)

Re: Can't use --preset

Reply #6
IIRC the previous presets are now mapped to the bitrate settings, eg, -b 320 = insane, etc.

 

Re: Can't use --preset

Reply #7
Any option that starts with -- throws an error, for example if I try to set the lowpass cuttoff with --lowpass 22050, I get the error Unrecognized option '-lowpass'. This happens with any option that starts with 2 dashes.
You need to use ffmpeg supported options only. You're running ffmpeg but trying to use lame options.

It seems that https://ffmpeg.org/ffmpeg-codecs.html#libmp3lame-1 is incorrect (outdated?). According to ffmpeg -h full, only few options are available. And without two dashes.
The build of ffmpeg I'm using shows even fewer.
korth