You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short: all (or most) codecs has "delay": count of frames/packet that should be pushed to the codec before first packet/frame received. Obviously, codec context has some queue. So, when pipeline restarts, you must flush this queue by sending some special data.
I have a simple app with this decoding method:
I use this method to store video clip but there are a few frames in the video clip with errors or 'miss frames' from previous clip.
avcodec_receive_frame(avctx, frame); - returns code '-11' that stands for 'other negative values: legitimate decoding errors'. What the 'other negative values' are?
The text was updated successfully, but these errors were encountered: