Opened 8 months ago

Last modified 8 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

Description

Summary of the bug:
When trying to obtain a list of presets (according to https://trac.ffmpeg.org/wiki/Encode/H.264#Listpresetsandtunes ), 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, 8 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.