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 5686C458BE for ; Mon, 27 Mar 2023 05:29:57 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id ECD0368C9A9; Mon, 27 Mar 2023 08:29:55 +0300 (EEST) Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D641368C7A8 for ; Mon, 27 Mar 2023 08:29:49 +0300 (EEST) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4PlLwq2tqSz9sTx for ; Mon, 27 Mar 2023 07:29:47 +0200 (CEST) Message-ID: <47d095a4-5c13-b5a1-358a-0e002eb54c9e@gyani.pro> Date: Mon, 27 Mar 2023 10:59:34 +0530 MIME-Version: 1.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230327002253.96051-1-stefasab@gmail.com> From: Gyan Doshi In-Reply-To: <20230327002253.96051-1-stefasab@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] doc/ffmpeg: slightly rework introductory examples 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 2023-03-27 05:52 am, Stefano Sabatini wrote: > In particular, add a sentence to introduce the example, and add a simpler starting example. > > Address issue: > http://trac.ffmpeg.org/ticket/8730 > --- > doc/ffmpeg.texi | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi > index adfc2726ff..68a6bc6e22 100644 > --- a/doc/ffmpeg.texi > +++ b/doc/ffmpeg.texi > @@ -49,22 +49,30 @@ Do not mix input and output files -- first specify all input files, then all > output files. Also do not mix options which belong to different files. All > options apply ONLY to the next input or output file and are reset between files. > > +Some simple examples follow. > + > @itemize > @item > -To set the video bitrate of the output file to 64 kbit/s: > +Convert an input media file to a different format: > +@example > +ffmpeg -i input.avi output.avi It's not clear that the output is a different format. A different extension, maybe. Regards, Gyan > +@end example > + > +@item > +Set the video bitrate of the output file to 64 kbit/s: > @example > ffmpeg -i input.avi -b:v 64k -bufsize 64k output.avi > @end example > > @item > -To force the frame rate of the output file to 24 fps: > +Force the frame rate of the output file to 24 fps: > @example > ffmpeg -i input.avi -r 24 output.avi > @end example > > @item > -To force the frame rate of the input file (valid for raw formats only) > -to 1 fps and the frame rate of the output file to 24 fps: > +Force the frame rate of the input file (valid for raw formats only) to 1 fps and > +the frame rate of the output file to 24 fps: > @example > ffmpeg -r 1 -i input.m2v -r 24 output.avi > @end 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".