def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.stdout_buf = ''
     self.full_desc = False
     self.tool = 'videoparser'
     self.metadata = {}
     self.error_lines = 4
     self.memory_limit = 150 * 1024 * 1024
Example #2
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.stdout_buf = ""
     self.full_desc = False
     self.tool = "videoparser"
     self.metadata = {}
     self.error_lines = 4
     self.memory_limit = 150 * 1024 * 1024
Example #3
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'ffprobe'
     self.metadata = {}
     self.params.update({
         '-print_format': 'json',
         '-show_format': None,
         '-show_streams': None,
     })
Example #4
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = "ffprobe"
     self.metadata = {}
     self.params.update(
         {
             "-print_format": "json",
             "-show_format": None,
             "-show_streams": None,
         }
     )
Example #5
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.nb_frames = 0
     self.tool = 'ffmpeg'
     self.video_opts = self.params.get('video_opts', [])
     self.audio_opts = self.params.get('audio_opts', [])
     self.format_opts = self.params.get('format_opts', [])
     self.video_filter_chain = []
     self.audio_filter_chain = []
     self.keep_vbi_lines = False
     self.mov_imx_header = False
     self.decoding_threads = 1
     self.encoding_threads = 1
     self.fps = 0
Example #6
0
    def __init__(self, log, params=None):
        Worker.__init__(self, log, params)
        self.tool = 'kt-toolbox'
        self.stls = {}
        self.error_lines = 4
        self.args = params.get('args', [])
        self.action = params.get('action', 'VBITOSTL')
        self.options = []

        for key, value in option_map.iteritems():
            option = value.keys()[0]
            default = value.values()[0]
            option_value = params.get(key, default)
            if option_value != '':
                self.options.append(option)
                self.options.append(option_value)
Example #7
0
    def __init__(self, log, params=None):
        Worker.__init__(self, log, params)
        self.tool = 'kt-toolbox'
        self.stls = {}
        self.error_lines = 4
        self.args = params.get('args', [])
        self.action = params.get('action', 'VBITOSTL')
        self.options = []

        for key, value in option_map.iteritems():
            option = value.keys()[0]
            default = value.values()[0]
            option_value = params.get(key, default)
            if option_value != '':
                self.options.append(option)
                self.options.append(option_value)
Example #8
0
    def __init__(self, log, params=None):
        Worker.__init__(self, log, params)
        self.tool = "kt-toolbox"
        self.stls = {}
        self.error_lines = 4
        self.args = params.get("args", [])
        self.action = params.get("action", "VBITOSTL")
        self.options = []

        for key, value in list(option_map.items()):
            option = list(value.keys())[0]
            default = list(value.values())[0]
            option_value = params.get(key, default)
            if option_value != "":
                self.options.append(option)
                self.options.append(option_value)
Example #9
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.nb_frames = 0
     self.tool = 'ffmpeg'
     self.video_opts = self.params.get('video_opts', [])
     self.audio_opts = self.params.get('audio_opts', [])
     self.format_opts = self.params.get('format_opts', [])
     self.video_filter_chain = []
     self.audio_filter_chain = []
     self.channels_per_stream = 0
     self.audio_min_streams = None
     self.keep_vbi_lines = False
     self.mov_imx_header = False
     self.decoding_threads = 1
     self.encoding_threads = 1
     self.fps = 0
     self.special_audio_filter = None
     self.special_audio_mapping = None
     self.single_frame = False
     self.seek = 0
Example #10
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.nb_frames = 0
     self.tool = "ffmpeg"
     self.video_opts = self.params.get("video_opts", [])
     self.audio_opts = self.params.get("audio_opts", [])
     self.format_opts = self.params.get("format_opts", [])
     self.video_filter_chain = []
     self.audio_filter_chain = []
     self.channels_per_stream = 0
     self.audio_min_streams = None
     self.keep_vbi_lines = False
     self.mov_imx_header = False
     self.decoding_threads = 1
     self.encoding_threads = 1
     self.fps = 0
     self.special_audio_filter = None
     self.special_audio_mapping = None
     self.single_frame = False
     self.seek = 0
Example #11
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = "raw2bmx"
     self.kill_timeout = 5 * 3600
     self.inputs_size = 0
Example #12
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'ommcp'
     self.base_dir = '/'
Example #13
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'qt-faststart'
Example #14
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = "ommcp"
     self.base_dir = "/"
Example #15
0
 def __init__(self, log, params):
     Worker.__init__(self, log, params)
     self.tool = 'mp2tsms'
     self.error_lines = 4
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'qt-faststart'
Example #17
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = "flvtool2"
Example #18
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'ommq'
Example #19
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'ommcp'
     self.base_dir = '/'
Example #20
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'raw2bmx'
     self.kill_timeout = 5 * 3600
     self.inputs_size = 0
Example #21
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = "ffprobe"
     self.metadata = {}
     self.params.update({"-print_format": "json", "-show_format": None, "-show_streams": None})
Example #22
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'ommq'
Example #23
0
 def __init__(self, log, params):
     Worker.__init__(self, log, params)
     self.tool = "mp2tsms"
     self.error_lines = 4
Example #24
0
 def __init__(self, log, params=None):
     Worker.__init__(self, log, params)
     self.tool = 'raw2bmx'