Go to file
Fabrice Quenneville 8319851836 Improved ffmpeg conversion script with stream mapping, quality control, and new format support
- Added explicit stream mapping for video (-map 0:v), audio (-map 0:a?), and subtitles (-map 0:s?) to preserve all streams during conversion.
- Removed '-strict experimental' for AV1 as it's no longer necessary for most ffmpeg builds.
- Introduced CRF (Constant Rate Factor) settings for AV1 and x265 for better control over quality and file size.
- Standardized audio and subtitle copying with '-c:a copy' and '-c:s copy' for efficiency.
- Added support for .mov and .ts formats in MediaCurator.
2024-10-17 15:38:35 -04:00
docs Updated docs 2024-05-01 17:55:16 -04:00
docsource Updated docs 2024-05-01 17:55:16 -04:00
mediacurator Improved ffmpeg conversion script with stream mapping, quality control, and new format support 2024-10-17 15:38:35 -04:00
tests Permission fixed. 2022-09-05 03:52:09 -04:00
.gitignore Permission fixed. 2022-09-05 03:52:09 -04:00
LICENSE Permission fixed. 2022-09-05 03:52:09 -04:00
MANIFEST.in Permission fixed. 2022-09-05 03:52:09 -04:00
README.md Permission fixed. 2022-09-05 03:52:09 -04:00
requirements.txt Permission fixed. 2022-09-05 03:52:09 -04:00
setup.py Added a line break and fixed a typo. 2024-04-24 19:35:31 -04:00
TODO.md Permission fixed. 2022-09-05 03:52:09 -04:00

MediaCurator

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

  • List all the videos and their information with or without filters
  • Batch find and repair/convert videos with encoding errors
  • Batch recode videos to more modern codecs (x265 / AV1) based on filters: extentions, codecs, resolutions …

Documentation

The documentation is available on the following link

Releases

MediaCurator is released on PyPi. Instalation instructions are found on the Github page.

Usage

mediacurator [list,convert] [-del] [-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] [-print:list,formated,verbose] [-dirs/-files:"/mnt/media/",,"/mnt/media2/"]

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

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

Examples:

mediacurator list -filters:old -print:formated -dirs:/mnt/media/ >> ../medlist.txt
mediacurator convert -del -filters:mpeg4 -out:av1,mp4 -dirs:"/mnt/media/Movies/"
mediacurator convert -del -in:avi,mpg -print:formated,verbose -dirs:/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