Patch Detail
Show a patch.
GET /api/1.1/patches/18457/?format=api
{ "id": 18457, "url": "https://patchwork.libcamera.org/api/1.1/patches/18457/?format=api", "web_url": "https://patchwork.libcamera.org/patch/18457/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20230324174009.300123-4-nicolas@ndufresne.ca>", "date": "2023-03-24T17:40:09", "name": "[libcamera-devel,v1,3/3] doc: gstreamer: Document the sensor-mode(s) properties", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "413243d7c638944b54f23bcfbff5b69a59558908", "submitter": { "id": 30, "url": "https://patchwork.libcamera.org/api/1.1/people/30/?format=api", "name": "Nicolas Dufresne", "email": "nicolas@ndufresne.ca" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/18457/mbox/", "series": [ { "id": 3814, "url": "https://patchwork.libcamera.org/api/1.1/series/3814/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3814", "date": "2023-03-24T17:40:06", "name": "Add sensor mode selection to GStreamer", "version": 1, "mbox": "https://patchwork.libcamera.org/series/3814/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/18457/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/18457/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 1D8EEC329C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Mar 2023 17:40:29 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 204726271F;\n\tFri, 24 Mar 2023 18:40:27 +0100 (CET)", "from madras.collabora.co.uk (madras.collabora.co.uk\n\t[IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F2FCF603AA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Mar 2023 18:40:24 +0100 (CET)", "from nicolas-tpx395.lan (192-222-136-102.qc.cable.ebox.net\n\t[192.222.136.102])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (4096 bits)\n\tserver-digest SHA256)\n\t(No client certificate requested) (Authenticated sender: nicolas)\n\tby madras.collabora.co.uk (Postfix) with ESMTPSA id 80AA0660312C;\n\tFri, 24 Mar 2023 17:40:24 +0000 (GMT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1679679627;\n\tbh=AG+K99daHMuCR/dO/FlC82WLKrNzoMeLd8FlNJLpYW0=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=sR9ntVcz/HNT3HpN0jzl3QSbSS2PVpJLXbUgkP8oJt60HwT1BlFnGunNkxtWE5Gzy\n\tB/rfFV/S6MHN+kdTZFSTOWwnVxUU/oMEekFSoCzN1V86InGnNlV5worTTPZ/O4TwQu\n\txCi8IR0ArOrbZKUt2gwQGV7oEeT3ORSYJONBRunjzwnDNiTrBRca8O0+MeF3Ccsq4e\n\tFNkEMnoAUdpMwoIAmFvseuuEDyvd1G9vPOgYFcwnQxxsI5y56cldCbCAliAKaiQlZG\n\tw36570XmW89F5Vwm892kATgp3SABdnfWntsY0Lf3kwEBIw006bAzWr6BooK9Trtrux\n\tg47PGdSoZLD6w==", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 24 Mar 2023 13:40:09 -0400", "Message-Id": "<20230324174009.300123-4-nicolas@ndufresne.ca>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20230324174009.300123-1-nicolas@ndufresne.ca>", "References": "<20230324174009.300123-1-nicolas@ndufresne.ca>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v1 3/3] doc: gstreamer: Document the\n\tsensor-mode(s) properties", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "From": "Nicolas Dufresne via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Nicolas Dufresne <nicolas@ndufresne.ca>", "Cc": "Nicolas Dufresne <nicolas.dufresne@collabora.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "From: Nicolas Dufresne <nicolas.dufresne@collabora.com>\n\nSigned-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>\n---\n README.rst | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)", "diff": "diff --git a/README.rst b/README.rst\nindex 52cde91c..21a4d127 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -174,6 +174,20 @@ Which can be received on another device over the network with:\n gst-launch-1.0 tcpclientsrc host=$DEVICE_IP port=5000 ! \\\n multipartdemux ! jpegdec ! autovideosink\n \n+Some pipeline managers have support for selecting the sensor mode. This consist\n+of locking the sensor into a specific resolution/format in order to obtains a\n+specific field or view, quality or get access to different frame duration\n+ranges. Applications can read the enumerate mode through the ``sensor-modes``\n+properties and select (or filter) the selected mode using ``sensor-mode``\n+property. As an example, an application that needs 60 frame per second can\n+ensure this with:\n+\n+.. code::\n+\n+ gst-launch-1.0 libcamerasrc sensor-mode=\"sensor/mode,framerate=60/1\" ! \\\n+ video/x-raw,framerate=60/1,format=NV12 ! \\\n+ queue ! videoconvert ! autovideosink\n+\n .. section-end-getting-started\n \n Troubleshooting\n", "prefixes": [ "libcamera-devel", "v1", "3/3" ] }