Opened 8 years ago
Closed 5 years ago
#6286 closed defect (invalid)
apng doesn't play correct
Reported by: | hxuanyu | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | png |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
This issue is reproducible on latest ffplay build
ffplay.exe png1.apng
ffplay version N-85091-g23ae3cc Copyright (c) 2003-2017 the FFmpeg developers
This apng file includes 3 frames:
- 1st a 100x100 white frame, dispose_op = 1
- 2nd a 50x50 red frame, dispose_op = 1
- 3rd a 50x50 blue frame, dispose_op = 1
while played in ffplay, when 2nd and 3rd frames are played, background is black.
But when played in Mozilla Firefox or disassembled by APNG Disassembler2.8, 2nd and 3rd frames have white background!
Attachments (1)
Change History (4)
by , 8 years ago
follow-up: 2 comment:1 by , 8 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | png added |
Version: | unspecified → git-master |
comment:2 by , 8 years ago
Thanks cehoyos,
I'll be more precise next time.
As for this bug, actually I'm a bit confused. The spec says dispose_op = 1 means the frame's region of the output buffer is to be cleared to fully transparent black before rendering the next frame.
So before 2nd frame is shown, 1st frame buffer 100x100 area should be cleared. So actually current ffmpeg behavior is correct?
Replying to cehoyos:
How is this issue related to FFplay?
comment:3 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is right behaviour indeed. Checked in chrome))
How is this issue related to FFplay?