#11436: "-reinit_filter" shall ignore varying color primaries
-------------------------------------+-------------------------------------
             Reporter:  Francesco    |                    Owner:  (none)
  Bucciantini                        |
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by MasterQuestionable):

 * analyzed:  0 => 1
 * cc: MasterQuestionable (added)
 * component:  swscale => ffmpeg
 * summary:
     Changing stream properties (matrix/primaries/transfer) make FFMpeg
     crash
     => "-reinit_filter" shall ignore varying color primaries
 * type:  defect => enhancement

Comment:

 ͏    However alike input stream self probably wouldn't make much sense.
 ͏    Refer also:
 ͏    https://github.com/libjxl/libjxl/issues/4056#issuecomment-2607405171
 ͏    https://trac.ffmpeg.org/ticket/11142#comment:3

 [ "-reinit_filter[:${Stream}]"
 ͏    bool, input, per-stream
 ͏    Determines if the filtergraph the stream feeds to shall reinitialize,
 when the input properties change mid-stream.
 ͏    Default: true

 ͏    Default as most video and all audio filters, cannot handle deviations
 of input properties.
 ͏    Upon reinitialization, existing filter state is lost.
 ͏    (e.g. the frame count "n" reference available in some filters)
 ͏    Any frame buffered at time of reinitialization is lost.

 ͏    The property changes would trigger reinitialization are:
 ͏    |*| Video: frame resolution, pixel format.
 ͏    |*| Audio: sample format, sample rate, channel count, channel layout.
 ]
 .
 ͏    This is overall sensible, and would contribute to performance
 benefits.
 ͏    With low likelihood of breakage.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11436#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to