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
<[email protected]> 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
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".