[FFmpeg-user] How to determine the real value of gamma correction?

konstantin kisbelus at gmail.com
Mon Mar 24 20:53:51 CET 2014


I would like to transcode a video file with FFmpeg, and apply some gamma
correction because the video is too dark. In FFmpeg I have to use this
option syntax to apply the color filter: -vf
'mp=eq2=1.7:1.0:0.0:1.0:1.0:1.0:1.0'
Where the first real number (1.7) is the value of the gamma correction
parameter. Other programs also use similar notation to define gamma
correction. However for example in SMPlayer the gamma correction parameter
is an integer number, for example 22. I would like to preview the video with
SMplayer and to correct gamma, and than convert the applied gamma value to
the format of FFMpeg. So my question is how can I determine the real value
of gamma (usually in range 1.0-2.0.) correction with any similar player, eg.
VLC?




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-to-determine-the-real-value-of-gamma-correction-tp4664458.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list