audioutils
ensure_valid_in(fileIn, supports_pipe=True, preprocess=None, valid_type=ValidInputType.FLAC, caller=None)
Ensures valid input for any encoder that accepts flac (all of them). Passes existing file if no need to dither and is either wav or flac.
Source code in muxtools/audio/audioutils.py
has_libFDK()
Returns if whatever installation of ffmpeg being used has been compiled with libFDK
Source code in muxtools/audio/audioutils.py
has_libFLAC()
Returns if whatever installation of qaac being used has libFLAC and as such can accept flac input
Source code in muxtools/audio/audioutils.py
is_fancy_codec(track)
Tries to check if a track is some fancy DTS (X, Headphone X) or TrueHD with Atmos
Parameters:
Name | Type | Description | Default |
---|---|---|---|
track |
Track
|
Input track to check |
required |