The program uses 100% of the CPU to support parallel encoding, be aware of CPU temperatures!
- parallel (linux)
- zenity for UI
-
Get original video source and create segments of
30seconds each without re-encoding -
Executes parallel compression with available physical core with the following syntax:
parallel -j xwherexis the number of physical cores-c:v encodername of the encoder used, in this caselibvpx-vp9-b:v 0disables fixed bitrate-cfr 40high compression rate, visually the qualty feels lossless.-c:a libopusfor efficient audio encoding-threads xavailable threads in total.-row-mt 1enables multi-threading for VP9.-cpu-used xoptimized speed encoding, x are physical cores.-tile-columns 4divides the video in columns to optimize parallel encoding.-frame-parallel 1enables parallel encoding of frames.
-
Concatenates the generated webm segments into a final
webmvideo file.
NOTE: Cores and threads are automatically obtained. Special characters are handled.
- source:
mp4 h264 1920x1080 50FPS 2.5gb - destination:
webm VP9 800mb
Results may vary based on the original compression of the file, might compress more, or less.