Opened 11 months ago

Last modified 11 months ago

#10452 new defect

Preset help specified, but could not be opened.

Reported by: monochromec Owned by:
Priority: normal Component: ffmpeg
Version: 6.0 Keywords: missing help preset
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:
When trying to obtain a list of presets (according to ), ffmpeg reports "Preset help specified, but could not be opened."
How to reproduce:

% ffmpeg -hide_banner -f lavfi -i nullsrc -c:v hevc -pre help -f mp4 -
ffmpeg version 6.0
built on Debian bullseye

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 by hungkuishing, 11 months ago

you need specify "-preset", not "-pre"!

for h264:
ffmpeg -hide_banner -f lavfi -i nullsrc -c:v libx264 -preset help -f mp4 -

for h265:
ffmpeg -hide_banner -f lavfi -i nullsrc -c:v libx265 -preset help -f mp4 -

notes: "-pre" will specify a avpreset file which contains encoder-specific options in it.

Note: See TracTickets for help on using tickets.