Skip to content

[Feature Request] Support ffmpeg eq filter #3987

Open

Description

@jbruchon

Description of the feature or enhancement you'd like to see in HandBrake

I'd love to be able to make basic color corrections in HandBrake. In ffmpeg these are available through the eq filter and allow changing brightness, contrast, saturation, and gamma. I often use HB to re-encode footage to make it smaller, but since I regularly shoot in high-contrast scenarios, the ability to slightly drop contrast and boost gamma during processing would be very useful. Right now, I use Premiere Pro to make such changes and encode using Voukoder which uses ffmpeg directly. Unfortunately, Premiere Pro and Lumetri Color are notoriously slow and clunky for such simple operations.

These apparently use the libavfilter library, so I don't know if that will make inclusion more difficult.

This could also replace the current "Filters" checkbox for "Grayscale" since setting saturation=0.0 would have the same effect.

What Operating System are you running?

Windows 10

What version of HandBrake are you running?

1.4.2

Where did you download HandBrake from?

handbrake.fr

Activity Log, Crash Log or any other details

No response

Activity

  1. woodstockathbf commented on Nov 24, 2021

    @woodstockathbf

    Check #1993 which is tracking requests like this.

  2. jbruchon commented on Nov 24, 2021

    @jbruchon
    Author

    @woodstockathbf Thanks. It's not there, but it looks like several of the requests there are also ffmpeg filters!

  3. woodstockathbf commented on Nov 24, 2021

    @woodstockathbf

    Hmm... I thought Bradley had included equalization, although using it requires a separate pass through the source, as discussed in #1676 .

    But still, #1993 is still where discussion of ffmpeg filters has been concentrated.

  4. jbruchon commented on Nov 24, 2021

    @jbruchon
    Author

    FYI the eq filter is not audio equalization; it says: "Set brightness, contrast, saturation and approximate gamma adjustment." It could also be used instead of the "vibrance" filter mentioned in the other issue.

  5. sr55 commented on Nov 24, 2021

    @sr55
    Contributor

    Added EQ to the filter list on #1993

  6. sr55 commented on Nov 24, 2021

    @sr55
    Contributor

    I'm not sure how practical some of these really are on the other ticket. Some of the filters require context to be able to use them which means it's not practical for use to be able to static preview them. EQ may be ok. I've not looked at it. Either way, added to the list if we ever get around to doing a pass at it.

    I've generally feel such features are better in a NLE (maybe not premier for simpler changes) as you get a really good scrub/preview experience which isn't something I see likely coming to HandBrake which makes such features a bit clumsy for anything but basic changes but something we can discuss when we look at it.

  7. jbruchon commented on Nov 24, 2021

    @jbruchon
    Author

    @sr55 I wasn't aware of the wish list before now, and I agree that some of the filters in ffmpeg will be awfully clunky to use in HandBrake...though I also think that the lack of an NLE-like preview system (VirtualDub's filter previews are a good bare-bones example) makes it hard to set ALL of the filters and options in HandBrake. To decide how I want to set UnSharp or NLMeans for a clip, I always have to run a 5-second preview to see the effects. Same deal with the x264/x265 output settings when I'm trying to balance size vs. quality, and even more so when using expert options.

    I suppose I'm saying that the "getting a preview sucks" thing is already there for everything else, and we all just deal with it because in the grand scheme of things, it's really not that bad, especially when our golden combo of settings can be re-used on multiple clips through presets and we didn't have to wait for clunky old PPro to get there.

    I specifically suggested the eq filter because the basic image corrections it provides are extremely useful, especially when transcoding high-contrast raw footage that was shot with the popularly advised ETTR method. In my photography, I rarely "edit" my photos, but I do perform very quick adjustments to contrast, gamma (midtones), and saturation in IrfanView prior to sharing. I'd like to have that same capability in HB so I can use it as my "IrfanView for video."

    image

    As it is, I must fire up PPro, make a project file, import footage, make a sequence, add Lumetri Color, screw around, export media, set up all the output parameters that always have something set wrong by default, go into the Voukoder settings, tweak all of the settings on three different tabs, OK, Export, and wait noticeably longer than a HandBrake transcode. To some extent, I can template/preset these things, but that doesn't help much.

    Or I could just use a HandBrake preset that has minor eq filter corrections and all my settings in it, wait less time, and produce equivalent or better final output that I can usually upload immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions