Skip to content

VasylBaran/encode_script_linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

encode_script_linux

Bash script that will allow you to encode all videos in your Watch folder with just one click.

Note: recommended to use with Linux.

It takes video files from Watch folder (by default: usr/Decuments/Watch) and starts encoding them using HandbrakeCLI, so you have to install it first. Encoded videos are placed in the Output folder (by default: usr/Decuments/Output) along with log file. After that a source file from Watch folder will be deleted.

You can change your Watch/Output folder location by editing line 25: FILES="/Users/samael/Documents/Watch/*"

You can change your encoding settings by editing line 26: PRESET="-e x264 -q 20 --x264-preset veryfast"

Supported file formats: .mp4, .avi, .mov, .mkv

More on encoding settings of HandbrakeCLI: https://trac.handbrake.fr/wiki/CLIGuide

Note: you might need to make this command-file executable before using it. It can be done with following: sudo chmod +x /file_path/encode_script.command

Cheers! ;-)

P.S. MacOS version can be found here: https://github.com/VasylBaran/encode_script_handbrake_macos

About

Bash script that will allow you to encode all videos in your Watch folder with just one click.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages