Parameter Setting Errors When HW265Enc Is Used for Encoding
Symptom
When HW265Enc is used for encoding, a parameter setting error is displayed stating "[libhw265 @ 0xe757ad0] Value 39.000000 for parameter 'frame_threads' out of range [-1 - 38]."
Key Process and Cause Analysis
The encoding parameters of HW265Enc must be within their respective supported range. Otherwise, an error is reported for some parameters whose value is out of the range. For details, see Examples of Using HW265Enc in FFmpeg.
Conclusion and Solution
Set the value of frame_threads within the allowed range. The methods for handling other parameter setting errors are the same.
Parent topic: Troubleshooting