[FFmpeg-devel] [PATCH] avcodec/nvenc: multiple reference frames

hydra3333 at gmail.com hydra3333 at gmail.com
Sun Oct 27 02:59:17 EEST 2019


On 14.10.2019 18:56 Timo Rothenpieler wrote:
> On 14.10.2019 17:43, Hendrik Leppkes wrote:
> > Since some users seem to have blindly passed -refs to their
> > commandline which now fails without really telling them why, any
> > thoughts on moving the capability check error messages onto a high log
> > level so that they are shown by default, since they are the source of
> > a failure to encode?
> > 
> > -  Hendrik
> 
> Maybe all errors in nvenc_check_capabilities should be warnings instead 
> of verbose even?

Warning: newbie user-submitted patch attached for your consideration.

Context: https://trac.ffmpeg.org/ticket/8254 
The option -refs works OK on newest models of nvidia graphics cards
however fails with a slightly obscure (to a user) error message on 
common but lesser models of nvidia graphics cards (eg 1050Ti).

The attached patch seeks to slightly modify relevant error messages
and change error messages in nvenc_check_capabilities to be issued
as warnings instead of verbose.

Thank you for considering the patch.

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 20154 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191027/501d91c0/attachment.bin>


More information about the ffmpeg-devel mailing list