Opened 4 years ago

Last modified 4 years ago

#8912 new defect

libx264: profiles "main"/"high" ignored when "-preset ultrafast" is specified

Reported by: XXLuigiMario Owned by:
Priority: normal Component: undetermined
Version: 4.2 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When using -preset ultrafast, the profile of the encoded file will always become "constrained baseline" even if "-profile:v main" or "-profile:v high" are specified. This does not apply to "-profile:v high444".

How to reproduce?

ffmpeg -i test.mkv -c:v libx264 -preset ultrafast -profile:v high -pix_fmt yuv420p out.mkv

Attachments (1)

ffmpeg-20200929-050702.log (211.6 KB ) - added by XXLuigiMario 4 years ago.
ffmpeg report

Download all attachments as: .zip

Change History (2)

by XXLuigiMario, 4 years ago

Attachment: ffmpeg-20200929-050702.log added

ffmpeg report

comment:1 by Marton Balint, 4 years ago

This very well can be intentional. Main/High profile needs more computing power than baseline, so if you want ultrafast encoding, it makes sense to use a constrainted profile.

Note: See TracTickets for help on using tickets.