From patchwork Fri Mar 24 18:12:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne X-Patchwork-Id: 18460 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 8EE7CC329C for ; Fri, 24 Mar 2023 18:13:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A29C262740; Fri, 24 Mar 2023 19:12:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1679681579; bh=j+n25JxjeqYb70RPV0hDqHUcYZb2xmnVd87QWprcmGM=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ElyUzCE3XbHLh896qVCUR6UaFtt+o+n/UsBXT196TdKHsncSu+usaqnT97l7Cokr3 PworNu1q9IaSV9LO5j3x2XDJOo2v8y9gxJT2Mw1dYJF38V7FKOkphg5BqQu7ixrF3W y/EoVG0GvMy5T9iZOwVvn45z6L5TBsQYXZO+ftxRzInnhw2mEKlOJMs21yDyxe3ifD iXaIVz513eAx9BMtH1uL3d9b2WXrrisKkdPlpUw5Gm/Ge3HqaO7pBZJQjxnN7+jkYx T+11WG04VNnpv2Px4r9ImdBBkt95/ulHLp1h/DJBMK2jImeSzWXN4RqqTf4U/MxFDl jiMKXFFV7tKvA== Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EB50B62720 for ; Fri, 24 Mar 2023 19:12:57 +0100 (CET) Received: from nicolas-tpx395.lan (192-222-136-102.qc.cable.ebox.net [192.222.136.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nicolas) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6E585660312C; Fri, 24 Mar 2023 18:12:57 +0000 (GMT) To: libcamera-devel@lists.libcamera.org Date: Fri, 24 Mar 2023 14:12:46 -0400 Message-Id: <20230324181247.302586-3-nicolas@ndufresne.ca> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230324181247.302586-1-nicolas@ndufresne.ca> References: <20230324181247.302586-1-nicolas@ndufresne.ca> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 2/3] doc: gstreamer: Add missing queues X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Nicolas Dufresne via libcamera-devel From: Nicolas Dufresne Reply-To: Nicolas Dufresne Cc: Nicolas Dufresne Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Nicolas Dufresne As libcamerasrc reports some latency, a queue is needed in order to store the data in case the buffers has been produced slightly ahead of our reported latency. Signed-off-by: Nicolas Dufresne Reviewed-by: Jacopo Mondi --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 34b6b49f..52cde91c 100644 --- a/README.rst +++ b/README.rst @@ -133,7 +133,7 @@ onto the OpenGL accelerated display element on your system. .. code:: - gst-launch-1.0 libcamerasrc camera-name="Camera 1" ! glimagesink + gst-launch-1.0 libcamerasrc camera-name="Camera 1" ! queue ! glimagesink To show the first camera found you can omit the camera-name property, or you can list the cameras and their capabilities using: @@ -164,7 +164,7 @@ the following example could be used as a starting point: gst-launch-1.0 libcamerasrc ! \ video/x-raw,colorimetry=bt709,format=NV12,width=1280,height=720,framerate=30/1 ! \ - jpegenc ! multipartmux ! \ + queue ! jpegenc ! multipartmux ! \ tcpserversink host=0.0.0.0 port=5000 Which can be received on another device over the network with: