Why the packets number demuer demux do not equal the decode frame data number in the new sample?

std::queue<AVPacket*> PackData;
while (1)
{
AVPacket* Tmp = new AVPacket;
av_init_packet(Tmp);
Tmp->data = NULL;
Tmp->size = 0;
demuxer.Demux(*Tmp);

	if (!Tmp->size) break;

	PackData.push(Tmp);
}

the queue size will be 298,
and std::vector<uint8_t*> FrameData;

dec.Decode(Tmp->data, Tmp->size, &ppTmp, &nFrameReturned);
FrameData.push_back(*ppTmp);

the FrameData size will be 297, when dequeue the packet from PackData untill the Queue empty.

Hi,

Is this clip specific? If so, our engineering team requires that clip.

Could you provide us the clip?

Thanks,
Ryan Park

How can I send the video to you? Whole video 160MB…
I make a new video with 250 pics, and I got 250 packets after demuxing the video with FFmpeg.
And it seems that the cuda decoder can not decode some packets…

Hi,

Please send your clip to this email address:

video-sdk-feedback@nvidia.com

Thanks,
Ryan Park

Hi,

Our engineering team was able to get 250 frames decoded at our end using appDecGl. At your end how many frames are you able to decode? What exactly is the problem you have here for this clip which you have shared?

Thanks,
Ryan Park