An automated video conversion tool.
pacvert is only for linux or mac os x
pacvert searches files to convert recursively in the current folder and batch converts them to a m4v or mkv container.
To download and execute pacvert, run the commands below:
`wget https://raw.githubusercontent.com/Sonic-Y3k/ffmpeg-convert/master/pacvert.py`
`chmod +x https://raw.githubusercontent.com/Sonic-Y3k/ffmpeg-convert/master/pacvert.py`
`./pacvert.py`
usage: pacvert.py [-h] [--forcedts] [--forcex265] [--outdir OUTDIR] [--threads THREADS]
optional arguments:
-h, --help show this help message and exit
COMMAND:
--forcedts Force use of dts-codec
--forcex265 Force use of x265-encoder
--outdir OUTDIR Output directory
--threads THREADS Number of threads
[ConfigVersion]
version = 4.0
[FileSettings]
deletefile = True
fileformat =
searchextensions = avi,flv,mov,mp4,mpeg,mpg,ogv,wmv,m2ts,rmvb,rm,3gp,m4v,3g2,mj2,asf,divx,vob,mkv
maxdiff = 50
[VideoSettings]
crf = 18.0
crop = True
x264level = 4.1
x264preset = slow
x264profile = high
x264tune = film
x265preset = slow
x265tune =
x265params =
x265crf = 23.0
[AudioSettings]
defaultaudiocodec =
aaclib = aac -strict -2
ac3lib = ac3
dtslib = dca -strict -2
- If no fileformat (m4v / mkv) is specified, pacvert will chose m5v for files < 5GB and mkv for files > 5gb
- m4v audio layout:
- map 0:1 to 0:1 AAC
- map 0:1 to 0:2 AC3
- map 0:2 to 0:3 AAC
- map 0:2 to 0:4 AC3
- python - Pacvert is a Python script and requires Python to run.
- python-progressbar2 - Text progress bar library for Python.
- ffmpeg - For converting
- mplayer - For calculating the crop area
- mkvextract - Part of the mkvtoolnix suite
- bdsup2sub - For converting bluray subtitles to vobsub
- tesseract - OCR Software, needs to be installed with all languages
- vobsub2srt - Converting vobsub to srt
Pacvert is licensed under the GNU General Public License version 2 (GNU GPL v2).
(C) 2014-2015 Sonic-Y3k