Skip to content

A python3 script to track and convert media to HEVC format

License

Notifications You must be signed in to change notification settings

ppavstudio/x265-videoconverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x265-converter

A database focused media conversion utility that converts video files to the HEVC video codec with a focus on reducing disk usage in media libraries. This script attempts to be as safe as possible, however encoding to HEVC is a lossy operation. though it should be unnoticable it is recommended to test first. Backups are encouraged.

requirements:

x265-videoconverter needs python3 and ffmpeg The latest version of ffmpeg is 4.1.4 when testing, download from ffmpeg.

typical usage:

main.py -t /path/to/media -s
main.py -n 10

comparison

Original: original

Transcoded: transcoded

example usage:

main.py [-h] [--errors] [--focus PATH] [--list-paths] [--low-profile]
               [--number NUMBER] [--track PATH] [--scan]
               
optional arguments:
  -h, --help            show this help message and exit
  --errors, -e          list errors
  --focus PATH, -f PATH
                        immediately begin conversion on target directory
  --list-paths, -lp     list tracked paths
  --low-profile         for weaker devices, convert to 4-bit HEVC including
                        downgrading 10-bit hevc
  --number NUMBER, -n NUMBER
                        transcode from tracked paths limit number of files to
                        be converted
  --track PATH, -t PATH
                        add a new path to be tracked
  --scan, -s            scan tracked directories for new files

About

A python3 script to track and convert media to HEVC format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%