From: yomguy Date: Mon, 19 Jul 2010 14:57:15 +0000 (+0000) Subject: verbose start X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8e54db7bb34066dbfc8a5c8dac959f207cb28dc8;p=yomguy-tools.git verbose start git-svn-id: http://svn.parisson.org/svn/tools/trunk@99 457c0346-1240-4656-8a5a-9edca8063506 --- diff --git a/isp_tools/isp_trans.py b/isp_tools/isp_trans.py index e8c6cd1..417b682 100644 --- a/isp_tools/isp_trans.py +++ b/isp_tools/isp_trans.py @@ -131,6 +131,12 @@ class ISPTrans(object): self.ar = '44100' self.async = '500' + mess = 'version %s started with the folowing parameters :' % version + self.logger.write_info('isp_trans', mess) + mess = 'format : %s , size : %s , vb : %s , ab : %s , ar : %s , async : %s' % \ + (self.format, self.size, self.vb, self.ab, self.ar, self.async) + self.logger.write_info('ffmpeg', mess) + def transcode_command(self, source_file, start_time, duration, dest_file): command = 'ffmpeg -ss %s -t %s -i %s -f %s -s %s -vb %s -ab %s -ar %s -async %s -y %s' \ % (start_time, duration, source_file, self.format, self.size, self.vb, self.ab, self.ar, self.async, dest_file)