[FFmpeg-user] Distorted output when encoding DVD as MP4, error message "ignoring pic cod ext after 0"

M v D mivdit at gmail.com
Sat Jun 20 12:28:19 EEST 2020


I'm trying to convert a number of DVDs to MP4. Some of them work, others
result in lots of error messages and distorted output. All of them play
correctly in VLC if I open the IFO file, but the ones that give distorted
output fail to play in DVD if I open the VOB file. I'm using the following
command:

ffmpeg -i 'concat:VTS_02_1.VOB|VTS_02_2.VOB|VTS_02_3.VOB|VTS_02_4.VOB'
out.mp4

What stands out to me is that this message is only present for the DVDs
that fail:

[mpeg2video @ 0x7fffcfcfc0c0] ignoring pic cod ext after 0

More output, including lots of error messages for each frame, is included
below.

Does anyone know what this means and how I can fix it? Thanks in advance
for any help!


------------------------------------------------------


ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/home/erik/packages
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
[mpeg2video @ 0x7fffcfcfc0c0] ignoring pic cod ext after 0
Input #0, mpeg, from
'concat:VTS_02_1.VOB|VTS_02_2.VOB|VTS_02_3.VOB|VTS_02_4.VOB':
  Duration: 00:00:05.98, start: 0.287267, bitrate: 4707454 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first),
720x576 [SAR 64:45 DAR 16:9], 8500 kb/s, 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:4[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:5[0x83]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:6[0x84]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:7[0x85]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:8[0x86]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video (native) -> mpeg4 (native))
  Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[ac3 @ 0x7fffcfd24f40] exponent 25 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[ac3 @ 0x7fffcfd24f40] expacc 127 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[aac @ 0x7fffcfd19240] Using a PCE to encode channel layout "5.1(side)"
[mpeg2video @ 0x7fffcfcff180] ignoring pic cod ext after 0
Error while decoding stream #0:2: Error number -16976906 occurred
[ac3 @ 0x7fffcfd24f40] expacc 125 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[ac3 @ 0x7fffcfd24f40] exponent -1 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
    Last message repeated 1 times
[mpeg2video @ 0x7fffcfcff180] warning: first frame is no keyframe
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 7 0
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 11 20
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 12 13
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 5 35
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 2 34
[mpeg2video @ 0x7fffcfcff180] Warning MVs not available
[mpeg2video @ 0x7fffcfcff180] concealing 1620 DC, 1620 AC, 1620 MV errors
in P frame
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 720x576 [SAR
64:45 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.54.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1(side),
fltp, 394 kb/s
    Metadata:
      encoder         : Lavc58.54.100 aac
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 3 0
[mpeg2video @ 0x7fffcfcff180] Invalid mb type in P-frame at 10 10
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 18 20
[mpeg2video @ 0x7fffcfcff180] Invalid mb type in P-frame at 13 35
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 33 31
[mpeg2video @ 0x7fffcfcff180] Warning MVs not available
[mpeg2video @ 0x7fffcfcff180] concealing 945 DC, 945 AC, 945 MV errors in P
frame
concat:VTS_02_1.VOB|VTS_02_2.VOB|VTS_02_3.VOB|VTS_02_4.VOB: corrupt decoded
frame in stream 1
[ac3 @ 0x7fffcfd24f40] exponent -1 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[ac3 @ 0x7fffcfd24f40] expacc 127 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 27 5
[mpeg2video @ 0x7fffcfcff180] skip with previntra
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 43 15
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 10 27
[mpeg2video @ 0x7fffcfcff180] Warning MVs not available
[mpeg2video @ 0x7fffcfcff180] concealing 900 DC, 900 AC, 900 MV errors in B
frame
concat:VTS_02_1.VOB|VTS_02_2.VOB|VTS_02_3.VOB|VTS_02_4.VOB: corrupt decoded
frame in stream 1
[mpeg2video @ 0x7fffcfcff180] ignoring pic cod ext after 0
concat:VTS_02_1.VOB|VTS_02_2.VOB|VTS_02_3.VOB|VTS_02_4.VOB: corrupt decoded
frame in stream 1
[ac3 @ 0x7fffcfd24f40] expacc 126 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[ac3 @ 0x7fffcfd24f40] exponent -1 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 2 8
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 14 29
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 43 26
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 18 22
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 11 3
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 13 15
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 15 33
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 31 35
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 6 3
[mpeg2video @ 0x7fffcfcff180] invalid cbp 0 at 0 4
[mpeg2video @ 0x7fffcfcff180] Invalid mb type in P-frame at 6 5
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 12 6
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 9 7
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 15 13
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 2 14
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 1 15
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 20 16
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 5 17
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 8 18
[mpeg2video @ 0x7fffcfcff180] Invalid mb type in P-frame at 12 24
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 8 25
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 6 26
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 1 27
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 43 30
[mpeg2video @ 0x7fffcfcff180] invalid cbp -1 at 13 30
[mpeg2video @ 0x7fffcfcff180] Invalid mb type in P-frame at 2 33
[mpeg2video @ 0x7fffcfcff180] ac-tex damaged at 25 34
[mpeg2video @ 0x7fffcfcff180] Warning MVs not available
[mpeg2video @ 0x7fffcfcff180] concealing 1305 DC, 1305 AC, 1305 MV errors
in P frame
[mpeg2video @ 0x7fffcfcff180] 00 motion_type at 28 4
[mpeg2video @ 0x7fffcfcff180] Warning MVs not available
[mpeg2video @ 0x7fffcfcff180] concealing 270 DC, 270 AC, 270 MV errors in B
frame
concat:VTS_02_1.VOB|VTS_02_2.VOB|VTS_02_3.VOB|VTS_02_4.VOB: corrupt decoded
frame in stream 1
    Last message repeated 1 times
[ac3 @ 0x7fffcfd24f40] exponent -2 is out-of-range
[ac3 @ 0x7fffcfd24f40] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred

(more of the same follows)


More information about the ffmpeg-user mailing list