[FFmpeg-devel] How to handle AAC encoding [aac @ 0x7ff118b69c80] Input contains (near) NaN/+-Inf
akallabeth+ffmpeg at posteo.net
akallabeth+ffmpeg at posteo.net
Fri Feb 21 18:50:05 EET 2025
Hi,
trying to make heads and tails from the issue in the subject.
I try to use the AAC encoder and just feed new samples, but sometimes
avcodec_send_frame returns -22 and a debug log [aac @ 0x7ff118b69c80]
Input contains (near) NaN/+-Inf is emitted.
did have a look at the source in libavcodec/aacenc.c:946 but that did
not really help as there some coefficients are checked (calculated from
input data, but how can these be NaN/INF? (note: did check all input
values, there are no such values involved.
regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250221/201a3d0f/attachment.sig>
More information about the ffmpeg-devel
mailing list