[FFmpeg-user] swr_convert from packed to planar
Livio Tenze
ltenze at gmail.com
Sun Mar 7 13:19:42 EET 2021
Dear all,
I am trying to use the swr_convert function to convert (format and
resample) an audio stream with dual channels from AV_SAMPLE_FMT_U8
to AV_SAMPLE_FMT_FLTP.
The problem is that the samples, after calling swr_convert, are all zeros.
I checked the source samples and they differ from zero.
885->0.00
691->0.00
1116->0.00
783->0.00
1067->0.00
885->0.00
875->0.00
855->0.00
993->0.00
878->0.00
Is it possible to use swr_convert to resample and convert audio
samples from AV_SAMPLE_FMT_U8 to AV_SAMPLE_FMT_FLTP?
Thanks in advance.
Livius
More information about the ffmpeg-user
mailing list