[Bug 790265] v4l2src: Give preference to contiguous memory format over non contiguous one while setting format to /dev/video
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Nov 14 05:08:35 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=790265
--- Comment #3 from Devarsh Thakkar <devarsht at xilinx.com> ---
Hi Nicolas,
Thanks for the update.
If we consider the scenario when one IP within SoC supports both
(contiguous)NV12 and NV12M (non-contiguous) and another IP only supports one of
them, in such cases any user level option to select particular format would
help select the common format.
I am trying to bring up below usecase and hitting this issue :
CAPTURE Device (v4l2src) -> VCU Encode (omxh264enc) -> Filesink
CAPTURE Device (v4l2src) -> VCU Encode (omxh264enc) -> Decode->Display
Now the IP used in Capture device supports both V42_PIX_FMT_NV12 and
V4L2_PIX_FMT_NV12M but VCU supports only V4L2_PIX_FMT_NV12,
so we have to someway tell v4l2src to select V4L2_PIX_FMT_NV12 instead.
In your opinion what's the best possible way to handle this scenario?
Kindly let me know if any queries.
Thanks,
Devarsh
--
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