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

MSDK decode , switch video stream problem, memory leak? and restart failure?

andy_l_
Beginner
242 Views

Hi,

when is decoding with IPC A's stream(1080p), and I want to close it and start decode IPC B's stream(720p).

which operation is correct in the follow:

1.    Release Pipeline

      Pipeline.Init(&Params);

      for (;;)      {  sts = Pipeline.RunDecoding();...}

2  or:  use ResetDecoder()

      for (;;)      {  sts = Pipeline.RunDecoding();....}

When used first method,  restart success.  But memery will grow much.   Is it memery leak?

When used second method,restart failure. But if IPC B's stream also 1080p,restart will success.

what's wrong?

0 Kudos
1 Reply
Harshdeep_B_Intel
242 Views

Hi Andy, 

I do need more details to understand the complete operation of your scenario. Please share a log of system analyzer from https://software.intel.com/en-us/articles/media-sdk-tools and code snippet of you application, so we can take a closer look. You might be interested in taking a look at this article: https://software.intel.com/en-us/articles/framework-for-developing-applications-using-media-sdk

Thanks,   

0 Kudos
Reply