Skip to content

Automated media ingestion - This project provides a Python-based solution for finding and encoding video files on a Linux machine using FFmpeg and HandBrakeCLI.

License

Notifications You must be signed in to change notification settings

demorgon989/AutoEncoder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Video Encoder

This project provides a Python-based solution for finding and encoding video files on a Linux machine using FFmpeg and HandBrakeCLI. It consists of several modules that work together to scan for video files, encode them, and provide a user-friendly interface for operation.

https://youtu.be/2BMk4HheUmg

Installation

To install the necessary dependencies, run:

sudo apt-get install -y python3 ffmpeg libdvdread4 libbluray-bdj libdvdcss2 udisks2
pip install -r requirements.txt

If you are working with blurays you'll need 'makemkv'. Depending on your OS you will have different installation methods

Usage

To find and encode video files, you can run the script using python

sudo python3 path/to/your/directory/autoencoder.py

This will initiate the scanning of connected video files and encode them using the specified settings in the config.json file.

Config

  • search_path - You can specify a specific directory to search if the scan doesn't find your files.
  • output_dir - Where your videos will be encoded to
  • rip_dir - Where your ripped blurays will be saved
  • final_dir - Where you encoded video are sent after a sucessful run. Set to null if the output_dir if where you want them to stay.
  • max_threads - How many simulaneous encodes you want running
  • rescan_interval - Wait time between scans in seconds
  • min_size_mb - The minimum size in Megabytes for a video to be encoded
  • video_extensions - A list of video extensions that will be encoded
  • profile - The profile you want to use for encoding
  • profiles - These are examples created that use the ffmpeg and HandBrakeCLI commands. See their docs for other parameters.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Automated media ingestion - This project provides a Python-based solution for finding and encoding video files on a Linux machine using FFmpeg and HandBrakeCLI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%