From patchwork Mon Oct 28 01:37:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Forest Crossman X-Patchwork-Id: 16001 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id D91F3446E6F for ; Mon, 28 Oct 2019 04:05:49 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B936568AD40; Mon, 28 Oct 2019 04:05:49 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1747F68ABEF for ; Mon, 28 Oct 2019 04:05:43 +0200 (EET) Received: by mail-pf1-f193.google.com with SMTP id r4so81876pfl.7 for ; Sun, 27 Oct 2019 19:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GfhUIt0/Q7TIRCz2kLGz6o+tcx9iOpiKKzww7T1cPbk=; b=KfIX1Pn6FG2lfyVtie9ICE/HR5gmhShrco22wChw8uDV9k8mTwfJ94Og8SVY+tElPW +rHm2ZlpZ5sRCULd0EEl5eIJajrbXf6mGZqu2Gx1IkvupmtDzQWrBtpgkvwDSxAN0yZC R8+EutymnwjtanvvVxo1tH6CthjPyesLRIqtK9JDMG2pPpA0YAFT+bNFSzKfTE54IMKj vWDidhS3PA5BMY/cF+6TZHTf2hPPbLZD5c/9vDTDTLlZvWFfFeDcV4bsHLAiOaYyPAmB Be77lMEn9gjPj7bRjZYpZfqij789MOgzKVtKxWoDYptw7qZ97bAEcooXQvbjvBO74BpE p2fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GfhUIt0/Q7TIRCz2kLGz6o+tcx9iOpiKKzww7T1cPbk=; b=Da1+AFfk3xG5ctaEIl0USBcvpOVT4alk0DZ0Z6XRg662ksTb7QgSjZNc+3YjB6GEUw k9xuE3OQbNx5gR1LEoTtNDSGvgselyZ6kwUrnGsSy0a9HgzXuH8lbgOH2a/UlJh45PnD T/wGVyf58JRnR+w+uimlY6unDqg9VWzv8D1ojE+BKNzQItuISiiwJx7XnbVbXnRKgAmj Xxrb722BgTZqL0oJG6j/uN8b+v/r3c6b+0AKMcFuDs9C8eD3s1o5+DooF/NdINKpDKM3 SX08et0gC/4LCQfNstNCw9w4g8ENfzw0APKp7gPDkLjDEKtUenDxjb+nKlN03+lmr1kl +iZQ== X-Gm-Message-State: APjAAAXyYQc3CsDLYGiSs4QHCR8jB5uRIaH2VM1HdypoKXl35dnc8kTF 7u4H/gR8eHJ8j0zKTQ8xqteo3w/efVM= X-Google-Smtp-Source: APXvYqyzmta0/UUuTYqaN53wVECxasAgEQcA/ye+1MNEX1eKuqPTA7RtBgndbayzI9xELwp2PBNxvg== X-Received: by 2002:a0c:b719:: with SMTP id t25mr15202924qvd.32.1572226661953; Sun, 27 Oct 2019 18:37:41 -0700 (PDT) Received: from localhost.localdomain ([194.59.251.37]) by smtp.gmail.com with ESMTPSA id c15sm5212556qkc.101.2019.10.27.18.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 18:37:41 -0700 (PDT) From: Forest Crossman To: ffmpeg-devel@ffmpeg.org Date: Sun, 27 Oct 2019 20:37:29 -0500 Message-Id: X-Mailer: git-send-email 2.23.0 In-Reply-To: References: <20191020095533.15016-1-cyrozap@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 4/5] doc/indevs: Add examples for libdc1394 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Forest Crossman Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Forest Crossman --- doc/indevs.texi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/doc/indevs.texi b/doc/indevs.texi index 757fac91de..82609a38c9 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -1086,6 +1086,37 @@ Set the video size given as a string such as @code{640x480} or @code{hd720}. Default is @code{qvga}. @end table +@subsection Examples + +@itemize + +@item +List all the connected IIDC cameras. +@example +ffmpeg -sources libdc1394 +@end example + +@item +Grab and record the input of an Apple iSight. +@example +ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 320x240 -framerate 30 -i auto out.mkv +@end example + +@item +Grab and record the input of a specific Apple iSight. +@example +ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 640x480 -framerate 15 -i 0x000a270004106ea3 out.mkv +@end example + +@item +Grab and record the second stream from a specific camera that has +multiple units. +@example +ffmpeg -f libdc1394 -pixel_format uyvy422 -video_size 640x480 -framerate 15 -i 0xfacade02bc394f15:1 out.mkv +@end example + +@end itemize + @section openal The OpenAL input device provides audio capture on all systems with a