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.
3072 Discussions

source video fps 23.976 -> destination video fps 30 ==> audio not in sync with video

parksh
New Contributor I
1,062 Views

Hi,

 

We have been using 'Intel Media SDK 2014 R2 Windows Server' H264,
Hardware Encode/Decode within our own video communications software application for quite some time without any problems.
Recently, I used my Server to 11th Gen Intel(R) Core(TM) i7-11700, 12th Gen Intel(R) Core(TM) i7-12700.

 

11G and 12G CPUs know they need to migrate MSDK -> OneVPL
But we need time to migrate to OneVPL

Until then, I want to transcoding in my own video communication software application.

 

The test transcoded the source video to fps 30.

 

1. E3-1286 v3 equipment has normal encoding results for all fps regardless of video codec.
2. On 11gen and 12gen CPUs, the encoding results do not match the video/audio sync only for fps 23.976, regardless of the video codec.

Source VIDEO

r_frame_rate 24000/1001

nb_frames 94041

duration 3922.252


Destination VIDEO

1. E3-1286 v3 fps 30 Encoding

r_frame_rate 30/1

nb_frames 117667

duration 3922.233333

-> audio/video sync OK

 

2. i7-11700, i7-12700fps 30 Encoding

r_frame_rate 30/1

nb_frames 117650

duration 3921.666667

-> audio not in sync with video


No special error messages were found during transcoding processing.
Is there any additional way I can handle exceptions?

 

If I migrate to OneVPL, would fps 23.976 -> fps 30 transcoding on 11G and 12G CPUs be video/audio sync?

 

Thank you in advance for your reply.

 

0 Kudos
6 Replies
AthiraM_Intel
Moderator
1,012 Views

Hi,

 

Thank you for posting in Intel Communities.

 

VPL does not do any Audio coding, and AV Sync is usually handled by the container, which is beyond the scope of VPL. That said there could be something around timestamping of frames that is related to VPL.

This "E3-1286 v3" case is using legacy MediaSDK and "i7-11700, i7-12700" is using oneVPL. 

 

The "old" and "new" outputs are off by about 2/3 seconds. If possible could you try to load the two files side by side and see if the last 2/3sec is missing, or if it is just timestamped wrong.

 

If you need further clarification, please let us know the following details:

  1. The version of oneVPL being used in your case.
  2. The sample reproducer code with input files
  3. Exact steps to reproduce the same from our end.
  4. OS and hardware details

 

Thanks

 

0 Kudos
parksh
New Contributor I
973 Views
Thank you for your answer
 
I found out that libmfx64.dll, libmfx64-gen.dll libraries are automatically installed while installing the i7-11700 graphics driver
 
I thought installing MSDK2014R2 after installing the graphics driver on the i7-11700 would load 1.10 library (libmfx64.dll) which is the same as the E3-1286 v3 Media SDK API version, but on the i7-11700, the Media SDK API version 1.35 library (libmfx64.dll) was loaded.
 
E3-1286 v3
    MSDK2014R2
    -> Media SDK API ver 1.10
 
i7-11700
    Graphic Installed
    -> Media SDK API ver 1.35
 
Currently using Media SDK API ver 1.10 on E3-1286 v3, can't I use Media SDK API ver 1.10 on i7-11700 as well?
Conversely, can't I use the Media SDK API ver 1.35 version on E3-1286 v3?
 
You copy and run the Media SDK 1.10, 1.35 libraries to the same path as the sample application to each server, but an error occurs
 
Thank you in advance.
 
 
 
0 Kudos
AthiraM_Intel
Moderator
911 Views

Hi,


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



Thanks


0 Kudos
AthiraM_Intel
Moderator
891 Views

Hi,

 

We are sorry to inform you that the answer is no in both cases, some features might work but, not fully functional.

 

Could you please let us know if you need any further clarifications?

 

 

Thanks

 

 

0 Kudos
parksh
New Contributor I
879 Views

I understood

 

Thank you for answer.

0 Kudos
AthiraM_Intel
Moderator
875 Views

Hi,


Thanks for the confirmation. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.



Thanks



0 Kudos
Reply