Beispiel #1
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'querypipe'
     #self.pipeline_name = self.convertName(self.pre)
     self.pipeline_name = self.pre
     self.client = media_client.MediaClient(media_config.config)
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'deletepreset'
     self.preset_name = self.pre
     self.container = 'mp4'
     self.client = media_client.MediaClient(media_config.config)
Beispiel #3
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'listthumb'
     self.pipeline_name = self.pre
     self.key = '10s.mp4'
     self.client = media_client.MediaClient(media_config.config)
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.watermark_id = None
     self.watermark_id2 = None
     self.key = '120X90.jpg'
     self.client = media_client.MediaClient(media_config.config)
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'querypreset'
     self.preset_name = self.pre
     self.container = 'mp4'
     self.client = media_client.MediaClient(media_config.config)
     self.key = 'watermark.jpg'
Beispiel #6
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'createpreset'
     self.preset_name = self.convertName(self.pre)
     self.container = 'mp4'
     self.client = media_client.MediaClient(media_config.config)
     self.key = 'watermark.jpg'
     self.watermark_id = None
Beispiel #7
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'listjob'
     self.pipeline_name = self.pre
     self.preset_name = self.pipeline_name
     self.container = 'mp4'
     self.source_key = 'hd.mp4'
     self.target_key = 'job_test_result.mp4'
     self.capacity = 1
     self.client = media_client.MediaClient(media_config.config)
Beispiel #8
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'queryjob'
     self.pipeline_name = self.convertName(self.pre)
     self.preset_name = self.pipeline_name
     self.container = 'mp4'
     self.source_key = 'hd.mp4'
     self.target_key = 'job_test_result.mp4'
     self.watermark = 'watermark.jpg'
     self.capacity = 1
     self.job_id = None
     self.client = media_client.MediaClient(media_config.config)
Beispiel #9
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'createjob'
     self.pipeline_name = self.pre
     self.preset_name = 'bce.video_mp4_640x360_520kbps'
     self.container = 'mp4'
     self.source_key = '10s.mp4'
     self.target_key = 'job_test_result.mp4'
     self.watermark = '120X90.jpg'
     self.capacity = 1
     self.watermark_id = None
     self.client = media_client.MediaClient(media_config.config)
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'createthumb'
     self.pipeline_name = self.pre
     self.container = 'mp4'
     self.capacity = 1
     self.key = '10s.mp4'
     self.key_prefix = '/00mingxioutput'
     self.target_format = 'jpg'
     self.sizing_policy = 'keep'
     self.width_in_pixel = 640
     self.height_in_pixel = 400
     self.mode = 'manual'
     self.start_time_in_second = 0
     self.end_time_in_second = 50
     self.interval_in_second = 10
     self.client = media_client.MediaClient(media_config.config)
Beispiel #11
0
 def setUp(self):
     """
     set up
     """
     self.the_client = media_client.MediaClient(media_conf.config)
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.watermark_id = 'wmk-jdkwykir3c2ezuag'
     self.key = '120X90.jpg'
     self.client = media_client.MediaClient(media_config.config)
Beispiel #13
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.watermark_id = 'wmk-jdiwe1956a3yzbkq'
     self.key = '120X90.jpg'
     self.client = media_client.MediaClient(media_config.config)
Beispiel #14
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.client = media_client.MediaClient(media_config.config)
Beispiel #15
0
 def __init__(self):
     """construction """
     mediaBase.MediaBase.__init__(self)
     self.pre = self.prefix + 'deletepipe'
     self.pipeline_name = self.pre
     self.client = media_client.MediaClient(media_config.config)