FFmpeg: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
FFmpeg is an open-source command-line tool to convert audio and video files. <br/> | FFmpeg is an open-source command-line tool to convert audio and video files. <br/> | ||
We know command-line tools can seem scary! But conversion software GUIs are often a more limiting, or will obfuscate what gets done to your video or audio file. For the highest level of control and transparency, we therefore highly recommend using FFmpeg for all your AV conversion needs. | We know command-line tools can seem scary! But conversion software GUIs (graphical user interfaces) are often a more limiting, or will obfuscate what gets done to your video or audio file. For the highest level of control and transparency, we therefore highly recommend using FFmpeg for all your AV conversion needs. | ||
<!-- Table of Contents will be generated here --> | <!-- Table of Contents will be generated here --> | ||
| Line 22: | Line 22: | ||
==Installation== | ==Installation== | ||
===Windows 10/11=== | ===Windows 10/11=== | ||
#Download the latest ffmpeg-release-full | #Go to https://ffmpeg.org/download.html | ||
#Unpack the 7z/zip file anywhere you like | #Under "Get packages & executable files", select the Windows logo and follow one of the links below (''gyan.dev'' is most common) | ||
#Download the latest ''ffmpeg-release-essentials'' .7z or .zip file.<ref>The FFmpeg "essentials" version should be fine for most purposes; use "full" version for more obscure/obsolete/experimental formats</ref> | |||
#Unpack the 7z/zip file anywhere you like. | |||
#Add ffmpeg to Windows' Environment Variables: | #Add ffmpeg to Windows' Environment Variables: | ||
## Open the start menu and start typing "Environment Variables" | ## Open the start menu and start typing "Environment Variables" | ||
| Line 92: | Line 94: | ||
<code>-b:v 8M</code> specifies video bit rate, in this case 8Mbit/s, which determines video quality. | <code>-b:v 8M</code> specifies video bit rate, in this case 8Mbit/s, which determines video quality. | ||
⚠️If you use <code>-vcodec copy</code> to trim without re-encoding, FFmpeg can only cut to the nearest keyframe, so the output may not be exactly the same length as specified. | |||
===Batching=== | ===Batching=== | ||
| Line 128: | Line 130: | ||
==See Also== | ==See Also== | ||
* [[Video Codecs]] | * [[Video Codecs]] | ||
==References== | |||
<references/> | |||