From patchwork Sun Oct 20 09:55:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Forest Crossman X-Patchwork-Id: 15859 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 7BE6B4489DD for ; Sun, 20 Oct 2019 12:56:07 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 62DEB68AF22; Sun, 20 Oct 2019 12:56:07 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D3F0D68AEE8 for ; Sun, 20 Oct 2019 12:56:00 +0300 (EEST) Received: by mail-oi1-f196.google.com with SMTP id 83so8740999oii.1 for ; Sun, 20 Oct 2019 02:56:00 -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=4BfWCMssqcm5QEy1gkx4y3wZqiCDs1sFmPuv8vK7oTA=; b=MPwBJBF8eThd1Htd2MsjgmwlB2wVVTn5VUki7p+Pb5oGj/ZNMi2kv9Z0p6PVCng22f sKzc9iJrJ7gG5Dgyp2LUptbuIjI/Q4f0UTIFD3iriaYSYZm0DqLhwchPnFzkAwbP7HnT lkUskIN/C50bUD9Ml5Aelk8+PZCw4iowg7LpYHAegm9piCcQRZSpx9PsMldxsmouH6ac CnEn9zre8eCMm//HCayelozMHjKqEMpAj5NS3Kj/T0QjEXG81s8MpE0qd0bM1mhVk8tZ SvmmqpyVwZ7roakdJJJPu6e18eM01H/lga8PC9rXYz6MYGEPZ0JoV3eLpgoXWqkmVynU ZyiQ== 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=4BfWCMssqcm5QEy1gkx4y3wZqiCDs1sFmPuv8vK7oTA=; b=WXd2patrQfL0mO73vtZRPJgcxNivPloALign1gcB0OAcVsucE1lv0OZ/qsNLUGTwLZ TlPqZmI1F4t8U6bW60CcflY3eMCBebalUF/VPkTFpZVjaoUO0p80/OID5JoVrdNEgHqe 1thZrIv6lTwi3+5Xy0IsUUFYg33oN1lwG938JlwrTkv9SxXbUj8plmf6rNOSQAFmr5dA lNuLPC7SwSr/NLPT9T8Cff7yS5yEYzcY7rK3Xmb/jaOj7uVfLO/CFSVLfxsVC+3rAHxy OxRT5obrmsuZt4PDILMuuLQqglBULLUz06ncM2FKkdbwRxtnBQhjn08Ju0fJn1y/ci5h NB/g== X-Gm-Message-State: APjAAAWUxnIooNRIGErKhPTQaIiQC09q09yf6RqqS9xC1JIJM9QdxHBt rFBMKZ1tglLQ8W003kv5pUNfeC5/ X-Google-Smtp-Source: APXvYqyqcHKAB0Iot78InF09x6aMM1rMDJVx8sP0nVG5KEnoywmpDgg3R9LraLp5wKL2FajVNRwRJA== X-Received: by 2002:aca:b8d6:: with SMTP id i205mr14335403oif.116.1571565359447; Sun, 20 Oct 2019 02:55:59 -0700 (PDT) Received: from localhost.localdomain (ip-137-232-239-173.texas.us.northamericancoax.com. [173.239.232.137]) by smtp.gmail.com with ESMTPSA id 60sm3247187oto.27.2019.10.20.02.55.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 02:55:58 -0700 (PDT) From: Forest Crossman To: ffmpeg-devel@ffmpeg.org Date: Sun, 20 Oct 2019 04:55:32 -0500 Message-Id: <20191020095533.15016-5-cyrozap@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191020095533.15016-1-cyrozap@gmail.com> References: <20191020095533.15016-1-cyrozap@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 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 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/doc/indevs.texi b/doc/indevs.texi index 757fac91de..078f45497a 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -1086,6 +1086,57 @@ 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 an Apple iSight, using the shorter options. +@example +ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 320x240 -r 30 -i auto out.mkv +@end example + +@item +Grab and record the input of an Apple iSight, specifying the framerate +as a ratio. +@example +ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 320x240 -r 30000:1000 -i auto out.mkv +@end example + +@item +Grab and record the input of an Apple iSight at a greater resolution but +a lower framerate. +@example +ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 640x480 -r 15 -i auto out.mkv +@end example + +@item +Grab and record the input of a specific Apple iSight. +@example +ffmpeg -f libdc1394 -pix_fmt uyvy422 -s 640x480 -r 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 -pix_fmt uyvy422 -s 640x480 -r 15 -i 0xfacade02bc394f15:1 out.mkv +@end example + +@end itemize + @section openal The OpenAL input device provides audio capture on all systems with a