<p>I would like to know if is it possible to increase the brightness or gamma of a video without full re-encoding. For example some versions of ffmpeg allow certain special bitstream filters described here - presumed we have a h264 video - : <a href="http://forum.doom9.org/showthread.php?t=152419" rel="nofollow noreferrer">http://forum.doom9.org/showthread.php?t=152419</a> which can alter some of the video characteristics without re-encoding the video. Some containers also can store such a meta information about the video gamma or brightness, as far as I know matroska, and QuickTime, and maybe there are some video players too which can deal with this information.
I know that a similar modification, namely cropping the video is possible without a full re-encode merely by setting the cropping information at container level. For example such a video uploaded to youtube are cropped at the values which were set at the container level. So this could be a quick fix for unneeded logos and black bars. </p>

CC BY-SA 3.0
2016-11-27T04:34:41.780Z
Which codec and which container?
Gyan
CC BY-SA 3.0
2016-11-27T16:25:57.213Z
Any! I would like to know, with which codec and container is it possible. Maybe with H264 by manipulating the video data in a clever way? Or with matroska by setting / adding the necessery meta tags? I have no clue.
Konstantin
CC BY-SA 3.0
2016-12-02T01:21:46.193Z
This would be really useful if it were possible. The only container/codec that I know you can do it with is dng sequences, which can have exposure and colour grading information in the metadata or as a sidecar file. But not exactly a useful delivery format.
stib
<ffmpeg><encoding><filter>
Is it possible to increase video gamma or brightness at container level?
Konstantin
# Is it possible to increase video gamma or brightness at container level?

(Asked by: username_0 on 2016-11-27)

I would like to know if is it possible to increase the brightness or gamma of a video without full re-encoding. For example some versions of ffmpeg allow certain special bitstream filters described here - presumed we have a h264 video - : <http://forum.doom9.org/showthread.php?t=152419> which can alter some of the video characteristics without re-encoding the video. Some containers also can store such a meta information about the video gamma or brightness, as far as I know matroska, and QuickTime, and maybe there are some video players too which can deal with this information.
I know that a similar modification, namely cropping the video is possible without a full re-encode merely by setting the cropping information at container level. For example such a video uploaded to youtube are cropped at the values which were set at the container level. So this could be a quick fix for unneeded logos and black bars.

**Tags:** ffmpeg, encoding, filter

> **Comments:**
> **username_1**: Which codec and which container?  
> **username_0**: Any! I would like to know, with which codec and container is it possible. Maybe with H264 by manipulating the video data in a clever way? Or with matroska by setting / adding the necessery meta tags? I have no clue.  
> **username_2**: This would be really useful if it were possible. The only container/codec that I know you can do it with is dng sequences, which can have exposure and colour grading information in the metadata or as a sidecar file. But not exactly a useful delivery format.  

---

## 0 answers

