[FFmpeg-trac] #10041(avfilter:closed): Problem with exposure filter

FFmpeg trac at avcodec.org
Sun Dec 4 19:55:33 EET 2022

#10041: Problem with exposure filter
             Reporter:  Michael Koch  |                    Owner:  (none)
                 Type:  defect        |                   Status:  closed
             Priority:  normal        |                Component:  avfilter
              Version:  git-master    |               Resolution:  invalid
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
Comment (by Michael Koch):

 Replying to [comment:6 Elon Musk]:
 > The invert of pixels bug have been fixed.

 The subtraction of s->black (now in line 70) doesn't make any sense in my
 And it would be better if the unit of "exposure" is photographic EV
 values, I mean exposure=1 should be a factor of 2 and exposure=-1 should
 be a factor of 0.5.

 I suggest to replace lines 70-73 by

 s->scale = exp(s->exposure * log(2.0))

 It's always positive.
Ticket URL: <https://trac.ffmpeg.org/ticket/10041#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list