How to compress video files in windows 8.1 how to#
For easy follow-up, I hided the code of boundary condition. How To Compress Video Files Less Than 5 Times The Size While Keeping The Quality.This information is very important if you do a lot of uploading to YouTube.P. Change the compression algo for your situation if you want. Then, construct commands by ffmpeg.input() and ffmpeg.output().
![how to compress video files in windows 8.1 how to compress video files in windows 8.1](http://blogs.it.ox.ac.uk/adamweblearn/files/2013/10/handbrake-10.png)
![how to compress video files in windows 8.1 how to compress video files in windows 8.1](https://www.anymp4.com/images/video-editing/compress-a-video-on-windows-live-movie-maker/save-the-video-using-the-new-settings-plan.jpg)
And calculate the bit rate of the target file based on what we have. Probe the configuration of video by function ffmpeg.probe() to get duration, audio & video bit rate and so on. Firstly, pip install ffmpeg-python and install FFmpeg. And there is a great Python binding named ffmpeg-python ( API Reference) for this. Compress video files by Python and FFmpeg ToolsįFmpeg is a powerful tool for video editing.