HandBrakeCLI-ColabNotebook v1.3
Consider giving this repo a star ⭐ if it helped you.

Features:
Mount/Unmount your Cloud drive with rClone.
Transfer files between your cloud drives with the speed of google's fast servers.
Convert videos online with the help of HandBrake.
Batch Convert directories.
Resume support for Batch conversion jobs. Pick up right after the last successful conversion in Batch Job when your colab notebook restarts or disconnects.
Get email notification when your task(s) have finished.
Extract audio from video clips!
Remove audio from video clips!
Extract images from video clips!
Usage
Click on the "Open in Colab" button.

Notes
To use email notifications only gmail id can be used and use an app specfic password Google account settings in order for the feature to work.
Only you and those who can see your screen physically can see your passwords.
Your passwords are stored in a local variable in your Jupyter Notebook and not stored anywhere less. It gets automatically destroyed when Google purges your notebook.
Do not remove processed_db.txt from your current batch directory else it'll process same files again and again each time you restart the notebook!
Read more about app specific passwords here: Google Account Help
FAQs
Q> What is rclone? How do I get rclone.conf file?
A> Everything has been answer here in this forum. Please have a read :Rclone
Q> How to add more flags to the script?
A> Just add them to the Additional_Flags: ______ in below format.
Example:
`--bframes '8' rc-lookahead '40' no-rect`
Note: Numbers should be in single quotes.
Q> Where do I ask for help or feature requests?
A> Open a new request or issue here in github. Please don't message me directly.
Handbrake CLI reference
Read more about CLI commands here: Handbrake CLI Docs
Pull Requests are welcome.