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 6D8C643C5D for ; Mon, 27 Mar 2023 00:23:05 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B5FA968C6B4; Mon, 27 Mar 2023 03:23:02 +0300 (EEST) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 943A268C698 for ; Mon, 27 Mar 2023 03:22:56 +0300 (EEST) Received: by mail-wm1-f45.google.com with SMTP id bg16-20020a05600c3c9000b003eb34e21bdfso6313654wmb.0 for ; Sun, 26 Mar 2023 17:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679876575; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=z770aH8vTnHs98C3psdfeaih3cI8eGuDufRSwPshBfA=; b=cU2UzFf0mERwvDuN/z64ucpwfI1efSntRz/CYIfOWEc03lzVp8CUrN+DAcnd7lyXIl l1R5GFtKRGejf7gWSUmFSePZ01//CK93/szu7RTfS/b2Ae07xGlLyWwIqJ6XQz2lyhEj 3rVIQ1GBX2YouRbqSKJCJVAblgoOyrsFjfJLM+WjGXJTPx9gD98GrNiDGfK6W6w3k7zm dKiZxuGvLtBOZlN19u4pb0WOmjpyJv9KxuPgVyIjjdPioiSaz8qZzTaCgLP3rnuYjeiz 0/F/3tujjL6VDo1GbOPZnvUFDc4ILoYLAkYKqFd/mjYryD92tDC6cirUW9U6Uugb9WqC DYFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679876575; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z770aH8vTnHs98C3psdfeaih3cI8eGuDufRSwPshBfA=; b=7PUA7UWB/M+e9aM75fMuSWa9dFoRUM24V8fl9sSqpIDhbcx074lg7XChFfmUHT3iEz 1UCdivG7IwpVcVqhjA1ALMthk2nNJJ31nu6ukdaAsDy00gWkKGIHrCynDhykX6DtexrA 9v98AYH1eXN/exvKhfYhX8fUBrgIOA2xx8pJEDO2LOQSfMbZPvBk2PkpR3XtvpdiYYDZ GwIDzVhYY52JOGnZBj7eJyqTZqu4vGYI8iWYOu2D48GYuLkIbAmSOoyF+0lpCQH2O23+ UW/4MNjz52uU+4cuFkwRKATgZc7XCXWn5E6SWVUlY1I8SW32v67N36jusQWEFGavVGMQ Wqrg== X-Gm-Message-State: AO0yUKWJknMjwYIA8v5VGjDOtL81+rNoIICTrcMyuqDt8q46LY9vmbxp sSJ0ZnNMm5V8ONLikGSuL15n4FlpfcA= X-Google-Smtp-Source: AK7set/+/BkP1AWI8Qzs5AwvJPVwBdf4mqV0UOzMz6ktDyt1dzZTdODEn+meQnDctcvkqXSl3tryOg== X-Received: by 2002:a05:600c:2249:b0:3e2:2467:d3f5 with SMTP id a9-20020a05600c224900b003e22467d3f5mr7543905wmm.25.1679876574466; Sun, 26 Mar 2023 17:22:54 -0700 (PDT) Received: from mariano (dynamic-adsl-62-10-98-143.clienti.tiscali.it. [62.10.98.143]) by smtp.gmail.com with ESMTPSA id p5-20020a05600c358500b003ef6f87118dsm716969wmq.42.2023.03.26.17.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 17:22:53 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 05208BFB73; Mon, 27 Mar 2023 02:22:53 +0200 (CEST) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Mon, 27 Mar 2023 02:22:53 +0200 Message-Id: <20230327002253.96051-1-stefasab@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [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 Cc: Stefano Sabatini 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: 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 +@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 -- 2.25.1 _______________________________________________ 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".