Opened 4 years ago

Closed 4 years ago

#1076 closed defect (fixed)

mpeg4v2 enc: corrupted output with iff ilbm (ham6) input

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

Description

-vcodec msmpeg4 works ok

C:\>ffmpeg -i 1.iff -vcodec msmpeg4v2 out_xx.avi
ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  7 2012 00:18:03 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. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
[IFF @ 02159BE0] Estimating duration from bitrate, this may be inaccurate
Input #0, IFF, from '1.iff':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: iff_byterun1 (ILBM / 0x4D424C49), rgba, 320x256, SAR 1:6
4 DAR 5:256, 90k tbr, 90k tbn, 90k tbc
Incompatible pixel format 'rgba' for codec 'msmpeg4v2', auto-selecting format 'y
uv420p'
[buffer @ 02161F40] w:320 h:256 pixfmt:rgba tb:1/1000000 sar:1/64 sws_param:
[buffersink @ 02161420] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 021619E0] w:320 h:256 fmt:rgba -> w:320 h:256 fmt:yuv420p flags:0x4
Output #0, avi, to 'out_xx.avi':
  Metadata:
    ISFT            : Lavf54.2.100
    Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 320x256 [SAR 1:6
4 DAR 5:256], q=2-31, 200 kb/s, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (iff_byterun1 -> msmpeg4v2)
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=3.0 Lsize=      16kB time=00:00:00.00 bitrate=11829818.2kb
its/s
video:10kB audio:0kB global headers:0kB muxing overhead 55.150706%
C:\>ffmpeg -i out_xx.avi out.mpg
ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  7 2012 00:18:03 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. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'out_xx.avi':
  Metadata:
    encoder         : Lavf54.2.100
  Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s
    Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 320x256, SAR 1:6
4 DAR 5:256, 90k tbr, 90k tbn, 90k tbc
w:320 h:256 pixfmt:yuv420p tb:1/1000000 sar:1/64 sws_param:
[mpeg @ 0215A980] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'out.mpg':
  Metadata:
    encoder         : Lavf54.2.100
    Stream #0:0: Video: mpeg1video, yuv420p, 320x256 [SAR 1:64 DAR 5:256], q=2-3
1, 200 kb/s, 90k tbn, 60 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (msmpeg4v2 -> mpeg1video)
Press [q] to stop, [?] for help
[msmpeg4v2 @ 0215A0E0] ignoring overflow at 19 15
[msmpeg4v2 @ 0215A0E0] overreading 6 bits
[msmpeg4v2 @ 0215A0E0] concealing 320 DC, 320 AC, 320 MV errors
frame=    1 fps=  0 q=1.6 Lsize=       2kB time=00:00:00.01 bitrate= 983.0kbits/
s
video:1kB audio:0kB global headers:0kB muxing overhead 66.098946%

Attachments (1)

1.iff (58.2 KB) - added by ami_stuff 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by ami_stuff

comment:1 Changed 4 years ago by ami_stuff

The same problem with "-vcodec wmv1".

comment:2 Changed 4 years ago by cehoyos

  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:3 Changed 4 years ago by michael

i cant reproduce this, does valgrind show something for you ? is it x86 or x86-64 ?

comment:4 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords msmpeg4 added
  • Resolution set to fixed
  • Status changed from open to closed

Fixed in 9e938d2.

Note: See TracTickets for help on using tickets.