How can I increase gamma for a portion of a video?

Started by dandv, December 23, 2017, 02:08:37 AM

Previous topic - Next topic

dandv

I have a video that gets dark at the end as it gets dark outside. I want to increase the gamma for that portion but Avidemux doesn't let me make the Mplayer eq2 filter partial.

This is a really basic and common task. Other color filters can be made partial. Can we make this one too?

eumagga0x2a

Technically, there are two kinds of video filters in Avidemux: filters which don't use caching as filters which do. Filters which like eq2 use caching can't be made partial.

I assume you use Linux, so building Avidemux from source is trivial. In this case you could apply the attached patch which would allow to make eq2 partial with implications I don't have time to investigate now.

Jan Gruuthuse

load video
mark and save part that does not need adjustment (part1)
delete marked part1 from video (delete)
apply the wanted filter over the remaining video
save as part 2
close video
load part 1, append part 2 and save as new video.

BG Davis

You can edit portions of a video clip in an older version of Avidemux, v2.5.
Sad to see that this useful function was removed in later versions.

eumagga0x2a

I've pushed the patch attached to http://avidemux.org/smif/index.php/topic,18158.msg82988.html#msg82988 to the git master. The MPlayer eq2 filter should be partializable in nightlies built on 2018-01-05 and later.