User Tools

Site Tools


how_to_reduce_a_video_file_size_with_ffmpeg
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
how_to_reduce_a_video_file_size_with_ffmpeg [2024/03/12 21:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Since 2013 a video format much better than H.264 is widely available, namely H.265 (better in that it compresses more for the same quality, or gives higher quality for the same size). To use it, replace the libx264 codec with libx265, and push the compression lever further by increasing the CRF value — add, say, 4 or 6, since a reasonable range for H.265 may be 24 to 30. Note that lower CRF values correspond to higher bitrates, and hence produce higher quality videos.
 +
 +<code>ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4</code>
  
how_to_reduce_a_video_file_size_with_ffmpeg.txt · Last modified: 2024/03/12 21:23 by 127.0.0.1