intel / intel/vpl-gpu-rt

sample decode lost frames

Open
#268 9 comments 0 reactions 0 assignees View on GitHub
bug Decode
Dominant language
C++
Stars
157
Forks
104
PR merge metrics
No merged PRs in 30d

Description

## System information
- 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
- VGA compatible controller [0300]: Intel Corporation Device [8086:9a49] (rev 01)

## Issue behavior

### Describe the current behavior
There are 50 frames in the HEVC video stream, but the output file only has 34 frames.
Also can be reproduced in [ADL](https://github.com/Intel-Media-SDK/MediaSDK/issues/3007#:~:text=file.%0AHowever%2C%20I%20cannot%20see%20anything%20suspicious%20with%20it.-,I%20tested%20it%20on%20another%20system%20(ADL)%2C%20using%20sample_decode%20from%20OneVPL/OneAPI%20as%20well%20as%20with%20MediaSDK%20under%20Ubuntu%2022.04.,-According%20to%20sample_decode%20console%20output%2C%20yes%2C%20I%20can%20see) platform.

Both ffprobe and VQA show the Video file has 50 frames:
_ffprobe -v error -count_frames -show_entries stream=nb_read_frames xxx.h265_
nb_read_frames=50

### Command

_sample_decode h265 -i xxx.h265 -o xxx.yuv_

Loaded Library configuration:
Version: 2.7
ImplName: mfx-gen
Adapter number : 0
Adapter type: integrated
DRMRenderNodeNum: 128
Used implementation number: 0

Input video HEVC
Output format NV12
Input:
(Hide)
Output:
(Hide)
Frame rate 25.00
Memory type system
MediaSDK impl hw
MediaSDK version 2.7

Decoding started
Frame number: 34, fps: 16.279, fread_fps: 0.000, fwrite_fps: 23.011
Decoding finished

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.