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 
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to