On 08.04.2026 08:20, Khanh Hoang via Libav-user wrote:
I am writing a program using ffmpeg API for decoding and during my attempts to get Android's MediaCodec hardware decoder to work, I saw that it required several calls to avcodec_receive_frame before avcodec_send_packet would function again. This is the only decoder I've seen with this behavior; I was wondering if there is a known list of other decoders that exhibit this, preferably ones that can run cross- platform so this functionality can be easily tested for everyone. The API docs mention some audio decoders do this but don't specify which.
Keep in mind, that behaviour is not part of the API.So your code should work no matter what, since de/encoders are free to change their behaviour here at any time.
Send a packet, then exhaust output frames, repeat.
OpenPGP_0xD85AAA6874B7507E.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Libav-user mailing list -- [email protected] To unsubscribe send an email to [email protected]
