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

Peter B. pb at das-werkstatt.com
Wed Mar 22 21:31:14 EET 2017


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?



I'm grateful for any hints :D

Thank you in advance,
Peter B.







Here's the command:
// ------------------------------------------------------------
$ ffprobe -i input.ts -select_streams v:0 -show_frames
// ------------------------------------------------------------


Here's the console output:
(I've "compressed" a repeating error message though)

// ------------------------------------------------------------
ffprobe version 2.6.9 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr --extra-cflags='-g -O2
-fstack-protector-strong -Wformat -Werror=format-security '
--extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared
--enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis
--enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc
--enable-x11grab --enable-libgsm --enable-libtheora
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx
--enable-libschroedinger --disable-encoder=libschroedinger
--enable-version3 --enable-libopenjpeg --enable-librtmp
--enable-avfilter --enable-libfreetype --enable-libvo-aacenc
--disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus
--libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray
--enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl
--enable-libass --enable-libopus --enable-fontconfig --enable-libpulse
--disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2
--enable-libvidstab --enable-libzvbi --enable-avresample
--disable-htmlpages --disable-podpages --enable-libutvideo
--enable-libfdk-aac --enable-libx265 --enable-libiec61883 --enable-vaapi
--enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[aac @ 0x1308180] element type mismatch 1 != 0
[h264 @ 0x1308d00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x1308d00] decode_slice_header error
[h264 @ 0x1308d00] no frame!
[h264 @ 0x1308d00] non-existing PPS 0 referenced
    Last message repeated 1 times

// -----------------------------------
Above error repeats like 20+ times...
// -----------------------------------

Input #0, mpegts, from 'input.ts':
  Duration: 00:04:42.30, start: 427.090167, bitrate: 2377 kb/s
  Program 1
    Stream #0:0[0x101]: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F),
48000 Hz, stereo, fltp, 62 kb/s
    Stream #0:1[0x102]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1280x720, 30 fps, 29.97 tbr, 90k tbn, 60 tbc
    Stream #0:2[0x103]: Data: timed_id3 (ID3  / 0x20334449)
Unsupported codec with id 1414087731 for input stream 2
[h264 @ 0x1446440] Missing reference picture, default is 0
[h264 @ 0x148b6e0] Reinit context to 1056x608, pix_fmt: yuv420p
[mpegts @ 0x1304260] DTS 8589934592 < 8590832488 out of order
[mpegts @ 0x1304260] DTS 55209870 < 8592634286 out of order
[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






More information about the ffmpeg-user mailing list