Opened 2 years ago

#5387 new defect

Artefacts decoding svq3

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

Description

The sample gt4_tgs2k3.mov in https://samples.libav.org/V-codecs/SVQ3/watermark/ shows artefacts after 13 seconds with FFmpeg, no artefacts with the binary decoder.

$ ffmpeg -nostats -i gt4_tgs2k3.mov -qscale 2 out.avi
ffmpeg version N-79158-gd5a3578 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 32.100 / 57. 32.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x372f3e0] multiple edit list entries, a/v desync might occur, patch welcome
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'gt4_tgs2k3.mov':
  Metadata:
    creation_time   : 2003-09-26 07:47:55
    artist          : GameSpy.com
    artist-eng      : GameSpy.com
    copyright       : GameSpy Industries
    copyright-eng   : GameSpy Industries
  Duration: 00:01:03.13, start: 0.000000, bitrate: 4042 kb/s
    Stream #0:0(eng): Video: svq3 (SVQ3 / 0x33515653), yuvj420p(pc), 640x480, 3667 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default)
    Metadata:
      creation_time   : 2003-09-26 07:47:55
      handler_name    : Apple Alias Data Handler
      encoder         : Sorenson Video 3
    Stream #0:1(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 44100 Hz, 2 channels, s16p, 352 kb/s (default)
    Metadata:
      creation_time   : 2003-09-26 07:47:55
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none, 1 kb/s (default)
    Metadata:
      creation_time   : 2003-09-26 07:47:55
      handler_name    : Apple Alias Data Handler
Please use -q:a or -q:v, -qscale is ambiguous
[swscaler @ 0x3768100] deprecated pixel format used, make sure you did set range correctly
Output #0, avi, to 'out.avi':
  Metadata:
    copyright-eng   : GameSpy Industries
    IART            : GameSpy.com
    artist-eng      : GameSpy.com
    ICOP            : GameSpy Industries
    ISFT            : Lavf57.29.101
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x480, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2003-09-26 07:47:55
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.32.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      creation_time   : 2003-09-26 07:47:55
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.32.100 ac3
Stream mapping:
  Stream #0:0 -> #0:0 (svq3 (native) -> mpeg4 (native))
  Stream #0:1 -> #0:1 (adpcm_ima_qt (native) -> ac3 (native))
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 1
[svq3 @ 0x374b540] top block unavailable for requested intra mode at 1 0
[svq3 @ 0x374b540] ff_h264_check_intra_pred_mode < 0
[svq3 @ 0x374b540] error while decoding MB 1 0
Error while decoding stream #0:0: Operation not permitted
[svq3 @ 0x374b540] error while decoding chroma dc block
[svq3 @ 0x374b540] error while decoding MB 0 0
Error while decoding stream #0:0: Operation not permitted
[svq3 @ 0x374b540] error while decoding chroma dc block
[svq3 @ 0x374b540] error while decoding MB 0 0
Error while decoding stream #0:0: Operation not permitted
[svq3 @ 0x374b540] top block unavailable for requested intra mode at 1 0
[svq3 @ 0x374b540] ff_h264_check_intra_pred_mode < 0
[svq3 @ 0x374b540] error while decoding MB 1 0
Error while decoding stream #0:0: Operation not permitted
[svq3 @ 0x374b540] luma prediction:184
[svq3 @ 0x374b540] error while decoding MB 1 0
Error while decoding stream #0:0: Operation not permitted
[svq3 @ 0x374b540] top block unavailable for requested intra mode at 1 0
[svq3 @ 0x374b540] ff_h264_check_intra_pred_mode < 0
[svq3 @ 0x374b540] error while decoding MB 1 0
Error while decoding stream #0:0: Operation not permitted
frame= 1884 fps=329 q=2.0 Lsize=   50455kB time=00:01:03.16 bitrate=6543.9kbits/s speed=  11x
video:48880kB audio:1478kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.193616%

Change History (0)

Note: See TracTickets for help on using tickets.