OSDN Git Service

fix installer.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 2 Apr 2010 12:41:53 +0000 (12:41 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 2 Apr 2010 12:41:53 +0000 (12:41 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@548 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/timerec.py
rec10/trunk/src/ts2x264.py

index 0cf2602..a31b91e 100644 (file)
@@ -607,8 +607,8 @@ def type_encode_que(typetxt,chtxt,title,bt,et,opt):
                     tv2mkv.ts2mkv(pin, pout, opt)
                 if re.search("8", opt) or re.search("9", opt):
                     optt=opt
-                    optt=optt.replace("8","\\8")
-                    optt=optt.replace("9","\\9")
+                    optt=optt.replace("8","MW8")
+                    optt=optt.replace("9","MW9")
                     pout = recpath + "/" + "m_"+title + ".mp4"
                     tv2mp4.ts2mp4(pin, pout, optt)
             else:
index 2c03d4c..7800486 100644 (file)
@@ -29,10 +29,12 @@ def ts2x264(pin, pout, opts):#sizeは"HD"か"SD"
         size = "FullHD"
     if re.search("W",opts):
         size = "WVGA"
-    if re.search("\\8", opts):
+    if re.search("MW8", opts):
         size = "QVGA_BASE"
-    if re.search("\\9", opts):
+        crf=crf+4
+    if re.search("MW9", opts):
         size = "WVGA_BASE"
+        crf=crf+2
     if re.search("v", opts):
         is24fps=1
         crf=int(configreader.getenv("animation_crf"))