[Bug 777820] vaapipostproc creates green border with odd vertical scaling
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Feb 15 08:19:57 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777820
--- Comment #5 from Hyunjun Ko <zzoon at igalia.com> ---
This is reproducible by the following pipeline.
gst-launch-1.0 videotestsrc ! video/x-raw,width=841,height=411 ! vaapipostproc
! xvimagesink
=> Green border. This is negotiated as YUY2
gst-launch-1.0 videotestsrc ! video/x-raw,width=841,height=411 ! vaapipostproc
! ximagesink
=> Fine. This is negotiated as BGRx
Probably, this is due to mismatch between size of real GPU mapped memory and
calculated size by provided width/height
when doing gst_video_frame_map/copy.
IIUC, in driver, VA surface's width and height is aligend to 64 (depending on
HW chipset) for YUV formats, which means that
it's different from user-provided width/height.
I'm not sure how to handle this case properly.
Maybe if your appsink can get video meta from upstream (should be implemented
by yourself), you could manipulate raw day by given plane/stride/offset.
I don't know.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list