- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am testing the composite feature in VPP.
I configure the VPP to have 2 input streams, first one is 0, 0, 1920, 1080 and second is 0, 0, 1280,720 (x, y, w, h), params.vpp.In with 1290x1080 and params.vpp.Out with 1920x1080 also.
When i input 2 frames with size 1920x1080 it works perfectly and i get the second frame as an picture-in-picture on the first.
However when I try to input a 1280x720 as the second frame setting the mfxFrameInfo the output frame gets corrupted.
Is it possible at all to use different input sizes and if so, how should it be done?
Best Regards
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved, sort of.
Had not read the manual enough it seems, a little RTFM gave me a solution.
Got it to work by using same size input frames, copy the smaller frames into the input frames and adjusting the CropWH.
I will call this a workaround until someone with greater wisdom tells me that this is in fact the right way to do it.
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi elsparro,
A similar question has been asked before in the forum as well https://software.intel.com/en-us/forums/topic/344229
Your work around seems to be a decent way i.e. by changing the CropW and CropH, which is also mentioned as solution in the forum as well.
However, if you put frames of same resolution you can definitely integrate more vpp resize pipeline to resize the frame according to your needs before passing the frame to other function.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page