GNOME Bugzilla – Bug 665109
dc1394: source add fomat7 ROI (image roi position setting)
Last modified: 2018-05-04 09:51:19 UTC
Created attachment 202353 [details] [review] mode7: use roi instead of imagesize only I already sent this to the mailinglist but i was told to post it here. We patched the dc1394 plugin in order to use dc1394_format7_set_roi() instead of dc1394_format7_set_image_size() and added the roi_top, roi_left to the caps. with this modification it is possible to set the format 7 window size AND the position of the window. Example: - the camera can grab in 1280x768 - set window size to 640x480 - set roi_left=200, roi_top=200 -> the camera will grab the 640x480 region starting at 200,200 If the roi_* caps are not given, the window will be sampled at 0,0 - Simon
Can you update this to GStreamer 1.x? Also this API is not the right way to go, don't extend caps with arbitrary fields. Instead there should probably be properties for the roi.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks! Also for ROI there's a GstMeta now, which could be used in dc1394src