Opened 9 years ago
Last modified 9 years ago
#5243 open defect
MPEG1 decoding error
Reported by: | K.Y.H | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | mpeg2video |
Cc: | Michael Niedermayer | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Old mpeg1 file decoding error...
Windows builtin decoder is fine.
Sample is....
https://www.dropbox.com/s/xsu1dt5zn31jpzs/FBOW05XX_broken.rar?dl=0
Error message is...
MPEG motion vector out of boundary (314 217)
MPEG motion vector out of boundary (330 217)
ac-tex damaged at 16 12
MPEG motion vector out of boundary (315 130)
MPEG motion vector out of boundary (315 124)
end mismatch left=679 149A62
Header missing
MPEG motion vector out of boundary (311 224)
MPEG motion vector out of boundary (327 224)
MPEG motion vector out of boundary (352 243)
MPEG motion vector out of boundary (368 243)
MPEG motion vector out of boundary (384 243)
MPEG motion vector out of boundary (400 243)
end mismatch left=222 4A4451
Warning MVs not available
concealing 60 DC, 60 AC, 60 MV errors in B frame
slice mismatch
MPEG motion vector out of boundary (-5 82)
mb incr damaged
MPEG motion vector out of boundary (306 78)
MPEG motion vector out of boundary (33023 32863)
MPEG motion vector out of boundary (33023 32863)
mb incr damaged
MPEG motion vector out of boundary (270 32863)
MPEG motion vector out of boundary (286 32863)
MPEG motion vector out of boundary (302 32863)
ac-tex damaged at 0 7
MPEG motion vector out of boundary (-2 129)
MPEG motion vector out of boundary (-2 145)
MPEG motion vector out of boundary (-2 160)
....
....
Attachments (2)
Change History (8)
by , 9 years ago
Attachment: | FBOW05XX_broken.MPG added |
---|
comment:1 by , 9 years ago
Please provide an ffmpeg command line that allows to reproduce the issue together with the complete, uncut console output to make this a valid ticket.
comment:2 by , 9 years ago
ok...
$ ffmpeg -i FBOW05XX_broken.MPG 123.avi
ffmpeg version 3.0.git Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration:
libavutil 55. 18.100 / 55. 18.100
libavcodec 57. 24.103 / 57. 24.103
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 32.100 / 6. 32.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
Input #0, mpeg, from 'FBOW05XX_broken.MPG':
Duration: 00:00:04.42, start: 0.447067, bitrate: 1258 kb/s
Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p(tv), 320x240 [SAR 1:1 DAR 4:3], 1018 kb/s, 12 fps, 12 tbr, 90k tbn, 12 tbc
Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 192 kb/s
File '123.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to '123.avi':
Metadata:
ISFT : Lavf57.25.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 12 fps, 12 tbn, 12 tbc
Metadata:
encoder : Lavc57.24.103 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, fltp, 192 kb/s
Metadata:
encoder : Lavc57.24.103 ac3
Stream mapping:
Stream #0:0 -> #0:0 (mpeg1video (native) -> mpeg4 (native))
Stream #0:1 -> #0:1 (mp2 (native) -> ac3 (native))
Press [q] to stop, ? for help
[mpeg1video @ 025b8460] [mpeg1video @ 025b8460] ac-tex damaged at 16 12
end mismatch left=679 149A62
[mpeg1video @ 025b8460] Warning MVs not available
[mpeg1video @ 025b8460] concealing 60 DC, 60 AC, 60 MV errors in B frame
[mpeg1video @ 025b8460] [mpeg1video @ 025b8460] [mpeg1video @ 025b8460] [mpeg1video @ 025b8460] [mpeg1video @ 025b8460] end mismatch left=30 124BAC
mb incr damaged
[mpeg1video @ 025b8460] ac-tex damaged at 15 10
slice mismatch
ac-tex damaged at 19 8
mb incr damaged
[mpeg1video @ 025b8460] [mpeg1video @ 025b8460] [mpeg1video @ 025b8460] [mpeg1video @ 025b8460] end mismatch left=1619 6197B0
ac-tex damaged at 0 7
skip with previntra
mb incr damaged
[mpeg1video @ 025b8460] Warning MVs not available
[mpeg1video @ 025b8460] concealing 240 DC, 240 AC, 240 MV errors in B frame
Past duration 0.798790 too large
[mpeg1video @ 025b8460] [mpeg1video @ 025b8460] [mpeg1video @ 025b8460] [mpeg1video @ 025b8460] invalid mb type in P Frame at 0 14
mb incr damaged
invalid mb type in P Frame at 17 9
ac-tex damaged at 16 3
[mpeg1video @ 025b8460] Warning MVs not available
[mpeg1video @ 025b8460] concealing 80 DC, 80 AC, 80 MV errors in P frame
Last message repeated 3 times
mb incr damagede repeated 2 timesessage repeated 1 times
Last message repeated 1 times
..
..
..
comment:4 by , 9 years ago
Keywords: | mpeg2video added; mpeg1 removed |
---|---|
Reproduced by developer: | set |
Status: | new → open |
libmpeg12 shows (with MPlayer) artefacts, WMP 11 works fine, WMP since version 12 shows similar artefacts as FFmpeg.
comment:5 by , 9 years ago
next step is to identify if this is a demuxer or decoder issue
does WMP11 play the extracted ES stream ? (or if it doesnt support ES at all, the repackaged PS) ?
also if someone tries that, please upload the ES stream used for testing
comment:6 by , 9 years ago
I attached an elemantary stream made with ffmpeg -i FBOW05XX_broken.MPG -vcodec copy -f mpeg1video FBOW05XX_broken_es.MPG
It shows the same behaviour wrt WMP as the original file: Shows artefacts with WMP 12, plays fine with older versions (I tested WMP 9).
by , 9 years ago
Attachment: | FBOW05XX_broken_es.MPG added |
---|
mpeg1 error