|Jamie Quigley f57ea50e8a||2 days ago|
|src||2 days ago|
|.gitignore||7 months ago|
|Cargo.lock||2 days ago|
|Cargo.toml||3 days ago|
|LICENCE||6 months ago|
|PKGBUILD||6 months ago|
|readme.md||3 days ago|
cargo install --git https://github.com/Sciencentistguy/videoconverter.git
There is also a
[path] is optional, and defaults to
videoconverter -h to see all possible arguments and their defaults.
If TV show mode is enabled, the program will ask for the following:
The program will attempt to read the previous values of these from a statefile (by default
/tmp/videoconverter.state). If this is present it will suggest these to you as default values.
The program will analyse each file, and convert audio and video streams appropriately, to the following:
h.265, it will be copied.
--gpu), the stream will be encoded as
h.265(nvenc) with the following flags:
-rc constqp -qp 20 -preset slow -profile:v main -b:v 0 -rc-lookahead 32.
h.264(libx264) with the following flags:
-profile:v high -rc-lookahead 250 -preset slow -crf 20 -x264opts opencl.
flac, it will be copied.
Dolby TrueHD, it will be encoded as
aac(libfdk_aac) with the following flags:
-cutoff 18000 -vbr 5.
If there are English audio and subtitle streams, then other languages' streams will be discarded. This can be overridden with
If the file contains more than one video stream, only the first will be kept. If it contains zero video streams, the program will panic.
This program uses
libav* from the ffmpeg project to analyse the input files. It then constructs a command for
ffmpeg to convert the files, and then runs it.
Available under the terms of version 3 of the GNU GPL.