<html><head></head><body><div class="ydp37884b17yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div></div>
        <div><br></div><div dir="ltr" data-setdir="false">Forgot to mention - Same application works fine on 16.04 with ffmpeg 3.2.4. There hw decoder APIs used are different though. There we referred ffmpeg_vaapi.c.  We couldn't use the same when we moved to 20.04 as we had to upgrade to  ffmpeg 4.3.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" data-setdir="false">Latha<br></div>
        
        </div><div id="yahoo_quoted_8254258977" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Friday, 19 November, 2021, 09:10:39 am IST, Latha Prabhu via Libav-user <libav-user@ffmpeg.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv3510387152"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;" class="yiv3510387152yahoo-style-wrap"><div dir="ltr">Dear Sir/Madama,</div><div dir="ltr">I'm using ffmpeg 4.3.1 on Ubuntu 20.04 system. I stream video from different cameras in multi layout. With software decoding it works fine. When I use hardware decoding (by referring <span>vaapi_transcode.c it works initially. If I keep on changing the layout which closes and opens the decoder, it crashes with error </span> <span>-542398533. I figured out that it is <span>generic error in an external library</span></span>.</div><div dir="ltr">Looks like some issue with continuous decoder open/close operation. <br></div><div dir="ltr"><br></div><div dir="ltr"><span></span><span><span>AVCodecContext is created using </span>avcodec_alloc_context3 and while closing <span>avcodec_free_context() and <span>av_buffer_unref() is used.</span></span></span></div><div><br></div><div dir="ltr">Am I missing anything? Help in this regard will be appreciated.</div><div dir="ltr"><br></div><div dir="ltr">Thank You<br></div><div dir="ltr"><span><span><span>Latha</span></span></span><br></div></div></div></div>_______________________________________________<br>Libav-user mailing list<br><a ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br><a href="https://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br><br>To unsubscribe, visit link above, or email<br><a ymailto="mailto:libav-user-request@ffmpeg.org" href="mailto:libav-user-request@ffmpeg.org">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br></div>
            </div>
        </div></body></html>