I want to minimize the size of a .mp4
video file from 300MB to around 25MB. How do I do it?
I tried using HandBrake, but it is not doing as much as I wanted.
Is there any coding procedure to do it in terminal, or any other way?
I want to minimize the size of a .mp4
video file from 300MB to around 25MB. How do I do it?
I tried using HandBrake, but it is not doing as much as I wanted.
Is there any coding procedure to do it in terminal, or any other way?
There are Linux alternatives to Handbrake, such as FFmpeg, as shown here, and mencoder (illustrated here), and libav-tools, illustrated here.
Handbrake does have a command line interface ('CLI') options, as shown here and here, and here is a primer for GUI use. I suggest converting the larger file to MKV format (it enables use of the very efficient H265 compression for video) and AAC audio to better shrink the file, i.e., with the command line option switches shown below to compress the video to 5 fps and 8 kbps AAC audio, which as low as you can go with HandbrakeCLI:
HandBrakeCLI -f --av -e --x265 -r --5 -R --8 -E --av_aac -i --PATHNAME_TO_SOURCE_FILE -o --PATHNAME_FOR_RESULT_FILE
You may also find useful help at the Handbrake forum and elsewhere which notes you can get an 1/8 compression just by changing from 1080 to 360. Add that to reducing the audio quality (which represents around 1/3 of multimedia files) and you might get the 1/12 size you seek.