Answers.Body: <p>Look at the <a href="https://ffmpeg.org/ffmpeg-filters.html#eq" rel="nofollow noreferrer">eq filter</a>.<br />
  Example :<br />
  <code>ffplay input -vf eq=contrast=1.25:brightness=.05:saturation=2.5:gamma=1.07</code><br />
  to determine the good values for you.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-23T21:14:13.357Z
Answers.Text: I'd like to adjust histogram exactly as on the picture.
Answers.UserDisplayName: Ivan Z
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-23T02:48:06.307Z
Answers.LastActivityDate: 2023-02-23T02:49:47.153Z
Answers.LastEditDate: 2023-02-23T02:49:47.153Z
Answers.UserDisplayName: Alain1A45
Body: <p>I have a dark video and'd like to adjust its histogram. In a graphical editor I've found the values of the color levels that enhance video contrast.</p>
  <p><a href="https://i.sstatic.net/PoQdG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PoQdG.png" alt="enter image description here" /></a></p>
  <p>How to set this level values in ffmpeg?</p>
  
Tags: <ffmpeg><video><filter><color-correction>
Title: How to adjust video histogram using ffmpeg?
UserDisplayName: Ivan Z
ThreadText: # How to adjust video histogram using ffmpeg?
  
  (Asked by: username_0 on 2023-02-21)
  
  I have a dark video and'd like to adjust its histogram. In a graphical editor I've found the values of the color levels that enhance video contrast.
  
  [![enter image description here](https://i.sstatic.net/PoQdG.png)](https://i.sstatic.net/PoQdG.png)
  
  How to set this level values in ffmpeg?
  
  **Tags:** ffmpeg, video, filter, color-correction
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-02-23. Score: 0
  
  Look at the [eq filter](https://ffmpeg.org/ffmpeg-filters.html#eq).  
  Example :  
  `ffplay input -vf eq=contrast=1.25:brightness=.05:saturation=2.5:gamma=1.07`  
  to determine the good values for you.
  
  > **Comments:**
  > **username_0**: I'd like to adjust histogram exactly as on the picture.  
  
  ---
  
  