ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Wed Feb 23 15:43:43 
2022 +0100| [5c8d064ea98598a762e96a3ffefd733d849ed27e] | committer: Paul B Mahol

avfilter/af_loudnorm: increase max allowed LRA

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5c8d064ea98598a762e96a3ffefd733d849ed27e
---

 doc/filters.texi          | 2 +-
 libavfilter/af_loudnorm.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index b91d38daa2..0650879cfa 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5215,7 +5215,7 @@ Range is -70.0 - -5.0. Default value is -24.0.
 
 @item LRA, lra
 Set loudness range target.
-Range is 1.0 - 20.0. Default value is 7.0.
+Range is 1.0 - 50.0. Default value is 7.0.
 
 @item TP, tp
 Set maximum true peak.
diff --git a/libavfilter/af_loudnorm.c b/libavfilter/af_loudnorm.c
index 493306c707..c9c14309bf 100644
--- a/libavfilter/af_loudnorm.c
+++ b/libavfilter/af_loudnorm.c
@@ -102,8 +102,8 @@ typedef struct LoudNormContext {
 static const AVOption loudnorm_options[] = {
     { "I",                "set integrated loudness target",    
OFFSET(target_i),         AV_OPT_TYPE_DOUBLE,  {.dbl = -24.},   -70.,       
-5.,  FLAGS },
     { "i",                "set integrated loudness target",    
OFFSET(target_i),         AV_OPT_TYPE_DOUBLE,  {.dbl = -24.},   -70.,       
-5.,  FLAGS },
-    { "LRA",              "set loudness range target",         
OFFSET(target_lra),       AV_OPT_TYPE_DOUBLE,  {.dbl =  7.},     1.,        
20.,  FLAGS },
-    { "lra",              "set loudness range target",         
OFFSET(target_lra),       AV_OPT_TYPE_DOUBLE,  {.dbl =  7.},     1.,        
20.,  FLAGS },
+    { "LRA",              "set loudness range target",         
OFFSET(target_lra),       AV_OPT_TYPE_DOUBLE,  {.dbl =  7.},     1.,        
50.,  FLAGS },
+    { "lra",              "set loudness range target",         
OFFSET(target_lra),       AV_OPT_TYPE_DOUBLE,  {.dbl =  7.},     1.,        
50.,  FLAGS },
     { "TP",               "set maximum true peak",             
OFFSET(target_tp),        AV_OPT_TYPE_DOUBLE,  {.dbl = -2.},    -9.,         
0.,  FLAGS },
     { "tp",               "set maximum true peak",             
OFFSET(target_tp),        AV_OPT_TYPE_DOUBLE,  {.dbl = -2.},    -9.,         
0.,  FLAGS },
     { "measured_I",       "measured IL of input file",         
OFFSET(measured_i),       AV_OPT_TYPE_DOUBLE,  {.dbl =  0.},    -99.,        
0.,  FLAGS },

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to