[FFmpeg-trac] #7228(undetermined:new): The codec option 'sc_factor' disappeared from the libavcodec 4.0

FFmpeg trac at avcodec.org
Thu May 24 15:08:15 EEST 2018


#7228: The codec option 'sc_factor' disappeared from the libavcodec 4.0
-------------------------------------+-------------------------------------
             Reporter:  strezen      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  sc_factor    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 The encoding option 'sc_factor' which was available in ffmpeg 3.x now
 disappeared but still being referenced in the documentation (see
 doc/codecs.texi file):

 {{{
 $ ./ffmpeg -i input.mkv -sc_factor 4 -c:v mpeg2video -f mpeg2video
 output.m2v
 ffmpeg version N-91151-g50df4c958b Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 7 (Debian 7.3.0-19)
   configuration:
   libavutil      56. 18.102 / 56. 18.102
   libavcodec     58. 19.102 / 58. 19.102
   libavformat    58. 16.100 / 58. 16.100
   libavdevice    58.  4.100 / 58.  4.100
   libavfilter     7. 24.100 /  7. 24.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
 Unrecognized option 'sc_factor'.
 Error splitting the argument list: Option not found
 }}}
 but:
 {{{
 @item sc_factor @var{integer} (@emph{encoding,video})
 Set value multiplied by qscale for each frame and added to
 scene_change_score.
 }}}

 So it either was dropped or replaced with some other encoding option but
 this change wasn't properly documented so old scripts using that option
 now fail. In any case there is a discrepancy between source code and
 documentation.

 Best regards,
 Andrey

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7228>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list