Newly Compressed Videos


The two videos below underwent a compression in order to reduce the amount of memory in my WordPress Media file. They are located in the Cinema/Video page under expressions. There are other videos there on the Cinema/Video page that have yet to be initiated in the process. This gives me a solid way in which to reduce over all data usage under the expressed allotment of my package.

This is an ongoing process through the Media folder I have that incorporates all the video, music, and images that are reproduced in these successive posts. So honestly if I had one button for the whole of the archive of media files to automatic exchange present uncompressed files, I would be one happy person. The maze I have gone through these past couple of weeks has been an enormous and Herculean task. It has been the start of a completed Archive task and site management system, that had the underscore of continuing on its own with the Builder always present. Now with what I know, I have to work backwards and compress files in most of those successive posts to give that comfortable room within the constraints of my WordPress plan. This is important work in the way you learn to be thrifty in your approach or face the movement towards expulsion for going over limits of your plan, or an inactive site. It is in that sense being thrifty provides accountability to the larger scope and vision of anyone’s site.

So when looking at your media archive under WordPress, you get a data amount regarding usage and you use the figure as a point in this time to see how your compression work is going along as that number I’d reduce. It has been said that this updating may take up to twelve hours to update….and I have in some situations that it is faster. The two videos alone used over approximately almost 1 gigabytes of information in video format. Now having replaced those files and not having an update currently, I am expecting the results over that approximate figure of 12 hours.


Eskesthai Repeatable Video Compression Model

The model

Every video is processed with the same basic rules:

1. Keep the original duration.

2. Keep the original frame rate.

3. Do not upscale small videos.

4. Reduce very large videos to a maximum width of 1280 pixels.

5. Encode video as H.264 using CRF 25.

6. Use the veryfast encoding preset.

7. Encode audio as AAC stereo at 128 kbps.

8. Put the result in an MP4 container.

9. Add fast-start metadata so web players can begin playback sooner.

The output receives the suffix:

-compressed.mp4

Example:

The Pilot Wave.mp4

becomes:

The Pilot Wave-compressed.mp4

Running it

Install FFmpeg first, then run:

python compress_video.py “The Pilot Wave.mp4”

The program is deliberately simple so the same compression method can be repeated on every video.

Important duration rule

The program does not intentionally trim, speed up, or slow down the video.

If the original is 6:07, the compressed result should remain approximately 6:07.

Compression reduces the amount of data required to represent the same moving images and sound; it does not mean shortening the song.

Why this model

For the Eskesthai archive, the goal is not maximum possible compression at any cost. The goal is a repeatable balance:

SOURCE VIDEO
↓
same duration
same frame rate
no unnecessary enlargement
↓
H.264 CRF 25
AAC 128 kbps
↓
WEB-READY MP4
↓
WordPress

If a particular video shows unacceptable visual loss, the quality setting can be changed systematically rather than changing the method at random.


Leave a Reply