The current crowned champions of quality retentive video file types are the various containers available for flash videos and Windows media videos (FLV and WMV). Interestingly enough, though, mp4s are not the lowest one can go in pursuit of the perfect tiny file size. Compression was discussed in question 16, How to Use -filtercomplex Without Losing Video Quality, the same suggestions apply. The slower the preset the better compression. Presets are various encoding speeds to compression ratios. The takeaway here is that the smallest mp4 of a specific video will always be smaller than the smallest avi of the same video, but there is variability in size and quality even within either of these file types. ffmpeg -i input.mp4 -vcodec libx265 -crf 23 output.mp4 Another example is with presets. This comes down to the logic built into the container’s intended environment, but even that can be modified by choosing the right codec for encoding your file, favoring quality with larger sizes or portability with smaller ones. For instance, avi file extensions tend to be much bigger than mp4 files. When it comes to video files, not all types are created equally. However, to truly reduce file sizes of videos in an optimal way, we’ll need to take certain extension attributes into consideration.
0 Comments
Leave a Reply. |