[FFmpeg-user] mpeg2video errors

dan dandenson at gmail.com
Sat Jan 2 20:14:03 EET 2021


Hello all, I'm getting a number of mpeg2 errors
My encode:
ffmpeg -hwaccel qsv -i http://10.39.40.173:5004/auto/v2.1 -c:v
hevc_qsv -c:a aac -b:a 64k -profile:v main -global_quality 30 -g 48
-keyint_min 48 -sc_threshold 0 -hls_time 2 -hls_list_size 8
-hls_segment_type mpegts -hls_flags delete_segments
-hls_segment_filename video_%03d.ts video.m3u8

i've tried w/o -hwaccel and also using vaapi and I get these same
errors.  This same stream plays very happily on VLC and mplayer and no
errors show up in the logs.

Source is an HDHomeRun Quadro.  This manifests by the encode having
more and more errors over time to the point that the output doesn't
play and there are "non-monotonous DTS in output stream 0:1" errors
(sorry, takes 10 hours and I didn't copy that output)

This seems like an ffmpeg issue but I don't know where to look next.

ubuntu
ffmpeg version 4.3.1-4ubuntu1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10 (Ubuntu 10.2.0-9ubuntu2)


[mpeg2video @ 0x55ff855da480] ac-tex damaged at 0 63
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 0 64
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 0 65
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 0 66
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 0 67
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 14 46
[mpeg2video @ 0x55ff855da480] slice mismatch
[mpeg2video @ 0x55ff855da480] 00 motion_type at 2 59
[mpeg2video @ 0x55ff855da480] 00 motion_type at 7 37
[mpeg2video @ 0x55ff855da480] 00 motion_type at 27 38
[mpeg2video @ 0x55ff855da480] 00 motion_type at 11 47
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 7 27
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 0 28
[mpeg2video @ 0x55ff855da480] 00 motion_type at 6 48
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 15 39
[mpeg2video @ 0x55ff855da480] Invalid mb type in P-frame at 5 49
[mpeg2video @ 0x55ff855da480] 00 motion_type at 6 50
[mpeg2video @ 0x55ff855da480] Invalid mb type in P-frame at 3 51
[mpeg2video @ 0x55ff855da480] 00 motion_type at 1 40
[mpeg2video @ 0x55ff855da480] ac-tex damaged at 16 52
[mpeg2video @ 0x55ff855da480] 00 motion_type at 8 41
[mpeg2video @ 0x55ff855da480] 00 motion_type at 4 42
[mpeg2video @ 0x55ff855da480] 00 motion_type at 9 43
[mpeg2video @ 0x55ff855da480] invalid cbp -1 at 1 44
[mpeg2video @ 0x55ff855da480] Warning MVs not available


[mpeg2video @ 0x55ff855da480] ac-tex damaged at 76 53bitrate=N/A
dup=100 drop=0 speed=1.01x
[mpeg2video @ 0x55ff855da480] Warning MVs not available
[mpeg2video @ 0x55ff855da480] concealing 693 DC, 693 AC, 693 MV errors
in I frame

[mpegts @ 0x55ff85593300] Packet corrupt (stream = 0, dts =
4179746053). drop=0 speed=1.01x
[mpeg2video @ 0x55ff855da480] slice below image (69 >= 68)
Error while decoding stream #0:0: Invalid data found when processing input


More information about the ffmpeg-user mailing list