[FFmpeg-trac] #9805(ffplay:new): Gray frames while decoding when HEVC codec is used and frames with missing POC reference exist

FFmpeg trac at avcodec.org
Wed Jun 8 08:13:08 EEST 2022


#9805: Gray frames while decoding when HEVC codec is used and frames with missing
POC reference exist
------------------------------------+----------------------------------
             Reporter:  dhirendvs   |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  ffplay
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------
Description changed by dhirendvs:

Old description:

> **bold**Summary of the bug:**bold**
> When a H265 .mp4 file contains missing/corrupt frames, and this file is
> decoded for playback using the HEVC codec, gray frames are visible in
> case of frames with missing POC reference i.e. when the error "Could not
> find ref with POC XX" is displayed.
>
> However, when the HEVC Intel Quick Sync codec is used, gray frames are
> not visible in case of the instances of the missing POC reference error,
> but a much better playback result is generated with only 3 instances of
> garbled frames.
>
> Is this because HEVC Intel Quick Sync codec decodes frames with a non-
> zero latency whereas the latency is 0 in case of the default HEVC codec?
> Is it possible to produce a similar result without gray frames when the
> default HEVC codec is used for playback of such a file with
> missing/corrupt frames?
>
> **bold**How to reproduce:**bold**
> A) Gray frames:
> ffplay -vcodec hevc H265.mp4
>
> B) Garbled frames in a few instances but no gray frames:
> ffplay -vcodec hevc_qsv H265.mp4
>
> **bold**Built on:**bold**
> FFmpeg 5.0

New description:

 Summary of the bug:
 When a H265 .mp4 file contains missing/corrupt frames, and this file is
 decoded for playback using the HEVC codec, gray frames are visible in case
 of frames with missing POC reference i.e. when the error "Could not find
 ref with POC XX" is displayed.

 However, when the HEVC Intel Quick Sync codec is used, gray frames are not
 visible in case of the instances of the missing POC reference error, but a
 much better playback result is generated with only 3 instances of garbled
 frames.

 Is this because HEVC Intel Quick Sync codec decodes frames with a non-zero
 latency whereas the latency is 0 in case of the default HEVC codec? Is it
 possible to produce a similar result without gray frames when the default
 HEVC codec is used for playback of such a file with missing/corrupt
 frames?

 How to reproduce:
 A) Gray frames:
 ffplay -vcodec hevc H265.mp4

 B) Garbled frames in a few instances but no gray frames:
 ffplay -vcodec hevc_qsv H265.mp4

 Built on:
 FFmpeg 5.0

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


More information about the FFmpeg-trac mailing list