[issue2491] MPEG2 Identified as H263

2011-01-05 Thread Shehzad Salim

New submission from Shehzad Salim shehzadsa...@gmail.com:

Hi

MPEG2 media file is detected as H263

File is playout correctly through VLC without any problem but when played with
FFmpeg it is detecting it as H263, thus output is not proper and lot's of error,
which are attached in file.

Sample Media File is upload at 
/MPlayer/incoming/MPEG2_Identified_As_H263/MPEG2 Identified As H263.mpg

Thanks
Shehzad Salim

--
files: MPEG2 Identified As H263.txt
messages: 13218
priority: normal
status: new
substatus: new
title: MPEG2 Identified as H263
type: bug


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2491
Hi

Actual file is mpeg2 and played by VLC without any problem but when played with 
FFmpeg it is detecting it as H263 and lot's of errors as below


ffmpeg-r26207-swscale-r32676-mingw32-static\bin\ffmpeg.exe -i MPEG2 
Identified As H263.mpg AA65144W.avi
FFmpeg version SVN-r26207, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  4 2011 04:07:33 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg
 --enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb
--enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect -
-enable-libxvid --enable-libx264 --enable-librtmp --extra-libs='-lrtmp -lpolarss
l -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth --enable-w32threads --
cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack

  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.101. 0 / 52.101. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
[h263 @ 01a2d5c0] H263 SAC not supported
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] H263 SAC not supported
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] H263 SAC not supported
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] H263 SAC not supported
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] Bad marker
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] H263 SAC not supported
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] Bad H263 id
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] Bad marker
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] Bad H263 id
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] Bad H263 id
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] Bad marker
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] Bad H263 id
[h263 @ 01a2d5c0] header damaged
Last message repeated 1 times
[h263 @ 01a2d5c0] Bad marker
[h263 @ 01a2d5c0] header damaged
[h263 @ 01a2d5c0] warning: first frame is no keyframe
[h263 @ 01a2d5c0] illegal ac vlc code at 1x0
[h263 @ 01a2d5c0] Error at MB: 1
[h263 @ 01a2d5c0] illegal ac vlc code at 9x5
[h263 @ 01a2d5c0] Error at MB: 69
[h263 @ 01a2d5c0] Error at MB: 77
[h263 @ 01a2d5c0] illegal ac vlc code at 4x3
[h263 @ 01a2d5c0] Error at MB: 40
[h263 @ 01a2d5c0] illegal ac vlc code at 8x5
[h263 @ 01a2d5c0] Error at MB: 68
[h263 @ 01a2d5c0] illegal dc 128 at 7 5
[h263 @ 01a2d5c0] illegal dc 0 at 1 6
Last message repeated 1 times
[h263 @ 01a2d5c0] illegal ac vlc code at 1x6
[h263 @ 01a2d5c0] Error at MB: 73
[h263 @ 01a2d5c0] illegal ac vlc code at 1x4
[h263 @ 01a2d5c0] Error at MB: 49
[h263 @ 01a2d5c0] run overflow at 6x4 i:0
[h263 @ 01a2d5c0] Error at MB: 54
[h263 @ 01a2d5c0] Error at MB: 50
[h263 @ 01a2d5c0] illegal ac vlc code at 5x5
[h263 @ 01a2d5c0] Error at MB: 65
[h263 @ 01a2d5c0] Error at MB: 25
[h263 @ 01a2d5c0] illegal ac vlc code at 1x0
[h263 @ 01a2d5c0] Error at MB: 1
[h263 @ 01a2d5c0] illegal ac vlc code at 1x0
[h263 @ 01a2d5c0] Error at MB: 1
[h263 @ 01a2d5c0] illegal ac vlc code at 2x0
[h263 @ 01a2d5c0] Error at MB: 2
[h263 @ 01a2d5c0] illegal ac vlc code at 7x0
[h263 @ 01a2d5c0] Error at MB: 7
[h263 @ 01a2d5c0] run overflow at 4x0 i:0
[h263 @ 01a2d5c0] Error at MB: 4
[h263 @ 01a2d5c0] illegal ac vlc code at 1x0
[h263 @ 01a2d5c0] Error at MB: 1
[h263 @ 01a2d5c0] run overflow at 5x0 i:0
[h263 @ 01a2d5c0] Error at MB: 5
[h263 @ 01a2d5c0] illegal ac vlc code at 4x0
[h263 @ 01a2d5c0] Error at MB: 4
[h263 @ 01a2d5c0] Error at MB: 105
[h263 @ 01a2d5c0] Error at MB: 22
[h263 @ 01a2d5c0] illegal dc 128 at 4 1
[h263 @ 01a2d5c0] run overflow at 8x1 i:0
[h263 @ 01a2d5c0] Error at MB: 20
[h263 @ 01a2d5c0] run overflow at 4x2 i:0
[h263 @ 01a2d5c0] Error at MB: 28
[h263 @ 01a2d5c0] Error at MB: 18
[h263 @ 01a2d5c0] illegal ac vlc code at 1x1
[h263 @ 01a2d5c0] Error at MB: 13
[h263 @ 01a2d5c0] concealing 99 DC, 99 AC, 99 MV errors
[h263 @ 01a2c340] Estimating duration from bitrate, this may be inaccurate
Input #0, h263, from 'MPEG2 Identified As H263.mpg':
  Duration: N/A, bitrate: N/A
Stream #0.0: Video: h263, yuv420p, 176x144 

[issue2491] MPEG2 Identified as H263

2011-01-05 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Uncommented the av_log's in h263dec.c and mpeg.c:

ffmpeg -i MPEG2\ Identified\ As\ H263.mpg
FFmpeg version SVN-r26223, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  5 2011 14:28:21 with gcc 4.3.2 [gcc-4_3-branch revision 141291]
  configuration:
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.102. 0 / 52.102. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
h263_probe: psc:0 invalid:0 res_change:0
1 0 1 1 0 0 len:2048
h263_probe: psc:2 invalid:0 res_change:0
1 0 1 1 2 0 len:4096
h263_probe: psc:4 invalid:0 res_change:0(returns 50)
1 0 1 3 4 0 len:8192(returns 25)
[h263 @ 0x8bd6d70] H263 SAC not supported
[h263 @ 0x8bd6d70] header damaged
...

$ ffmpeg -f mpeg -i MPEG2\ Identified\ As\ H263.mpg
FFmpeg version SVN-r26223, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  5 2011 14:28:21 with gcc 4.3.2 [gcc-4_3-branch revision 141291]
  configuration:
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.102. 0 / 52.102. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
Input #0, mpeg, from 'MPEG2 Identified As H263.mpg':
  Duration: 00:00:34.96, start: 0.212033, bitrate: 8912 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR
16:9], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 1 channels, s16, 192 kb/s
Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, 1 channels, s16, 192 kb/s
Stream #0.3[0x1c2]: Audio: mp2, 48000 Hz, 1 channels, s16, 192 kb/s
Stream #0.4[0x1c3]: Audio: mp2, 48000 Hz, 1 channels, s16, 192 kb/s
At least one output file must be specified

--
status: new - open
substatus: new - reproduced
topic: +avformat


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2491



[issue2491] MPEG2 Identified as H263

2011-01-05 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

This is a duplicate of issue 2326: Regression since r19854 (see issue 1571).

--
priority: normal - important
status: open - closed
substatus: reproduced - duplicate
superseder: +MPEG2 decoding
topic: +regression


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2491