Opened 11 years ago
Closed 11 years ago
#3385 closed defect (fixed)
hevc: decoding gives duplicated frame
Reported by: | Maik Merten | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | hevc |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
Decoding HEVC content appears to generate one more frame than actually contained in the HEVC file. For instance, http://media.xiph.org/video/derf/y4m/sign_irene_cif.y4m has 540 frames and when encoding to HEVC (either with x265 or ffmpeg using libx265) 540 frames are reported to have been encoded.
When decoding (either with YUV4MPEG or PNG) I get 541 frames -- the third frame is a copy of the second frame. When analyzing the stream in http://codecvisa.codecian.com/ I can confirm that the second and third frame are actually different, so this appears to be a decoder artifact.
How to reproduce:
encoding: --------- % ffmpeg -y -v 9 -loglevel 99 -i sign_irene_cif.y4m irene.hevc 2> encode.txt ffmpeg version N-60615-gcbf09bb Copyright (c) 2000-2014 the FFmpeg developers built on Feb 14 2014 15:40:32 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9) <log attached> <created HEVC file attached> decoding: --------- % ffmpeg -v 9 -loglevel 99 -i irene.hevc -f image2 irene%d.png 2> decode.txt ffmpeg version N-60615-gcbf09bb Copyright (c) 2000-2014 the FFmpeg developers built on Feb 14 2014 15:40:32 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9) <log attached>
Attachments (5)
Change History (7)
by , 11 years ago
Attachment: | decode.txt added |
---|
comment:1 by , 11 years ago
Keywords: | hevc added |
---|---|
Status: | new → open |
Version: | unspecified → git-master |
Work-around is to use -vsync 0
comment:2 by , 11 years ago
Reproduced by developer: | set |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Decoding log