Opened 11 years ago

Closed 4 years ago

#1901 closed defect (fixed)

cavs artefacts in B frames

Reported by: liguangwei Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: cavs
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

hi all,

i found a ffmpeg a bug, with play chinese cavs stream , there is video flicker strongly.

Change History (7)

comment:1 by liguangwei, 11 years ago

Last edited 11 years ago by liguangwei (previous) (diff)

comment:2 by Carl Eugen Hoyos, 11 years ago

Keywords: decode removed

To make this a valid ticket, please provide a sample and please provide your ffmpeg command line together with complete, uncut console output.

in reply to:  2 comment:3 by liguangwei, 11 years ago

Replying to cehoyos:

To make this a valid ticket, please provide a sample and please provide your ffmpeg command line together with complete, uncut console output.

Thanks,
i just use ffplay stream.avs
i tried new release 1.0 ,that problem is still there.

./ffplay -framerate 25 /hdd2/work/smb/clip-vs3000/stream.avs
ffplay version 0.10 Copyright (c) 2003-2012 the FFmpeg developers

built on Mar 7 2012 14:00:24 with gcc 4.4.2 20091027 (Red Hat 4.4.2-7)
configuration: --enable-gpl --enable-postproc --prefix=/usr
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100

[cavsvideo @ 0xb1e00480] max_analyze_duration 5000000 reached at 5000000
[cavs @ 0xb1e075a0] Found 1 unreleased buffers!
[cavsvideo @ 0xb1e00480] Estimating duration from bitrate, this may be inaccurate
Input #0, cavsvideo, from '/hdd2/work/smb/clip-vs3000/stream.avs':

Duration: N/A, bitrate: N/A

Stream #0:0: Video: cavs, yuv420p, 720x576, 25 fps, 25 tbr, 1200k tbn, 25 tbc

61.16 A-V: 0.000 fd= 0 aq= 0KB vq= 48KB sq= 0B f=0/471 0

Last edited 11 years ago by liguangwei (previous) (diff)

comment:4 by Carl Eugen Hoyos, 11 years ago

Reproduced by developer: set
Status: newopen
Summary: cavs format decode questioncavs artefacts
Version: unspecifiedgit-master

Some artefacts are visible on decoding.

$ ffmpeg -i stream.avs
ffmpeg version N-46531-g7693543 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov  9 2012 09:49:15 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[cavsvideo @ 0x238d240] max_analyze_duration 5000000 reached at 5000000
[cavs @ 0x2393740] Found 1 unreleased buffers!
[cavsvideo @ 0x238d240] Estimating duration from bitrate, this may be inaccurate
Input #0, cavsvideo, from 'stream.avs':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: cavs, yuv420p, 720x576, 25 fps, 25 tbr, 1200k tbn, 25 tbc
At least one output file must be specified

comment:5 by Michael Niedermayer, 10 years ago

Summary: cavs artefactscavs artefacts in B frames

comment:6 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedavcodec
Priority: normalminor

The ugly artefacts were fixed by Yao Wang in e18b48c6
Many warnings are still shown when decoding the sample.

$ ffmpeg -i stream.avs -t 2 out.avi
ffmpeg version N-64227-ge18b48c Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun 26 2014 17:11:49 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 90.101 / 52. 90.101
  libavcodec     55. 68.100 / 55. 68.100
  libavformat    55. 44.100 / 55. 44.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  9.100 /  4.  9.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[cavs @ 0x2525740] weighted prediction not yet supported
[cavs @ 0x2525740] no frame decoded
Input #0, cavsvideo, from 'stream.avs':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: cavs, yuv420p, 720x576, 25 fps, 25 tbr, 1200k tbn, 25 tbc
[avi @ 0x2527720] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.44.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x576, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc55.68.100 mpeg4
Stream mapping:
  Stream #0:0 -> #0:0 (cavs (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[cavs @ 0x2526aa0] weighted prediction not yet supported
[cavs @ 0x2526aa0] no frame decoded
    Last message repeated 12 times
[cavs @ 0x2526aa0] weighted prediction not yet supported
[cavs @ 0x2526aa0] no frame decoded
    Last message repeated 12 times
[cavs @ 0x2526aa0] weighted prediction not yet supported
[cavs @ 0x2526aa0] no frame decoded
    Last message repeated 12 times
[cavs @ 0x2526aa0] weighted prediction not yet supported
[cavs @ 0x2526aa0] no frame decoded
    Last message repeated 11 times
frame=   49 fps=0.0 q=24.8 Lsize=     190kB time=00:00:02.00 bitrate= 779.2kbits/s
video:183kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.678040%

in reply to:  6 comment:7 by Balling, 4 years ago

Resolution: fixed
Status: openclosed

Replying to cehoyos:

The ugly artefacts were fixed by Yao Wang in e18b48c6fdfdc91fe56b1d1a1312b6d486d9fe43

Are you show that those green - pink artefacts are good?
But anyway merged in #3885.

Note: See TracTickets for help on using tickets.