Go to file
2020-11-18 21:00:36 -05:00
docs Started separating the script in modules and object oriented approach 2020-11-17 20:06:02 -05:00
mediacurator Fixed permissions post conversion 2020-11-18 21:00:36 -05:00
.gitignore Started separating the script in modules and object oriented approach 2020-11-17 20:06:02 -05:00
LICENSE Started separating the script in modules and object oriented approach 2020-11-17 20:06:02 -05:00
README.md Started separating the script in modules and object oriented approach 2020-11-17 20:06:02 -05:00
requirements.txt Removed un-used dependency 2020-11-05 08:35:40 -05:00

MediaCurator

MediaCurator is a Python command line tool to manage a media database.

  • List all the video's and their codecs with or without filters
  • Batch recode videos to more modern codecs (x265 / AV1) based on filters: extentions, codecs ...

Installation

This package (For now) will only work on GNU/Linux and requires FFMPEG installed. For now it will be distributed on GitHub

Installation:

git clone https://github.com/fabquenneville/MediaCurator.git
cd MediaCurator
pip install -r requirements.txt 

Usage

./curator.py [list,convert] [-del] [-verbose] [-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid] [-filters:fferror,old,lowres,hd,720p,1080p,uhd,mpeg,mpeg4,x264,wmv3,wmv] [-out:mkv/mp4,x265/av1] [-dir/-files:"/mnt/media/",,"/mnt/media2/"]

for multiple files or filenames use double comma separated values ",,"

default options are: -in:any -filters: -out:mkv,x265

Examples:

./curator.py list -filters:old -dir:/mnt/media/ >> ../medlist.txt
./curator.py convert -del -filters:mpeg4 -out:x265,mkv -dir:"/mnt/media/Movies/"
./curator.py convert -del -verbose -in:avi,mpg -dir:/mnt/media/

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU GPLv3