Opened 13 years ago

Closed 10 years ago

#744 closed defect (fixed)

tweak i263 pb-frames support to eliminate graphic corruption

Reported by: ami_stuff Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: h263i
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

C:\>ffmpeg -i i263_pbframes.avi out.avi
ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 12 2011 13:50:00 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 43. 0 / 53. 43. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mp3 @ 020C9E00] Header missing
Input #0, avi, from 'i263_pbframes.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 761 kb/s
    Stream #0:0: Video: h263i (I263 / 0x33363249), yuv420p, 320x240, 23.97 tbr,
23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb
/s
w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.24.0
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb
/s
Stream mapping:
  Stream #0:0 -> #0:0 (h263i -> mpeg4)
  Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
Press [q] to stop, [?] for help
[mp3 @ 020C9E00] Header missing
Error while decoding stream #0:1
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
frame=   35 fps=  0 q=2.5 size=     123kB time=00:00:02.79 bitrate= 359.9kbits/s
Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
frame=   79 fps=  0 q=5.1 size=     286kB time=00:00:06.45 bitrate= 363.5kbits/s
Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] cbpc damaged at 0 0
[h263i @ 020C9320] Error at MB: 0
[h263i @ 020C9320] concealing 300 DC, 300 AC, 300 MV errors
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
frame=  120 fps= 80 q=3.0 size=     406kB time=00:00:09.76 bitrate= 340.8kbits/s
Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[mp3 @ 020C9E00] incomplete frame
Error while decoding stream #0:1
frame=  153 fps= 80 q=2.8 Lsize=     512kB time=00:00:12.61 bitrate= 332.2kbits/
s
video:286kB audio:197kB global headers:0kB muxing overhead 5.832231%

Attachments (1)

i263_pbframes.avi (1.1 MB ) - added by ami_stuff 13 years ago.

Download all attachments as: .zip

Change History (7)

by ami_stuff, 13 years ago

Attachment: i263_pbframes.avi added

comment:1 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavcodec
Keywords: h263i added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Additional samples in http://samples.multimedia.cx/A-codecs/IMC/
Not a regression, also reproducible with c978997a.

comment:2 by reimar, 13 years ago

None of the files in A-codecs/IMC show relevant corruption.
Are you sure the file is supposed to look better? A losslessly compressed reference of how it should decode would probably help to figure it out, because I don't think the error messages should have much to do with what the actual issue is.

comment:3 by reimar, 13 years ago

Ah, I see now. We just throw away the PB motion vectors, see libavcodec/ituh263dec.c:836.
See the two ff_h263_decode_motion that do not get their results assigned anywhere.

comment:4 by Carl Eugen Hoyos, 12 years ago

The artefacts were fixed by Michael, ffmpeg is still too verbose for the sample.

comment:5 by Carl Eugen Hoyos, 12 years ago

Priority: normalminor

comment:6 by Carl Eugen Hoyos, 10 years ago

Resolution: fixed
Status: openclosed

Fixed by Dirk Ausserhaus since 47c8d1e1

Note: See TracTickets for help on using tickets.