[FFmpeg-user] ffprobe: frame position of error?

Dave Rice dave at dericed.com
Wed Mar 22 22:06:56 EET 2017

> On Mar 22, 2017, at 3:31 PM, Peter B. <pb at das-werkstatt.com> wrote:
> Hello :)
> I'm using ffprobe to analyze an MPEG-TS broadcast recording that has
> problems.
> ffprobe finds issues, but I can't seem to find out at what time position
> they are :(
> For example:
> ================
> [h264 @ 0x148b6e0] Reinit context to 1280x720, pix_fmt: yuv420p
> [h264 @ 0x148b6e0] error while decoding MB 0 27, bytestream -13
> [h264 @ 0x148b6e0] Cannot use next picture in error concealment
> [h264 @ 0x148b6e0] concealing 1489 DC, 1489 AC, 1489 MV errors in P frame
> How can I tell ffprobe to tell me the (frame/time-)position of that error?

There's a related patch in http://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195395.html <http://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195395.html> which would add a -show_log option so the decoder error logging would be contained such as <frame><logs><log/></logs></frames>. Otherwise I'd suggest decoding with the showinfo filter and then searching for the frame info prior to the error output.


Dave Rice

More information about the ffmpeg-user mailing list