Opened 7 years ago

Closed 6 years ago

#925 closed defect (fixed)

lead h263 - reject files encoded in "high compression" / rtp modes

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

Description

I attache also "normal" file for comparison.

C:\>ffmpeg -i lead_h263_ehc.avi out.avi
ffmpeg version N-36890-g67f5650 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 16 2012 21:57:13 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. 34.100 / 51. 34.100
  libavcodec     53. 56.105 / 53. 56.105
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.100 /  2. 59.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[avi @ 020F2320] non-interleaved AVI
Input #0, avi, from 'lead_h263_ehc.avi':
  Duration: 00:00:03.00, start: 0.000000, bitrate: 143 kb/s
    Stream #0:0: Video: h263 (L263 / 0x3336324C), yuv420p, 720x480, 1 tbr, 1 tbn
, 1 tbc
[buffer @ 02101FA0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.30.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480, q=2-31, 200
 kb/s, 1 tbn, 1 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263 -> mpeg4)
Press [q] to stop, [?] for help
frame=    2 fps=  0 q=2.0 Lsize=      90kB time=00:00:03.00 bitrate= 246.1kbits/
s
video:85kB audio:0kB global headers:0kB muxing overhead 6.649102%
C:\>ffmpeg -i lead_h263_rtp.avi out.avi
ffmpeg version N-36890-g67f5650 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 16 2012 21:57:13 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. 34.100 / 51. 34.100
  libavcodec     53. 56.105 / 53. 56.105
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.100 /  2. 59.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[avi @ 020F2320] non-interleaved AVI
Input #0, avi, from 'lead_h263_rtp.avi':
  Duration: 00:00:03.00, start: 0.000000, bitrate: 218 kb/s
    Stream #0:0: Video: h263 (L263 / 0x3336324C), yuv420p, 720x480, 1 tbr, 1 tbn
, 1 tbc
w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.30.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480, q=2-31, 200
 kb/s, 1 tbn, 1 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263 -> mpeg4)
Press [q] to stop, [?] for help
[h263 @ 020FA3E0] illegal ac vlc code at 19x0
[h263 @ 020FA3E0] Error at MB: 19
[h263 @ 020FA3E0] I cbpy damaged at 0 24
[h263 @ 020FA3E0] Error at MB: 1104
[h263 @ 020FA3E0] illegal ac vlc code at 23x26
[h263 @ 020FA3E0] Error at MB: 1219
[h263 @ 020FA3E0] I cbpy damaged at 26 20
[h263 @ 020FA3E0] Error at MB: 946
[h263 @ 020FA3E0] illegal ac vlc code at 27x0
[h263 @ 020FA3E0] Error at MB: 27
[h263 @ 020FA3E0] illegal ac vlc code at 29x16
[h263 @ 020FA3E0] Error at MB: 765
[h263 @ 020FA3E0] illegal ac vlc code at 21x0
[h263 @ 020FA3E0] Error at MB: 21
[h263 @ 020FA3E0] I cbpy damaged at 1 10
[h263 @ 020FA3E0] Error at MB: 461
[h263 @ 020FA3E0] illegal ac vlc code at 25x14
[h263 @ 020FA3E0] Error at MB: 669
[h263 @ 020FA3E0] illegal ac vlc code at 20x8
[h263 @ 020FA3E0] Error at MB: 388
[h263 @ 020FA3E0] illegal ac vlc code at 18x14
[h263 @ 020FA3E0] Error at MB: 662
[h263 @ 020FA3E0] I cbpy damaged at 5 26
[h263 @ 020FA3E0] Error at MB: 1201
[h263 @ 020FA3E0] I cbpy damaged at 3 12
[h263 @ 020FA3E0] Error at MB: 555
[h263 @ 020FA3E0] illegal ac vlc code at 16x18
[h263 @ 020FA3E0] Error at MB: 844
[h263 @ 020FA3E0] I cbpy damaged at 0 2
[h263 @ 020FA3E0] Error at MB: 92
[h263 @ 020FA3E0] I cbpy damaged at 18 0
[h263 @ 020FA3E0] Error at MB: 18
[h263 @ 020FA3E0] illegal ac vlc code at 18x4
[h263 @ 020FA3E0] Error at MB: 202
[h263 @ 020FA3E0] illegal ac vlc code at 15x24
[h263 @ 020FA3E0] Error at MB: 1119
[h263 @ 020FA3E0] I cbpy damaged at 3 0
[h263 @ 020FA3E0] Error at MB: 3
[h263 @ 020FA3E0] I cbpy damaged at 3 0
[h263 @ 020FA3E0] Error at MB: 3
[h263 @ 020FA3E0] illegal ac vlc code at 25x10
[h263 @ 020FA3E0] Error at MB: 485
[h263 @ 020FA3E0] I cbpy damaged at 2 20
[h263 @ 020FA3E0] Error at MB: 922
[h263 @ 020FA3E0] illegal ac vlc code at 6x10
[h263 @ 020FA3E0] Error at MB: 466
[h263 @ 020FA3E0] illegal ac vlc code at 18x26
[h263 @ 020FA3E0] Error at MB: 1214
[h263 @ 020FA3E0] illegal ac vlc code at 18x6
[h263 @ 020FA3E0] Error at MB: 294
[h263 @ 020FA3E0] run overflow at 1x4 i:1
[h263 @ 020FA3E0] Error at MB: 185
[h263 @ 020FA3E0] illegal ac vlc code at 32x0
[h263 @ 020FA3E0] Error at MB: 32
[h263 @ 020FA3E0] illegal ac vlc code at 25x22
[h263 @ 020FA3E0] Error at MB: 1037
[h263 @ 020FA3E0] illegal ac vlc code at 25x10
[h263 @ 020FA3E0] Error at MB: 485
[h263 @ 020FA3E0] illegal ac vlc code at 29x10
[h263 @ 020FA3E0] Error at MB: 489
[h263 @ 020FA3E0] illegal ac vlc code at 30x16
[h263 @ 020FA3E0] Error at MB: 766
[h263 @ 020FA3E0] illegal ac vlc code at 3x4
[h263 @ 020FA3E0] Error at MB: 187
[h263 @ 020FA3E0] concealing 1350 DC, 1350 AC, 1350 MV errors
frame=    2 fps=  0 q=2.0 Lsize=       9kB time=00:00:03.00 bitrate=  25.9kbits/
s
video:4kB audio:0kB global headers:0kB muxing overhead 145.733097%

Attachments (5)

lead_h263.avi (78.9 KB) - added by ami_stuff 7 years ago.
lead_h263_ehc.avi (52.5 KB) - added by ami_stuff 7 years ago.
lead_h263_rtp.avi (80.0 KB) - added by ami_stuff 7 years ago.
lead_h263_osv.avi (323.1 KB) - added by ami_stuff 7 years ago.
lead_h263_osv_ehc.avi (209.0 KB) - added by ami_stuff 7 years ago.

Download all attachments as: .zip

Change History (11)

Changed 7 years ago by ami_stuff

Changed 7 years ago by ami_stuff

Changed 7 years ago by ami_stuff

comment:2 Changed 7 years ago by michael

The ehc file doesnt look so bad, is there still a problem with it ?

comment:3 follow-up: Changed 7 years ago by ami_stuff

The only problem with ehc is that the video is squeezed (height) compared to what I get from original codec (no such problem happens with sorenson output - see attached).

Changed 7 years ago by ami_stuff

Changed 7 years ago by ami_stuff

comment:4 Changed 7 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords h263 added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:5 in reply to: ↑ 3 Changed 6 years ago by ami_stuff

Replying to ami_stuff:

The only problem with ehc is that the video is squeezed (height) compared to what I get from original codec (no such problem happens with sorenson output - see attached).

This is another problem with aspect ratio:

C:\>ffmpeg -i lead_h263_ehc.avi -vcodec msmpeg4v2 out.avi

out.avi is displayed correctly by ffplay

comment:6 Changed 6 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.