<div dir="auto">Are you using any queue for avpackets and avframe..?<div dir="auto"><br></div></div>