[FFmpeg-user] Catching all error warnings via ffprobe

Kieran O Leary kieran.o.leary at gmail.com
Wed Jun 24 13:11:34 EEST 2020


Hi,

I'm trying to catch all error warnings via JSON ffprobe output, but only
some of the errors are making their way through. The errors about ac-tex
damage and MVs not available end up in the JSON, but I also want to get
what I assume is an mp2 header missing error that you can see further down
- [mp2 @ 0000025cadd44fc0] Header missing .
What can I add to my command to get these other errors?

Here's a snippet of the JSON output showing the error:
"logs": [
                {
                    "context": "mpeg2video",
                    "level": 16,
                    "category": 6,
                    "message": "[mpeg2video @ 0000025cadd438c0] ac-tex
damaged at 34 30"
                },
                {
                    "context": "mpeg2video",
                    "level": 16,
                    "category": 6,
                    "message": "[mpeg2video @ 0000025cadd438c0] Warning MVs
not available"

ANd here's my command - normally I just use -show_frames but I also added
format and streams just to see if the info might show up there.

ffprobe -sexagesimal E:\DV_batches\IFI_Batch_10\MV8805\MV8805.m2t -show_log
16 -show_frames -show_format -show_streams -of json  > outout.json
ffprobe version N-96643-g2942b00285-g2383021a7a+1 Copyright (c) 2007-2020
the FFmpeg developers
  built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
  configuration:  --disable-autodetect --enable-amf --enable-bzlib
--enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv
--enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec
--enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libx264 --enable-libdav1d --disable-debug
--enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype
--enable-libmfx --enable-libmysofa --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack
--enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine
--enable-gpl --enable-avisynth --enable-libxvid --enable-libaom
--enable-libopenmpt --enable-version3 --enable-openssl
--extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++
--extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --enable-nonfree
  libavutil      56. 39.100 / 56. 39.100
  libavcodec     58. 67.101 / 58. 67.101
  libavformat    58. 37.100 / 58. 37.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 74.100 /  7. 74.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[mpeg2video @ 0000025cadd14480] Invalid frame dimensions 0x0.
    Last message repeated 1 times
[mpegts @ 0000025cadd13580] PES packet size mismatch
[mpegts @ 0000025cadd13580] Packet corrupt (stream = 1, dts = 314015040).
[mpegts @ 0000025cadd13580] Could not find codec parameters for stream 2
(Unknown: none ([160][0][0][0] / 0x00A0)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0000025cadd13580] Could not find codec parameters for stream 3
(Unknown: none ([161][0][0][0] / 0x00A1)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from 'E:\DV_batches\IFI_Batch_10\MV8805\MV8805.m2t':
  Duration: 00:58:08.00, start: 1.280000, bitrate: 26120 kb/s
  Program 100
    Stream #0:0[0x810]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25
fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, fltp, 384 kb/s
    Stream #0:2[0x815]: Unknown: none ([160][0][0][0] / 0x00A0)
    Stream #0:3[0x811]: Unknown: none ([161][0][0][0] / 0x00A1)
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
[mpegts @ 0000025cadd13580] Packet corrupt (stream = 0, dts = 166788000).
[mpeg2video @ 0000025cadd438c0] ac-tex damaged at 8 3
[mpeg2video @ 0000025cadd438c0] Warning MVs not available
[mpeg2video @ 0000025cadd438c0] concealing 5850 DC, 5850 AC, 5850 MV errors
in I frame
[mpegts @ 0000025cadd13580] Packet corrupt (stream = 0, dts = 203216400).
[mpeg2video @ 0000025cadd438c0] ac-tex damaged at 41 57
[mpeg2video @ 0000025cadd438c0] Warning MVs not available
[mpeg2video @ 0000025cadd438c0] concealing 990 DC, 990 AC, 990 MV errors in
P frame
[mpegts @ 0000025cadd13580] PES packet size mismatch
[mpegts @ 0000025cadd13580] Packet corrupt (stream = 1, dts = 203200560).
[mp2 @ 0000025cadd44fc0] Header missing
[mpeg2video @ 0000025cadd438c0] ac-tex damaged at 7 55
[mpeg2video @ 0000025cadd438c0] Warning MVs not available
[mpeg2video @ 0000025cadd438c0] concealing 1170 DC, 1170 AC, 1170 MV errors
in B frame
[mpegts @ 0000025cadd13580] PES packet size mismatch
[mpegts @ 0000025cadd13580] Packet corrupt (stream = 1, dts = 314015040).
[mpeg2video @ 0000025cadd438c0] ac-tex damaged at 34 30
[mpeg2video @ 0000025cadd438c0] Warning MVs not available
[mpeg2video @ 0000025cadd438c0] concealing 3420 DC, 3420 AC, 3420 MV errors
in B frame


More information about the ffmpeg-user mailing list