]> git.parisson.com Git - tools.git/commitdiff
verbose start
authoryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Mon, 19 Jul 2010 14:57:15 +0000 (14:57 +0000)
committeryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Mon, 19 Jul 2010 14:57:15 +0000 (14:57 +0000)
git-svn-id: http://svn.parisson.org/svn/tools/trunk@99 457c0346-1240-4656-8a5a-9edca8063506

isp_tools/isp_trans.py

index e8c6cd190b64d6a2ee7af713026166a7663a2531..417b68243d1536e5b924947d20ddbecf8e02c357 100644 (file)
@@ -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)