https://github.com/Suraj520/hand-brake-video-compression-conversion-opencamera-ecosystem/

Shell script is also attached

How to run ?
Install hand brake and handbrake-cli in Linux, best weissman score based compression guaranteed - opensource, local/offline

$ sudo apt-get install handbrake handbrake-cli


$ nano batch_compress.sh #copy the content if you cannnot access Github
$ chmod +x batch_compress.sh
$ ./batch_compress.sh -i input-folder-containing-gigabytes-of-video -o output-directory-where-compressed-45-mb-or-less-videos-shall-be-written

USE CASE FOR SPACE AGENCIES - IT MAYBE OF USE TO PEOPLE WHO ARE PLANNING TO STREAM VIDEO FROM PROBERS/ROVERS THAT CAN CARRY LIMITED STORAGE, WHEN SENT ON OTHER PLANETS.

hand-brake-video-compression-conversion-opencamera-ecosystem
Useful when you have limited cellular data and are supposed to upload something crucial to social media platforms, or to just ensure that your multi media video uploads to Cloud storage are compressed and optimised to make space for future uploads - One Drive, G Drive, Zoho Drive, Proton Drive and others.

Hand brake based Bash scripts and SOS Apps to assist Global Youth Protests - Opencamera, Bitchat, XAPK installers and many more, to combat unprecedented youth protests - world wide which may result in Internet outage, chats or other things and thus enable everyone to pivot to low cellular data based alternatives.

General Broadcast
Please refer to the bash script that will let you compress or convert batch videos from a folder or equivalent.

Where will it be helpful ?

Google Takeouts especially Multimedia formats that are Hundred of GBs.

Also helps to manage your cloud storage, if you are running out of space. Download high resolution videos and upload low resolution compressed videos to save space on G Drive, One Drive, Proton Drive, Zoho Drive among other cloud storages

Assist you in uploading compressed video to social media platform when your data pack over cellular broadband(4G LTE, 5G, 6G) is less and you want to upload something.

If you can play with presets, Expect that you can compress 1-2 GB of video recording from your phone(High Res) to Low res compressed on either a cloud instance or your laptop.

Input size - 2-3 GB for standard video recording from your stock camera app

Output size - 40-70 mb, with good presets.

Super helpful, if you are not able to use OpenCamera based android apps to remove your stock camera app that yields bulky recording dumps.

Just use handbrake on cloud instances or your laptops

Google Drive Link - https://drive.google.com/drive/folder...

Recommended