FFmpeg: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
==Installation==
==Installation==
===Windows 10/11===
===Windows 10/11===
#Download the latest ffmpeg-release-full build on https://ffmpeg.org/download.html
#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.


Note: you can use <code>-c copy</code> to trim without re-encoding, but in this case FFmpeg can only cut to the nearest keyframe, so the output may not be exactly the same length as specified.
⚠️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/>