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

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



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


      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

Hi Andy, 

I do need more details to understand the complete operation of your scenario. Please share a log of system analyzer from and code snippet of you application, so we can take a closer look. You might be interested in taking a look at this article:


0 Kudos