[Libav-user] av_hwdevice_ctx_create() returns generic error in an external library (-542398533 )

Latha Prabhu lathavprabhu at yahoo.com
Fri Nov 19 08:25:09 EET 2021


 
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.
Thanks,Latha
    On Friday, 19 November, 2021, 09:10:39 am IST, Latha Prabhu via Libav-user <libav-user at ffmpeg.org> wrote:  
 
 Dear Sir/Madama,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 vaapi_transcode.c it works initially. If I keep on changing the layout which closes and opens the decoder, it crashes with error  -542398533. I figured out that it is generic error in an external library.Looks like some issue with continuous decoder open/close operation. 

AVCodecContext is created using avcodec_alloc_context3 and while closing avcodec_free_context() and av_buffer_unref() is used.
Am I missing anything? Help in this regard will be appreciated.
Thank You
Latha
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
libav-user-request at ffmpeg.org with subject "unsubscribe".
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20211119/20d68165/attachment.htm>


More information about the Libav-user mailing list