Skip to content

Expose new filters provided by FFmpeg/avfilter. #1993

Open

Description

@bradleysepos

Made possible by the enhancements provided by #1992. In order of (my relative) priority, as requested.

Video

Audio

I'm not certain whether the improvements in #1992 also help with audio, but here's a short list of useful audio filters.

Other User requests

Activity

  1. added this to the Unscheduled milestone on Mar 16, 2019
  2. jstebbins commented on Mar 16, 2019

    @jstebbins
    Contributor

    They don't help with audio, but it would be nice to have a filter pipeline for audio like we do for video. I'll add that to my list 😉

    Thanks!

  3. sr55 commented on Mar 17, 2019

    @sr55
    Contributor

    Going to lead to some pretty complex UI. Some of this, such as stabilisation is more of an NLE task I'd argue.

  4. jstebbins commented on Mar 17, 2019

    @jstebbins
    Contributor

    We should start by identifying the use case(s) for each filter. Do they fix something that our users commonly experience. Does the filter give us something one of our current filters doesn't provide (better suited for some use case, faster, etc.) We will have to document all this for our users if we have overlapping capabilities in filters. Stabilization may be a common problem, I just don't know. I don't know how many action cam users we have. I would suggest a survey, but I don't think our forum members are all that representative of the total user base ☹️

    The linux GUI has plenty of room for several additional filters, but I'm not completely happy with the design. So we might want to consider reworking this anyway. Currently the linux GUI orders the filter widgets in the order the filters stages are run. This results in kind of a cluttered look since each filter has different numbers and types of widgets associated with it and things tend not to align well on the screen. Perhaps we could categorize the filters and group them by category. To show the flow through the filters, we could have a visual representation of the enabled filters at the top or bottom of the filter pane. If screen real estate gets tight (or just to create a cleaner look), categories could be expandable. I.e. the filter settings are not visible until you expand a category.

  5. bradleysepos commented on Mar 17, 2019

    @bradleysepos
    ContributorAuthor

    I will be happy to work on a Filters UI revision similar to what I did with the Dimensions tab, if desired.

    Until very recently, many NLEs did not have stabilization, requiring the use of an effects compositor or third party plugin. Ironically, mobile apps by third parties such as Instagram/Facebook/etc. have made great strides in realtime stabilization, while most first party camera/video apps don't provide it at all.

    Given the prominence of handheld mobile video, I think stabilization would be a win for HandBrake users. I'd use it a lot.

  6. samhutchins commented on Mar 19, 2019

    @samhutchins
    Contributor

    If you do add audio filters, I'd love it if sofalizer was one of them

  7. Nomis101 commented on Dec 9, 2019

    @Nomis101
    Contributor

    Instead off ending up with a pretty complex UI, wouldn't it be possible to just add an "Extra options" box to the filters part (similar to that one in the videos tab)? And then in this box every filter that FFmpeg provides could be applied to the video by entering the syntax from the FFmpeg documentation.

  8. jstebbins commented on Dec 9, 2019

    @jstebbins
    Contributor

    You could do that, but I would argue that if that box were used, you should disable every other filter (including crop and scale) and assume the user knows what they are doing. Filters must be applied in a particular order to get the correct results. A generic text entry box tells us nothing about where we should place the filter(s) in the pipeline.

  9. sr55 commented on Dec 9, 2019

    @sr55
    Contributor

    Also there is an argument for not including everything in the UI, or potentially hiding a lot of the stuff typical users won't care about.

  10. bradleysepos commented on Dec 10, 2019

    @bradleysepos
    ContributorAuthor

    I had considered this as well, however I think one of HandBrake's strengths is filter presets, so a curated list of filters with tailored presets would be preferable and done well, not very complex.

  11. RedSoxFan04 commented on Jan 7, 2020

    @RedSoxFan04

    Also there is an argument for not including everything in the UI, or potentially hiding a lot of the stuff typical users won't care about.

    I think HDR to SDR conversion is something typical users will care about, especially since AFAIK, UHD Blu-Ray sets of TV shows generally don't come with both HD and UHD discs.

  12. sr55 commented on Jan 7, 2021

    @sr55
    Contributor

    Adding Request - Lens Correction to the list #3326

  13. Nomis101 commented on Mar 11, 2021

    @Nomis101
    Contributor

    For audio filters, I would like to bring up dynaudnorm for discussion.

  14. bradleysepos commented on Mar 11, 2021

    @bradleysepos
    ContributorAuthor

    For audio filters, I would like to bring up dynaudnorm for discussion.

    I've long wanted to add a basic compressor with gain compensation to HandBrake, so this seems useful to me.

    🔈 🤯 🔈

  15. NanaMizukiAnother7 commented on Mar 11, 2021

    @NanaMizukiAnother7

    Will it have low-pass and high-pass support?

  16. VetusMundi commented on Mar 25, 2021

    @VetusMundi
  17. Nomis101 commented on Mar 6, 2022

    @Nomis101
    Contributor

    For audio filters, I would like to bring up surround and dialogue enhance audio filter for discussion.

  18. wellloaded commented on May 31, 2024

    @wellloaded

    As far as I can see ffmpeg supports the "-vf deshake", can this be considered?

    Thanks

  19. Perkolator commented on Oct 10, 2024

    @Perkolator

    Would curves be of any use?

  20. Nomis101 commented on Aug 21, 2025

    @Nomis101
    Contributor

    This might be a bit complicated to implement, but with FFmpeg 8.0 we could implement the whisper filter (--enable-whisper) to automatically make transcriptions from the audio track into a subtitle track. At least it is working for FFmpeg by e.g.
    $ ffmpeg -i input.mp4 -vn -af "whisper=model=/whisper.cpp/models/ggml-base.en.bin:language=en:queue=3:destination=output.srt:format=srt" -f null -
    And then adding the srt file as a subtitle file in HandBrake. The thing that would make it tricky to implement it into HandBrake is the model file that is needed, which is quite big. But maybe for everyone who wants to use this we could make a file chooser to choose the model file from any location.

  21. fulldecent commented on Nov 7, 2025

    @fulldecent

    Right now there are filters exposed on the "filters" pane.

    Image

    The first question for this issue is: are all the new filters provided by FFmpeg and listed above able to represented in in this pane in this same way?

    That is:

    1. Name of filter
    2. On/off/mode selector
    3. A text box and/or preset selector
    4. Additional "tune" dropdown box

    And if not then what additional UI is required?

  22. galad87 commented on Nov 11, 2025

    @galad87
    Contributor

    A new filter UI would be greatly appreciated, but at the moment there isn't any plan or anyone working on it.

  23. mcprat commented on Apr 10, 2026

    @mcprat
    Contributor

    I would like to help get the vidstab filter implemented and I have some video to test it with

    I'm doing a first time cross compile build right now to look into another issue I'm having so I'm not familiar with the project yet. can anyone point out which files are involved for the av filters?

  24. galad87 commented on Apr 12, 2026

    @galad87
    Contributor

    deblock.c or deband.c are a good start.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions