From patchwork Fri Mar 24 17:40:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne X-Patchwork-Id: 18456 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 CEB14C0F1B for ; Fri, 24 Mar 2023 17:40:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B11226273E; Fri, 24 Mar 2023 18:40:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1679679626; 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=CIvDhWh2NnV+ivnhycqWq3bL006Qwz/0kYBXpaRZs3fDDMgDs+k/wO80+UPaIFb+Y yXZOYGAkr1SHDD3zgXihyYEbdJP1QyJB/N5Fm0lHJuap9MTBlEbjDhIe1NsMZco72o 77f3V5bVluRZ6Ld5YKFPG3lhyYx6NxkdKDdQr5log19uVnV/0pjfHw9OXybd5zWE33 ga2cayxi7LmL8YgIb78uF6pLbNg7K8WoR2SPs2m8NNdtcN06cg2L6bkt0BX0X44Ul+ /DjvdogESlod3Ja7pAEJOUbhoPouW/Wn9zoTePNgvxvXMUOpiu2B7ZkwE0/ltCZtzJ jPyDnawy+tU1Q== Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 65A83603AA for ; Fri, 24 Mar 2023 18:40:24 +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 E99C2660312C; Fri, 24 Mar 2023 17:40:23 +0000 (GMT) To: libcamera-devel@lists.libcamera.org Date: Fri, 24 Mar 2023 13:40:08 -0400 Message-Id: <20230324174009.300123-3-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 Subject: [libcamera-devel] [PATCH v1 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 --- 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: