Carl Eugen Hoyos <[email protected]> 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
libavcodec 52.102. 0 / 52.102. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.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
libavcodec 52.102. 0 / 52.102. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.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 <[email protected]>
<https://roundup.ffmpeg.org/issue2491>
________________________________________________