Previous default value of 1.0 is producing lesser quality channels.
Unified · Split
| @@ -6436,15 +6436,23 @@ Set LFE output volume. By default, this is @var{1}. · 6435 unmodified lines | ||
| 6436 | 6436 | |
| 6437 | 6437 | @item allx |
| 6438 | 6438 | Set spread usage of stereo image across X axis for all channels. |
| 6439 | +Allowed range is from @var{-1} to @var{15}. | |
| 6440 | +By default this value is negative @var{-1}, and thus unused. | |
| 6439 | 6441 | |
| 6440 | 6442 | @item ally |
| 6441 | 6443 | Set spread usage of stereo image across Y axis for all channels. |
| 6444 | +Allowed range is from @var{-1} to @var{15}. | |
| 6445 | +By default this value is negative @var{-1}, and thus unused. | |
| 6442 | 6446 | |
| 6443 | 6447 | @item fcx, flx, frx, blx, brx, slx, srx, bcx |
| 6444 | 6448 | Set spread usage of stereo image across X axis for each channel. |
| 6449 | +Allowed range is from @var{0.06} to @var{15}. | |
| 6450 | +By default this value is @var{0.5}. | |
| 6445 | 6451 | |
| 6446 | 6452 | @item fcy, fly, fry, bly, bry, sly, sry, bcy |
| 6447 | 6453 | Set spread usage of stereo image across Y axis for each channel. |
| 6454 | +Allowed range is from @var{0.06} to @var{15}. | |
| 6455 | +By default this value is @var{0.5}. | |
| 6448 | 6456 | |
| 6449 | 6457 | @item win_size |
| 6450 | 6458 | Set window size. Allowed range is from @var{1024} to @var{65536}. Default size is @var{4096}. |
| @@ -1727,22 +1727,22 @@ static const AVOption surround_options[] = { · 1726 unmodified lines | ||
| 1727 | 1727 | { "lfe_out", "set lfe channel output level", OFFSET(lfe_out), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 10, FLAGS }, |
| 1728 | 1728 | { "allx", "set all channel's x spread", OFFSET(all_x), AV_OPT_TYPE_FLOAT, {.dbl=-1}, -1, 15, FLAGS }, |
| 1729 | 1729 | { "ally", "set all channel's y spread", OFFSET(all_y), AV_OPT_TYPE_FLOAT, {.dbl=-1}, -1, 15, FLAGS }, |
| 1730 | − { "fcx", "set front center channel x spread", OFFSET(fc_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1731 | − { "flx", "set front left channel x spread", OFFSET(fl_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1732 | − { "frx", "set front right channel x spread", OFFSET(fr_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1733 | − { "blx", "set back left channel x spread", OFFSET(bl_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1734 | − { "brx", "set back right channel x spread", OFFSET(br_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1735 | − { "slx", "set side left channel x spread", OFFSET(sl_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1736 | − { "srx", "set side right channel x spread", OFFSET(sr_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1737 | − { "bcx", "set back center channel x spread", OFFSET(bc_x), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1738 | − { "fcy", "set front center channel y spread", OFFSET(fc_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1739 | − { "fly", "set front left channel y spread", OFFSET(fl_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1740 | − { "fry", "set front right channel y spread", OFFSET(fr_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1741 | − { "bly", "set back left channel y spread", OFFSET(bl_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1742 | − { "bry", "set back right channel y spread", OFFSET(br_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1743 | − { "sly", "set side left channel y spread", OFFSET(sl_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1744 | − { "sry", "set side right channel y spread", OFFSET(sr_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1745 | − { "bcy", "set back center channel y spread", OFFSET(bc_y), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 15, FLAGS }, | |
| 1730 | + { "fcx", "set front center channel x spread", OFFSET(fc_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1731 | + { "flx", "set front left channel x spread", OFFSET(fl_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1732 | + { "frx", "set front right channel x spread", OFFSET(fr_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1733 | + { "blx", "set back left channel x spread", OFFSET(bl_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1734 | + { "brx", "set back right channel x spread", OFFSET(br_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1735 | + { "slx", "set side left channel x spread", OFFSET(sl_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1736 | + { "srx", "set side right channel x spread", OFFSET(sr_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1737 | + { "bcx", "set back center channel x spread", OFFSET(bc_x), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1738 | + { "fcy", "set front center channel y spread", OFFSET(fc_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1739 | + { "fly", "set front left channel y spread", OFFSET(fl_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1740 | + { "fry", "set front right channel y spread", OFFSET(fr_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1741 | + { "bly", "set back left channel y spread", OFFSET(bl_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1742 | + { "bry", "set back right channel y spread", OFFSET(br_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1743 | + { "sly", "set side left channel y spread", OFFSET(sl_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1744 | + { "sry", "set side right channel y spread", OFFSET(sr_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1745 | + { "bcy", "set back center channel y spread", OFFSET(bc_y), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, .06, 15, FLAGS }, | |
| 1746 | 1746 | { "win_size", "set window size", OFFSET(win_size), AV_OPT_TYPE_INT, {.i64 = 4096}, 1024, 65536, FLAGS }, |
| 1747 | 1747 | WIN_FUNC_OPTION("win_func", OFFSET(win_func), FLAGS, WFUNC_HANNING), |
| 1748 | 1748 | { "overlap", "set window overlap", OFFSET(overlap), AV_OPT_TYPE_FLOAT, {.dbl=0.5}, 0, 1, FLAGS }, |