[Libav-user] Using rematrix_maxval

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Dec 4 22:33:06 EET 2017


2017-12-04 21:26 GMT+01:00  <gaetan.dubreil at free.fr>:
> Hello,
>
> When I resample an audio file to the AV_SAMPLE_FMT_DBLP sample format with libswresample, I get some values out of the interval -1, 1. It happens when I resample from 44100 to 48000 for example. I tried to use the rematrix_maxval option like this :
>
>   SwrContext *ctx = swr_alloc();
>   ...
>   av_opt_set_double(ctx, "rematrix_maxval", 1, 0);
>   swr_init(ctx);
>
> but it have no effect.

Is this issue reproducible with ffmpeg (the application)?

Carl Eugen


More information about the Libav-user mailing list