OSDN Git Service

implement sar using encode function.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 23 Jun 2010 01:10:19 +0000 (01:10 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 23 Jun 2010 01:10:19 +0000 (01:10 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@629 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/ts2x264.py

index b5c77fd..ef487f5 100644 (file)
@@ -633,6 +633,7 @@ def get16_9ffmpeg_s(pin,x,y):
         return 0
 def get_par_size(pin,y):
     tSize=getMovieBaseSize(pin)
+    print tSize
     tX=tSize[0]*10/tSize[1]*y
     tY=y
     if tX>int(tX/10)*10:
@@ -643,4 +644,5 @@ def get_par_size(pin,y):
         tY=tY/10+1
     else:
         tY=tY/10
+    print [tX,tY]
     return [tX,tY]
\ No newline at end of file