[FFmpeg-user] HEVC decoding starts at avcodec_send_packet() or avcodec_receive_frame()

m.kamalasubha m.kamalasubha m.kamalasubha at gmail.com
Wed Feb 12 16:06:25 EET 2025


Description:
I am currently analyzing ffmpeg hevc decoding process. from ffmpeg_dec.c,
packet_decode() function calls both  avcodec_send_packet() and
then avcodec_receive_frame() functions. When analyzing the internals, both
calls decode_receive_frame_internal() function(decode.c). Where actual
decoding happens (i.e) whether in avcodec_send_packet() or
avcodec_receive_frame()?

Current setup:
Ubuntu 20.04

Thansk in advance


More information about the ffmpeg-user mailing list