[FFmpeg-trac] #9251(undetermined:new): h264_nvenc: InitializeEncoder failed: invalid param (8): Frame Dimension less than the minimum supported value.

FFmpeg trac at avcodec.org
Wed May 19 08:39:26 EEST 2021


#9251: h264_nvenc:  InitializeEncoder failed: invalid param (8): Frame Dimension
less than the minimum supported value.
-------------------------------------+-------------------------------------
             Reporter:  kvsico       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by kvsico:

Old description:

> 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?
>

>

>

> Summary of the bug:
> How to reproduce:
> {{{
> % ffmpeg -i input ... output
> ffmpeg version
> built on ...
> }}}
> Patches should be submitted to the ffmpeg-devel mailing list and not this
> bug tracker.

New description:

 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?

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9251#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list