Opened 4 years ago

Closed 4 years ago

#2553 closed defect (fixed)

vmd rle fails to decode

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

Description

attached file uses rle_unpack() and fails to decode

http://www1.datafilehost.com/d/d4f7b5f0

C:\>ffmpeg -i DEMOALL.VMD out.avi
ffmpeg version N-52941-g13cb6ed Copyright (c) 2000-2013 the FFmpeg developers
  built on May 10 2013 02:44:43 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 30.100 / 52. 30.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[vmd @ 0x1faf860] Estimating duration from bitrate, this may be inaccurate
Input #0, vmd, from 'DEMOALL.VMD':
  Duration: 00:05:23.41, start: 0.000000, bitrate: 352 kb/s
    Stream #0:0: Video: vmdvideo, pal8, 640x480, 12 tbr, 12 tbn, 12 tbc
    Stream #0:1: Audio: vmdaudio, 22050 Hz, mono, s16, 352 kb/s
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.4.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x480, q=2-31, 200
 kb/s, 12 tbn, 12 tbc
    Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 22050 Hz, mono,
s16p
Stream mapping:
  Stream #0:0 -> #0:0 (vmdvideo -> mpeg4)
  Stream #0:1 -> #0:1 (vmdaudio -> libmp3lame)
Press [q] to stop, [?] for help
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 9 times
frame=   19 fps=0.0 q=2.0 size=     119kB time=00:00:03.91 bitrate= 248.8kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 32 times
frame=   53 fps=0.0 q=2.0 size=     284kB time=00:00:06.81 bitrate= 341.7kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 30 times
frame=   85 fps= 57 q=1.6 size=     448kB time=00:00:09.40 bitrate= 389.9kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 29 times
frame=  116 fps= 58 q=2.0 size=     566kB time=00:00:12.48 bitrate= 371.4kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 30 times
frame=  148 fps= 59 q=2.3 size=     734kB time=00:00:15.15 bitrate= 396.8kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 31 times
frame=  181 fps= 60 q=2.5 size=     889kB time=00:00:18.07 bitrate= 402.9kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 30 times
frame=  213 fps= 61 q=6.5 size=     974kB time=00:00:21.00 bitrate= 379.8kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 29 times
frame=  244 fps= 61 q=15.5 size=    1066kB time=00:00:23.66 bitrate= 368.9kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 30 times
frame=  276 fps= 61 q=19.6 size=    1129kB time=00:00:26.33 bitrate= 351.2kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 29 times
frame=  307 fps= 61 q=23.3 size=    1194kB time=00:00:29.07 bitrate= 336.3kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 30 times
frame=  339 fps= 61 q=21.6 size=    1269kB time=00:00:31.81 bitrate= 326.8kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 31 times
frame=  372 fps= 62 q=6.2 size=    1327kB time=00:00:34.66 bitrate= 313.7kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 31 times
frame=  405 fps= 62 q=8.2 size=    1412kB time=00:00:37.40 bitrate= 309.2kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 30 times
frame=  437 fps= 62 q=23.3 size=    1507kB time=00:00:40.07 bitrate= 308.0kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 18 times
frame=  467 fps= 62 q=14.6 size=    1567kB time=00:00:42.57 bitrate= 301.5kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 24 times
frame=  499 fps= 62 q=20.6 size=    1640kB time=00:00:46.31 bitrate= 290.1kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 19 times
frame=  530 fps= 62 q=16.9 size=    1725kB time=00:00:49.81 bitrate= 283.7kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 25 times
frame=  559 fps= 62 q=10.2 size=    1819kB time=00:00:54.90 bitrate= 271.4kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 22 times
frame=  585 fps= 61 q=6.9 size=    1926kB time=00:00:59.06 bitrate= 267.1kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 14 times
frame=  601 fps= 60 q=7.5 size=    1991kB time=00:01:00.47 bitrate= 269.8kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 25 times
frame=  628 fps= 60 q=6.7 size=    2089kB time=00:01:02.72 bitrate= 272.9kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 15 times
frame=  645 fps= 59 q=7.7 size=    2134kB time=00:01:04.15 bitrate= 272.5kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 20 times
frame=  667 fps= 58 q=8.3 size=    2206kB time=00:01:05.98 bitrate= 273.9kbits/s
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 24 times
frame=  701 fps= 58 q=29.7 size=    2354kB time=00:01:08.80 bitrate= 280.2kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 23 times
frame=  726 fps= 58 q=31.0 size=    2445kB time=00:01:12.22 bitrate= 277.3kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 19 times
frame=  749 fps= 57 q=31.0 size=    2538kB time=00:01:14.55 bitrate= 278.9kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 24 times
frame=  775 fps= 57 q=31.0 size=    2642kB time=00:01:17.21 bitrate= 280.2kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 28 times
frame=  805 fps= 57 q=24.8 size=    2760kB time=00:01:19.88 bitrate= 283.0kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 25 times
frame=  836 fps= 58 q=31.0 size=    2869kB time=00:01:22.54 bitrate= 284.7kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 24 times
frame=  866 fps= 58 q=31.0 size=    2987kB time=00:01:25.05 bitrate= 287.7kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 24 times
frame=  895 fps= 58 q=31.0 size=    3087kB time=00:01:27.48 bitrate= 289.1kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 26 times
frame=  926 fps= 58 q=31.0 size=    3204kB time=00:01:30.22 bitrate= 290.9kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 28 times
frame=  956 fps= 58 q=31.0 size=    3309kB time=00:01:33.46 bitrate= 290.0kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 29 times
frame=  987 fps= 58 q=31.0 size=    3424kB time=00:01:36.05 bitrate= 292.0kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 27 times
frame= 1017 fps= 58 q=31.0 size=    3528kB time=00:01:38.79 bitrate= 292.6kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 25 times
frame= 1044 fps= 58 q=31.0 size=    3628kB time=00:01:42.55 bitrate= 289.8kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 24 times
frame= 1071 fps= 58 q=31.0 size=    3742kB time=00:01:45.63 bitrate= 290.2kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 28 times
frame= 1101 fps= 58 q=31.0 size=    3849kB time=00:01:48.22 bitrate= 291.3kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 28 times
frame= 1131 fps= 58 q=31.0 size=    3973kB time=00:01:51.04 bitrate= 293.1kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 27 times
frame= 1161 fps= 58 q=31.0 size=    4079kB time=00:01:54.05 bitrate= 293.0kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 26 times
frame= 1189 fps= 58 q=24.8 size=    4193kB time=00:01:56.37 bitrate= 295.2kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 26 times
frame= 1219 fps= 58 q=31.0 size=    4306kB time=00:01:59.22 bitrate= 295.9kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 24 times
frame= 1245 fps= 58 q=31.0 size=    4414kB time=00:02:05.12 bitrate= 289.0kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 29 times
frame= 1276 fps= 58 q=31.0 size=    4518kB time=00:02:07.71 bitrate= 289.8kbits/
decode error
[vmdvideo @ 0x2096c20] decode error
    Last message repeated 9 tim    Last message repeated 9 times
frame= 1287 fps= 58 q=31.0 Lsize=    4667kB time=00:02:08.94 bitrate= 296.5kbits
/s
video:3999kB audio:504kB subtitle:0 global headers:0kB muxing overhead 3.644634%

Received signal 2: terminating.

Change History (2)

comment:1 Changed 4 years ago by cehoyos

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

comment:2 Changed 4 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

Fixed by Kostya (c3660c3).

Note: See TracTickets for help on using tickets.