FFmpeg: Difference between revisions

Jump to navigation Jump to search
Line 51: Line 51:
<code>-b:v 8M</code> sets the video bit rate, in bits per second. You can use "k" or "M" as shorthand for a thousand or a million respectively. See [[Video Codecs]] for help choosing a bit rate.  
<code>-b:v 8M</code> sets the video bit rate, in bits per second. You can use "k" or "M" as shorthand for a thousand or a million respectively. See [[Video Codecs]] for help choosing a bit rate.  


<code>-r:v 25</code> sets the video frame rate, in frames per second.  
<code>-r:v 25</code> sets the video frame rate, in frames per second. By default, the frame rate of the original video is kept.


<code>-acodec aac</code> specifies audio codec. AAC is used by default if your output is a .mp4 file. For AVI the default is MP3.
<code>-acodec aac</code> specifies audio codec. AAC is used by default if your output is a .mp4 file. For AVI the default is MP3.