Opened 3 years ago

Closed 3 years ago

#9251 closed defect (invalid)

h264_nvenc: InitializeEncoder failed: invalid param (8): Frame Dimension less than the minimum supported value.

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

Description (last modified by kvsico)

When I use h264_nvenc, small video(width < 145 or height < 145) always failed, the command is w=144 h=144 node nvenc-frame-dimension.js, it throws error like

`
[h264_nvenc @ 0x55a8a4356100] InitializeEncoder failed: invalid param (8): Frame Dimension less than the minimum supported value.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
`

but w=145 h=145 node nvenc-frame-dimension.js works successfully, does the minimum value is 145?

Attachments (1)

nvenc-frame-dimension.js (460 bytes ) - added by kvsico 3 years ago.

Download all attachments as: .zip

Change History (3)

by kvsico, 3 years ago

Attachment: nvenc-frame-dimension.js added

comment:1 by kvsico, 3 years ago

Description: modified (diff)

comment:2 by Timo R., 3 years ago

Resolution: invalid
Status: newclosed

That error is coming right from the driver.
The minimum resolution might even vary depending on driver or hardware version, but there's nothing ffmpeg can do about it, it's a limit of the driver.

Note: See TracTickets for help on using tickets.