Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2937 Discussions

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

andy_l_
Beginner
111 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
111 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,   

Reply