This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Description
Hi,
I am using HEVC for a sparse set of frames, sometimes only a single frame. Encoding works fine, but it seems PyNvDecoder.DecodeSingleSurface doesn't return any frames if there is only 1 single frame in the file.
A comment in a sample says that with the built_in demuxer the function should be synchronized and flushing isn't necessary. Even so, I tried a flush but it still did not help.
I made a notebook where I tried to include the bare minimum to reproduce this error.
NvDecoderBug.pdf