[FFmpeg-trac] #6090(undetermined:new): ffmpeg duplicates the first frame when decoding attached hevc-file.

FFmpeg trac at avcodec.org
Wed Jan 18 11:04:40 EET 2017


#6090: ffmpeg duplicates the first frame when decoding attached hevc-file.
-------------------------------------+-------------------------------------
             Reporter:  figgis       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  hevc,        |               Blocked By:
  duplicate frame                    |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 ffmpeg duplicates the first frame when decoding attached hevc-file.
 File was not encoded by ffmpeg. The original BQMall is 601 frames long.
 The hevc reference decoder produce the correct output.

 How to reproduce:
 {{{
 $ ffmpeg -version
 ffmpeg version N-83136-gbdbbb8f Copyright (c) 2000-2017 the FFmpeg
 developers
 built with gcc 4.9.2 (Debian 4.9.2-10)
 configuration: --enable-gpl --enable-libx264
 libavutil      55. 43.100 / 55. 43.100
 libavcodec     57. 73.100 / 57. 73.100
 libavformat    57. 62.100 / 57. 62.100
 libavdevice    57.  2.100 / 57.  2.100
 libavfilter     6. 69.100 /  6. 69.100
 libswscale      4.  3.101 /  4.  3.101
 libswresample   2.  4.100 /  2.  4.100
 libpostproc    54.  2.100 / 54.  2.100

 $ ffmpeg -i BQMall_832x480_60_QP29.hevc tmp.yuv

 }}}

 Using a python-tool I wrote to calculate the sha1sum of all frames in a
 ycbcr 420 file (https://github.com/figgis/yuv_checksum)

 {{{
 frame   sha1
 =====   ========================================
 0000    baa271df1987798b0847e1d9eea20df78d301f8f
 0001    baa271df1987798b0847e1d9eea20df78d301f8f
 0002    6b8d13a219066989ee5e0209f2aed7ba1fc2e56f
 }}}

 Size of output
 {{{
 $ stat -c "%s" BQMall_832x480_60.yuv tmp.yuv
 360023040
 360622080

 In [2]: 360622080-360023040
 Out[2]: 599040

 In [3]: 832*480*3/2
 Out[3]: 599040
 # One frame too many
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6090>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list