[FFmpeg-trac] #5344(avcodec:open): H.265 decoding errors (works well with HEVC reference decoder)

FFmpeg trac at avcodec.org
Wed Mar 16 21:32:30 CET 2016


#5344: H.265 decoding errors (works well with HEVC reference decoder)
------------------------------------+-----------------------------------
             Reporter:  brausch     |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  hevc        |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by jkqxz):

 The failure here is because there is a large section of zeroes in the
 middle of the file (between frames 49 and 50):
 {{{
 0006b080  08 ab 3f 15 80 04 d7 8f  06 4c af 00 00 00 00 00
 |..?......L......|
 0006b090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 |................|
 *
 0006b6e0  00 00 00 00 00 00 00 00  00 00 00 01 02 01 f2 e1
 |................|
 0006b6f0  f0 9c 4b c1 58 e7 c3 eb  ab 18 84 6d 0e 2f 01 3f
 |..K.X......m./.?|
 }}}
 This is not invalid (a NAL unit can be preceded by arbitrarily many
 leading_zero_8bits or followed by arbitrarily many trailing_zero_8bits),
 but few streams make use of this "feature" so the decoder has not bothered
 to support it.  The stream plays correctly on the current decoder if you
 remove all but three of the zero bytes.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5344#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list