Hello,
Here's a question. Sometimes when my code goes to "ret =
avcodec_send_frame(enc_ctx, tmpFrame);", the value of
ret is AVERROR(EINVAL). And it shows "Input contains (near)
NaN/+-Inf". Then I print the information of tmpFrame. Usually, the
reason of this bug is that the format of tmpFrame is
not AV_SAMPLE_FMT_FLTP. But as it shows in the picture followed, the
format is 8, which is the value of AV_SAMPLE_FMT_FLTP. So are there any other
reasons causing this bug?
Sorry to bother you. Thanks for your help.
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".