<HTML><BODY><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;"><div id=""><div class="js-helper js-readmsg-msg"><div><div id="style_16614002180761107307_BODY"><div class="cl_448398"><div><div>So, may be you can port ideas from encoder into decoder?</div></div></div></div></div></div></div></blockquote><div> </div><div>I was thinking of just making separate threads for avcodec_send_packet and avcodec_receive_frame, changing the ffmpeg source code is too difficult for me</div><div> </div><div>or try to use it on nanopi (<b style="color: rgb(51, 51, 51); font-family: "YS Text", Arial, Helvetica, "Arial Unicode MS", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Allwinner</b><span style="color: rgb(51, 51, 51); font-family: "YS Text", Arial, Helvetica, "Arial Unicode MS", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span> </span></span><b style="color: rgb(51, 51, 51); font-family: "YS Text", Arial, Helvetica, "Arial Unicode MS", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">H</b><b style="color: rgb(51, 51, 51); font-family: "YS Text", Arial, Helvetica, "Arial Unicode MS", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">3</b>)</div><div><a href="https://trac.ffmpeg.org/ticket/7355">https://trac.ffmpeg.org/ticket/7355</a></div></BODY></HTML>