Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
25 Views

Dynamic Update of overlay position

Hello all,

Would it be possible to update the position of overlay?

Which function are needed to call after the the changing of the position?

Many Thanks,

Michael Hui 

0 Kudos
1 Reply
Highlighted
25 Views

Hi Michael,

This article shows a composition example: https://software.intel.com/en-us/articles/video-composition-using-intel-media-sdk

To change composition position, you would need to change the settings in the composition filter extended parameter buffer.  To do this you would need to "drain" any frames currently buffered by VPP then reset or close/init VPP to read in the new parameters.

This could be a reasonable approach if the position changes infrequently.  If you want to change position for each frame you may be able to write your own optimized custom composition with OpenCL.

 

0 Kudos