Skip to content

Commit

Permalink
avfilter: add dialogue enhance audio filter
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpl committed Feb 12, 2022
1 parent 800dfd2 commit f05c529
Show file tree
Hide file tree
Showing 6 changed files with 441 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Changelog
@@ -1,7 +1,8 @@
Entries are sorted chronologically from oldest to youngest within each release,
releases are sorted from youngest to oldest.

version <next>:
version 5.1:
- dialogue enhance audio filter


version 5.0:
Expand Down
28 changes: 28 additions & 0 deletions doc/filters.texi
Expand Up @@ -4182,6 +4182,34 @@ Default value is @var{o}.

@end table

@section dialoguenhance
Enhance dialogue in stereo audio.

This filter accepts stereo input and produce surround (3.0) channels output.
The newly produced front center channel have enhanced speech dialogue originally
available in both stereo channels.
This filter outputs front left and front right channels same as available in stereo input.

The filter accepts the following options:

@table @option
@item original
Set the original center factor to keep in front center channel output.
Allowed range is from 0 to 1. Default value is 1.

@item enhance
Set the dialogue enhance factor to put in front center channel output.
Allowed range is from 0 to 3. Default value is 1.

@item voice
Set the voice detection factor.
Allowed range is from 2 to 32. Default value is 2.
@end table

@subsection Commands

This filter supports the all above options as @ref{commands}.

@section drmeter
Measure audio dynamic range.

Expand Down
1 change: 1 addition & 0 deletions libavfilter/Makefile
Expand Up @@ -124,6 +124,7 @@ OBJS-$(CONFIG_CROSSFEED_FILTER) += af_crossfeed.o
OBJS-$(CONFIG_CRYSTALIZER_FILTER) += af_crystalizer.o
OBJS-$(CONFIG_DCSHIFT_FILTER) += af_dcshift.o
OBJS-$(CONFIG_DEESSER_FILTER) += af_deesser.o
OBJS-$(CONFIG_DIALOGUENHANCE_FILTER) += af_dialoguenhance.o
OBJS-$(CONFIG_DRMETER_FILTER) += af_drmeter.o
OBJS-$(CONFIG_DYNAUDNORM_FILTER) += af_dynaudnorm.o
OBJS-$(CONFIG_EARWAX_FILTER) += af_earwax.o
Expand Down

0 comments on commit f05c529

Please sign in to comment.