Closed Coloryr closed 2 months ago
如果只是单一编码或者解码没这个问题,而且这个问题是概率发生
问题发生在avcodec_receive_frame
Not reproducible via FFmpeg CLI transcoding. More information is needed to locate which line in FFmpeg is throwing this error AVERROR_BUG
. There's indeed one in rkmppdec.c
but it is used as an assertion.
The problem cannot be reproduced through the CLI. My guess is that in the downstream application, the encoder takes up too many slots in the decoder buffer pool and the decoder is stuck.