Opened 4 years ago

Closed 4 years ago

#2532 closed defect (fixed)

wmv1: green artefacts with lowres

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

Description

C:\>ffmpeg -vlowres 1 -i 1.wmv -an out.avi
ffmpeg version N-52725-ge756635 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  4 2013 02:45:38 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. 28.100 / 52. 28.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.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from '1.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    DeviceConformanceTemplate: @
  Duration: 00:00:05.98, start: 0.000000, bitrate: 246 kb/s
    Stream #0:0(pol): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp
, 176 kb/s
    Stream #0:1(pol): Video: wmv1 (WMV1 / 0x31564D57), yuv420p, 80x60, 100 kb/s,
 24 tbr, 1k tbn, 1k tbc
Output #0, avi, to 'out.avi':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    DeviceConformanceTemplate: @
    ISFT            : Lavf55.4.101
    Stream #0:0(pol): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 80x60, q=2-31,
200 kb/s, 24 tbn, 24 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (wmv1 -> mpeg4)
Press [q] to stop, [?] for help
[wmv1 @ 0x20cdcc0] dc overflow- block: 4 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 4//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 4 qscale: 4//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 6//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 8//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 5 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 15//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 15//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 15//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 18//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 18//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 18//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 19//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 19//
frame=  133 fps=0.0 q=1.6 Lsize=     151kB time=00:00:05.95 bitrate= 207.1kbits/
s
video:142kB audio:0kB subtitle:0 global headers:0kB muxing overhead 6.329672%

Attachments (1)

1.wmv (180.1 KB) - added by ami_stuff 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by ami_stuff

comment:1 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords wmv1 lowres added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master
$ valgrind ./ffmpeg_g -vlowres 1 -i 1.wmv -f null -
==12016== Memcheck, a memory error detector.
==12016== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==12016== Using LibVEX rev 1854, a library for dynamic binary translation.
==12016== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==12016== Using valgrind-3.3.1, a dynamic binary instrumentation framework.
==12016== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==12016== For more details, rerun with: -v
==12016==
ffmpeg version N-52736-gd18341f Copyright (c) 2000-2013 the FFmpeg developers
  built on May  4 2013 13:41:21 with gcc 4.3 (SUSE Linux)
  configuration: --enable-gpl --disable-optimizations
  libavutil      52. 28.100 / 52. 28.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.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from '1.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    DeviceConformanceTemplate: @
  Duration: 00:00:05.98, start: 0.000000, bitrate: 246 kb/s
    Stream #0:0(pol): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 176 kb/s
    Stream #0:1(pol): Video: wmv1 (WMV1 / 0x31564D57), yuv420p, 80x60, 100 kb/s, 24 tbr, 1k tbn, 1k tbc
Output #0, null, to 'pipe:':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    DeviceConformanceTemplate: @
    encoder         : Lavf55.4.101
    Stream #0:0(pol): Video: rawvideo (I420 / 0x30323449), yuv420p, 80x60, q=2-31, 200 kb/s, 90k tbn, 24 tbc
    Stream #0:1(pol): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (wmv1 -> rawvideo)
  Stream #0:0 -> #0:1 (wmav2 -> pcm_s16le)
Press [q] to stop, [?] for help
[null @ 0x4587800] Encoder did not produce proper pts, making some up.
frame=   28 fps= 21 q=0.0 size=N/A time=00:00:01.34 bitrate=N/A dup=10 drop=0   frame=   50 fps= 27 q=0.0 size=N/A time=00:00:02.72 bitrate=N/A dup=10 drop=0   frame=   74 fps= 31 q=0.0 size=N/A time=00:00:03.42 bitrate=N/A dup=10 drop=0   dc overflow- block: 4 qscale: 4//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 4//
    Last message repeated 1 times
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 4//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 4//
==12016== Invalid read of size 1
==12016==    at 0x87F2AD8: get_dc (msmpeg4.c:186)
==12016==    by 0x87F2E7A: ff_msmpeg4_pred_dc (msmpeg4.c:288)
==12016==    by 0x855C933: msmpeg4_decode_dc (msmpeg4dec.c:622)
==12016==    by 0x855CA1F: ff_msmpeg4_decode_block (msmpeg4dec.c:651)
==12016==    by 0x855A240: msmpeg4v34_decode_mb (msmpeg4dec.c:275)
==12016==    by 0x83199DD: decode_slice (h263dec.c:226)
==12016==    by 0x831B1DE: ff_h263_decode_frame (h263dec.c:685)
==12016==    by 0x863DE4A: avcodec_decode_video2 (utils.c:1933)
==12016==    by 0x805F1C1: decode_video (ffmpeg.c:1640)
==12016==    by 0x80600D6: output_packet (ffmpeg.c:1836)
==12016==    by 0x8065E7D: process_input (ffmpeg.c:3042)
==12016==    by 0x80661AD: transcode_step (ffmpeg.c:3138)
==12016==  Address 0x46f1ca8 is not stack'd, malloc'd or (recently) free'd
    Last message repeated 1 times
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 4//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 4//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 4//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 4//
==12016==
==12016== Invalid read of size 1
==12016==    at 0x87F2AD8: get_dc (msmpeg4.c:186)
==12016==    by 0x87F2ED1: ff_msmpeg4_pred_dc (msmpeg4.c:290)
==12016==    by 0x855C933: msmpeg4_decode_dc (msmpeg4dec.c:622)
==12016==    by 0x855CA1F: ff_msmpeg4_decode_block (msmpeg4dec.c:651)
==12016==    by 0x855A240: msmpeg4v34_decode_mb (msmpeg4dec.c:275)
==12016==    by 0x83199DD: decode_slice (h263dec.c:226)
==12016==    by 0x831B1DE: ff_h263_decode_frame (h263dec.c:685)
==12016==    by 0x863DE4A: avcodec_decode_video2 (utils.c:1933)
==12016==    by 0x805F1C1: decode_video (ffmpeg.c:1640)
==12016==    by 0x80600D6: output_packet (ffmpeg.c:1836)
==12016==    by 0x8065E7D: process_input (ffmpeg.c:3042)
==12016==    by 0x80661AD: transcode_step (ffmpeg.c:3138)
==12016==  Address 0x46f2530 is not stack'd, malloc'd or (recently) free'd
[wmv1 @ 0x446d020] dc overflow- block: 4 qscale: 4//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 4 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 5 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 4 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 6//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 8//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
    Last message repeated 1 times
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 9//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 9//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 9//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 9//
frame=   88 fps= 31 q=0.0 size=N/A time=00:00:04.11 bitrate=N/A dup=10 drop=0   frame=  111 fps= 33 q=0.0 size=N/A time=00:00:05.51 bitrate=N/A dup=10 drop=0   dc overflow- block: 0 qscale: 15//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 15//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 15//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 18//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 18//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 18//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 18//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 19//
[wmv1 @ 0x446d020] dc overflow- block: 0 qscale: 19//
[wmv1 @ 0x446d020] dc overflow- block: 1 qscale: 19//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 19//
[wmv1 @ 0x446d020] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x446d020] dc overflow- block: 3 qscale: 19//
frame=  143 fps= 37 q=0.0 Lsize=N/A time=00:00:05.95 bitrate=N/A dup=10 drop=0  
video:9kB audio:952kB subtitle:0 global headers:0kB muxing overhead -100.002236%
==12016==
==12016== ERROR SUMMARY: 7082 errors from 2 contexts (suppressed: 3 from 1)
==12016== malloc/free: in use at exit: 0 bytes in 0 blocks.
==12016== malloc/free: 8,856 allocs, 8,856 frees, 6,738,528 bytes allocated.
==12016== For counts of detected errors, rerun with: -v
==12016== All heap blocks were freed -- no leaks are possible.

comment:2 Changed 4 years ago by michael

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