[FFmpeg-user] What do we do with the packet of video frame?

whoami Jils get2jils at gmail.com
Tue Feb 18 08:58:55 CET 2014


I often confused with what to deal with packets that are received from
av_read_frame ().

What do we can do with this packet?  As per my understanding packet is part
of the frame with encoded.   avcodec_decode_video2 () does decoding and
internally copies to the back buffer, which can be used to render to UI.

Reference: dranger  http://dranger.com/ffmpeg/


More information about the ffmpeg-user mailing list