Audio Video TransCoder - Batch transcodes Audio Video files to HEVC/Opus/ASS/Matroska.
Copyright 2013-2023 Curtis Lee Bolin CurtisLeeBolin@gmail.com
$ python -m pip install git+https://github.com/CurtisLeeBolin/avtc.git
$ cd avtc
$ python -m pip install .
- ffmpeg
- mkvpropedit (mkvtoolnix)
$ avtc --help
usage: avtc.py [-h] [--crop] [--deinterlace] [-d DIRECTORY] [-f FILELIST] [-t]
Audio Video TransCoder
options:
-h, --help show this help message and exit
--crop Auto Crop Videos
--deinterlace Deinterlace Videos
-d DIRECTORY, --directory DIRECTORY
A directory
-f FILELIST, --filelist FILELIST
File list in the current directory
-t, --transcode Force file/s to be transcoded
Copyright 2013-2023 Curtis Lee Bolin <CurtisLeeBolin@gmail.com>
$ avtc
01:21:25 Analyzing '2012 Vacation: Volcano'
01:22:14 Analysis completed in 0:00:00
Duration: 02:01:36.75
Input Resolution: 1920x800
Output Resolution: 1920x800
Transcoding Started
encoded 173625 frames in 4940.02s (35.14 fps), 356.72 kb/s, Avg QP:35.31
02:43:42 Transcoding completed in 1:21:28
$ avtc --crop
00:05:27 Analyzing '2012 Vacation: Beach'
00:06:13 Analysis completed in 0:00:46
Duration: 01:30:31.26
Input Resolution: 1916x796
Output Resolution: 1904x784
Transcoding Started
encoded 130219 frames in 4511.67s (28.86 fps), 390.06 kb/s, Avg QP:32.91
01:21:24 Transcoding completed in 1:15:11
- Video: HEVC (a.k.a. H.265 or MPEG-H Part 2)
- Audio: Opus
- Subtitles: ASS (SubStation Alph) text or Copied from Source (image subtitles)
- Metadata:
title
is set to the filename minus the file extension - Container: Matroska