[Libav-user] Getting error concealment stats

Sylvain Fabre sylvain at lahiette.com
Fri Jan 23 18:51:38 CET 2015


My application is decoding a H264 stream caming from an MPTS. From time to time, the stream has errors and i can see such message in the  logs : 

...
[h264 @ 0x7ff187e8ea20] Cannot use next picture in error concealment
[h264 @ 0x7ff187e8ea20] concealing 625 DC, 625 AC, 625 MV errors in P frame
[h264 @ 0x7ff187e8ea20] Cannot use next picture in error concealment
[h264 @ 0x7ff187e8ea20] concealing 802 DC, 802 AC, 802 MV errors in P frame
[h264 @ 0x7ff187e8ea20] Cannot use next picture in error concealment
[h264 @ 0x7ff187e8ea20] concealing 968 DC, 968 AC, 968 MV errors in P frame
[h264 @ 0x7ff187e8ea20] Cannot use next picture in error concealment
[h264 @ 0x7ff187e8ea20] concealing 682 DC, 682 AC, 682 MV errors in P frame
...

The avcodec_decode_video2() always returns a positive value, hence i am not able to detect such errors in the stream from the client application.
What is the way to get the error concealment statistics at the API level ?

Thanks, SFA 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150123/8603db9e/attachment.html>


More information about the Libav-user mailing list