Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Why am I getting frames with incorrect timestamps?

parksh
New Contributor I
1,582 Views

Hello?

 

sample_multi_transcode(https://github.com/oneapi-src/oneVPL/blob/master/tools/legacy/sample_multi_transcode)

 

sample_multi_transcode -i::h264 INPUT.h264 -o::h264 OUTPUT.h264 -hw -FRC::INTERP -f 30.00 -w 320 -h 180 -FRC::INTERP -gop_size 150 -dist 1

 

Why am I getting frames with incorrect timestamps?

 

 

CPU : i7-11700
OS : Windows 10 Pro for Workstations
API version : 2.3
oneVPL version : master version(2023.2.1)
libmfx64-gen.dll
- File Version : 11.21.6.24
- Product Version : 11.0.0.004

 

Thanks in advance for your reply.

 

0 Kudos
6 Replies
AthiraM_Intel
Moderator
1,495 Views

Hi,


Thank you for posting in Intel Communities.


We assume that you have modified the code. Could you please share the sample reproducer code which has your modifications and the exact steps you followed?



Thanks


0 Kudos
parksh
New Contributor I
1,482 Views

This is the sample code I tested.

 

run sample_multi_transcode.exe

sample_multi_transcode.exe -i::h264 INPUT.h264 -o::h264 OUTPUT.h264 -hw -FRC::INTERP -f 30.00 -w 320 -h 180 -FRC::INTERP -gop_size 150 -dist 1

 

Thanks

0 Kudos
AthiraM_Intel
Moderator
1,401 Views

Hi,


Thank you for sharing the details. We are checking on this internally. We will get back to you soon with an update.



Thanks


0 Kudos
AthiraM_Intel
Moderator
1,357 Views

Hi,

 

We are getting dependency issues while building the sample which you shared.

AthiraM_Intel_0-1691149914923.png

 

Could you please share the reproducer code with all the dependencies.

Also share the steps to build the sample.

 

 

Thanks

 

0 Kudos
parksh
New Contributor I
1,301 Views


https://github.com/oneapi-src/oneVPL/tree/master/tools/legacy/sample_common/include/mfx_samples_config.h

https://github.com/oneapi-src/oneVPL/tree/master/api/vpl/mfxdefs.h

The oneVPL github master version installation path was dependenced.

 

Not the modified source I provided
Even if you debug with the oneVPL github master version, if you test with the input video sample I provided,
(https://github.com/oneapi-src/oneVPL/blob/master/tools/legacy/sample_multi_transcode/src/pipeline_transcode.cpp#L2092)
In this part, the bitstream DecodingTimeStamp, TimeStamp -1 will be returned.

 

I wonder how I can understand why the bitstream that returns as -1 exists.

 

thanks

0 Kudos
AthiraM_Intel
Moderator
1,233 Views

Hi,


We are checking on this internally. We will get back to you with an update.


Thanks


0 Kudos
Reply