From e2dc44afe802a6781d006c8f6f78bc288efcc86c Mon Sep 17 00:00:00 2001 From: Michael Higgins Date: Wed, 21 Oct 2015 16:13:58 -0400 Subject: [PATCH] only import qtfs if needed --- mkvtomp4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mkvtomp4.py b/mkvtomp4.py index 72360e5f..360f21ed 100644 --- a/mkvtomp4.py +++ b/mkvtomp4.py @@ -7,7 +7,6 @@ import logging from converter import Converter from extensions import valid_input_extensions, valid_output_extensions, bad_subtitle_codecs, valid_subtitle_extensions, subtitle_codec_extensions -from qtfaststart import processor, exceptions from babelfish import Language @@ -594,6 +593,8 @@ def QTFS(self, inputfile): temp_ext = '.QTFS' # Relocate MOOV atom to the very beginning. Can double the time it takes to convert a file but makes streaming faster if self.parseFile(inputfile)[2] in valid_output_extensions and os.path.isfile(inputfile) and self.relocate_moov: + from qtfaststart import processor, exceptions + self.log.info("Relocating MOOV atom to start of file.") try: