]> git.parisson.com Git - tools.git/commitdiff
add normal transcode
authoryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Tue, 20 Jul 2010 15:47:28 +0000 (15:47 +0000)
committeryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Tue, 20 Jul 2010 15:47:28 +0000 (15:47 +0000)
git-svn-id: http://svn.parisson.org/svn/tools/trunk@105 457c0346-1240-4656-8a5a-9edca8063506

isp_tools/isp_trans.py

index 899a7a1a491d287f8dad42ebe65b95f0923adc85..ab545c6237e59d340f4ef53a8c8c7a61a6d5a244 100644 (file)
@@ -139,11 +139,13 @@ class ISPTrans(object):
 
     def transcode_command(self, source_file, start_time, duration, dest_file):
         # logo inlay
-       #command = 'ffmpeg -ss %s -t %s -i %s -vhook "/usr/lib/i686/cmov/vhook/imlib2.so -x 517 -y 516 -i /home/isp/img/parisson.png" -f %s -s %s -vb %s -acodec libmp3lame -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)
+       #command = 'ffmpeg -ss %s -t %s -i %s -vhook "/usr/lib/vhook/imlib2.so -x 517 -y 516 -i /home/isp/img/parisson.png" -f %s -s %s -vb %s -acodec libmp3lame -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)
         
        # logo watermark
-       command = 'ffmpeg -ss %s -t %s -i %s -vhook "/usr/lib/i686/cmov/vhook/watermark.so -f /home/isp/img/parisson_480_g.gif" -f %s -s %s -vb %s -acodec libmp3lame -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)
+       command = 'ffmpeg -ss %s -t %s -i %s -vhook "/usr/lib/vhook/watermark.so -f /home/isp/img/parisson_480_g.gif" -f %s -s %s -vb %s -acodec libmp3lame -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)
         
+       # normal
+       #command = 'ffmpeg -ss %s -t %s -i %s -f %s -s %s -vb %s -acodec libmp3lame -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)
        return command
 
     def process(self):