#6475: NVENC: -coder 0 parameter produces no error, but does not disable CABAC
-------------------------------------+-------------------------------------
             Reporter:  alexpigment  |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  nvenc        |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by jkqxz):

 Replying to [comment:1 cehoyos]:
 > No warning can be shown for unused output options.

 The option isn't unused, but the behaviour is exactly as expected.

 "-coder 0" indicates that the encoder should choose the mode
 automatically:
 
<http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/nvenc_h264.c;h=c3b4bac7494dc24faf250423f2539830358b4c63;hb=HEAD#l122>
 
<http://git.videolan.org/?p=ffmpeg.git;a=blob;f=compat/nvenc/nvEncodeAPI.h;h=e662880f4d94e880004f536dfbaa485bce9daf9a;hb=HEAD#l592>

 The encoder then chooses to use CABAC, since it is more efficient and you
 haven't indicated any other constraint (e.g. profile) which would force it
 to use CAVLC instead.

 (It is generally recommended that you use named options rather than
 integer values where they are available.  See {{{ffmpeg -h
 encoder=nvenc_h264}}}.)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6475#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to