- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did a test to stitching four same pictures into one picture by sample_vpp.exe, but I found the quality of auxiliarystream worse than mainstream, is that normal?
The four input pictures resolution are 1920*1080, out picture resolution is 1280*720
stream=camera_capture.yuv
width=1920
height=1080
fourcc=nv12
cropx=0
cropy=0
cropw=1920
croph=1080
dstx=0
dsty=0
dstw=640
dsth=360
stream=camera_capture.yuv
width=1920
height=1080
fourcc=nv12
cropx=0
cropy=0
cropw=1920
croph=1080
dstx=640
dsty=0
dstw=640
dsth=360
stream=camera_capture.yuv
width=1920
height=1080
fourcc=nv12
cropx=0
cropy=0
cropw=1920
croph=1080
dstx=0
dsty=360
dstw=640
dsth=360
stream=camera_capture.yuv
width=1920
height=1080
fourcc=nv12
cropx=0
cropy=0
cropw=1920
croph=1080
dstx=640
dsty=360
dstw=640
dsth=360
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SongGang,
Could you send me the input picture and the command you used?
I will try to reproduce it.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
I can reproduce what you said, let me do some research and get back to you soon.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Songgang,
First let me clarify the image file "composition.PNG" you posted, the artifacts happens in 3 positions: top-right, bottom-left, bottom-right; the image on the top-left doesn't have problem, do you agree?
I did a little bit more test and found the image without the artifact will always be the first input on in the compose.txt file, you can test this by moving around the other 3 inputs in the file to the first.
I think there should be bug there but I would suggest you to program this by yourself by referring to the following article:
https://software.intel.com/en-us/articles/video-composition-using-intel-media-sdk
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mark:
I reproduced it on linux.
And fix the bug by modified the open souce media driver.
In media_driver/linux/common/vp/ddi/media_libva_vp.c
There are:
pVpHalSrcSurf->SurfType == SURF_IN_PRIMARY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Songgang,
A good test! Thanks so much.
I have report it although I am not sure if this is the root cause.
Mark
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page