From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id EA7B246228 for ; Tue, 12 Dec 2023 00:01:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 97B5268D1E1; Tue, 12 Dec 2023 02:01:19 +0200 (EET) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EAA2368D1A0 for ; Tue, 12 Dec 2023 02:01:12 +0200 (EET) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3332ad5b3e3so4644159f8f.2 for ; Mon, 11 Dec 2023 16:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702339271; x=1702944071; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=HfNlwfzqUAbvnflDbrv96KWyqAp0tJSmgmDh12xK2Zo=; b=WmozQZ6A13vyKqtfcJK/kO1sClGcwqJwI/WvT8J/9HGwQ11Pdx949ZflSZjTMAgIEG NtNxFAJo3NSO16k1ll8XhTjVdcOz6BDqyQ9bGRplyvVcCYKZkUKLCPdDPCeAC9CABcah kc1cN0fPBN8iSCp72Kx3Pn6mm9YAW4XbEgSe4ZApWbAEijVbBW75jez+hKCJlZuNk9cx nGhuCFCM3qS+FNI0gA6s5roFICnfMrn06ScgSqKLLgQ+uTcAkeZbWsptO66SOr58Z2Qk ex5qFc0Xtuy3SXeJ6vf7qVBRrGUOcYa9fznEE1xXU4XHY9aO1eIzHifiji9PDM5I+OEM ue8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702339271; x=1702944071; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HfNlwfzqUAbvnflDbrv96KWyqAp0tJSmgmDh12xK2Zo=; b=Nx48k7aGoM6vttisV4iVUF2u+8objDQDwiEujaq3CH0+TTD4W1ySD5CljppofJKFMN iC3TJRXoUtNi8N9LVK5yR9lwx5d/IP2NlPIFv5VU7wdEm5vbwTRkQ0hbL3HvmB8+bYh7 xVBGG169HsfVijSuFUEeZgru0qX7xTpNYg8PNnhxjB54/Y92bZCHLZ3/6nscZvf3gTUe 9L+ksEBAGdP8sHZK3aeGKdNOgUDO95X+3xzrnyeu44VuGbhuw80FoiqMK/8N/B6Rv0hE k3mu0hGwBvTRAYViJK7as8aC4f1Fs6J96V0IrsN3x3wBmUXl1p030SqJydmXCQchLMq/ V3PA== X-Gm-Message-State: AOJu0YxH3Ukt3uwGv8LQc6ZNio46cFrCbwCxGBXQtYVGUocMCqrONstp 7qR6J/h2yqA+YoQWv+FCNf3KXCwiz0Y= X-Google-Smtp-Source: AGHT+IGWAviQRpS0keKScBpSSrowFss4vnuMi53VH1BJG7m2pRTDZy6ZHtg6RLSY2DVOuz8spHysUg== X-Received: by 2002:a05:600c:1c05:b0:40c:3856:5e07 with SMTP id j5-20020a05600c1c0500b0040c38565e07mr2664580wms.9.1702339270661; Mon, 11 Dec 2023 16:01:10 -0800 (PST) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id u21-20020a05600c139500b00405d9a950a2sm16639904wmf.28.2023.12.11.16.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 16:01:10 -0800 (PST) Received: by mariano (Postfix, from userid 1000) id 13805BFCDA; Tue, 12 Dec 2023 01:01:09 +0100 (CET) Date: Tue, 12 Dec 2023 01:01:09 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches , Marth64 References: <20231210025708.866512-1-marth64@proxyid.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231210025708.866512-1-marth64@proxyid.net> User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH] doc/ffprobe: add a useful one-liner example to get essential input information as JSON X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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: Marth64 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On date Saturday 2023-12-09 20:57:09 -0600, Marth64 wrote: > Signed-off-by: Marth64 > > This could be useful for folks who are just learning ffmpeg or have simple needs for parsing input information as JSON. > > --- > doc/ffprobe.texi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi > index b74ff650ac..ed88e619f6 100644 > --- a/doc/ffprobe.texi > +++ b/doc/ffprobe.texi > @@ -572,6 +572,12 @@ printed on a single line. Default value is 0. > > For more information about JSON, see @url{http://www.json.org/}. > > +@subsection Examples > +Output format, stream, and chapter information of an input as JSON: > +@example > +ffprobe -of json -show_format -show_streams -show_chapters INPUT > +@end example Not convinced this is the right place for it (because the writers section is mostly about the writers). Probably we miss an overall generic section showing complete examples (which might well contain your example). _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".