[FFmpeg-devel] NVENC HEVC Profile Settings Errors

Scott Leno ffmpeg at scottleno.net
Tue Apr 14 18:43:32 CEST 2015


On Tue, Apr 14, 2015 at 8:49 AM, Ali KIZIL <alikizil at gmail.com> wrote:

> Timo Rothenpieler <timo <at> rothenpieler.org> writes:
>
> >
> > > When setting level of HEVC in NVENC, FFmpeg gives error:
> > >
> > > root <at> encoder:~# /opt/ffmpeghw/bin/ffmpeg -i /root/bunny.mp4 -
> aspect 16:9
> > > -s 3840x2160 -vcodec nvenc_h265 -preset hp -fflags +genpts -vb
> 25000k -
> > > minrate 25000k -maxrate 25000k -bufsize 75000k -muxrate 25000k -r 50
> -an
> > > -flush_packets 0 -packetsize 188 -level 5.1 -y -f mpegts /dev/null
> > ...
> > > [nvenc_h265  <at>  0xee0080] InitializeEncoder failed: 0x8
> >
> > That simply means that the requested encoding options are
> > unsupported/invalid.
> > The requested level is just passed to nvenc, it doesn't support every
> > single one of them in every mode.
> >
> >
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel <at> ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
>
> Yes, agree. Maybe a fix to give info massage that NVENC does not support
> levels 1, 2, 2.1, 3, 3.1, 4, 4.1, 5, 5.1, 5.2, 6 in HEVC ?
>
>
>
The problem you have is that the 4k video isn't supported in levels below 5
and the 25mb/s minimum rate you specify isn't supported below 6.1
Your problem is a conflict between the level and the parameters you have
chosen.
There are probably other limitations, but those two limit you to 6.1 and
above.
Even if the NVENC does support these levels, your test command line would
fail.

Scott


More information about the ffmpeg-devel mailing list