OSDN Git Service

add some ch.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Mon, 25 Oct 2010 15:02:56 +0000 (15:02 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Mon, 25 Oct 2010 15:02:56 +0000 (15:02 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@705 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/tv2audio.py

index 451f727..b07fc9f 100644 (file)
@@ -118,12 +118,9 @@ def ts2singlewav(pts,opts):
     bonpin = "Z:\\" + pts[1:]
     outf = os.path.splitext(pts)[0]
     bonpout = "Z:\\" + outf[1:]
-    xvfb = configreader.getpath('xvfb-run')
-    vf=""
     delayt=""
-    exe = 'wine ' + bontsdemux + " -i \"" + bonpin + "\" "+delayt+" -nd "+vf+"-sound 0 -o \"" + bonpout + "\" -start -quit"
+    exe = 'wine ' + bontsdemux + " -i \"" + bonpin + "\" "+delayt+" -nd -sound 0 -o \"" + bonpout + "\""
     #recdblist.printutf8(exe)
-    exe = xvfb + ' -a ' + exe
     recdblist.printutf8(exe)
     p=subprocess.Popen(exe.encode('utf-8'),shell=True)
     os.waitpid(p.pid, 0)
@@ -171,7 +168,7 @@ def ts2dualaudio_BonTsDemux(pin, delay,opts):
     bonpin = "Z:\\" + pin[1:]
     outf = os.path.splitext(pin)[0]
     bonpout = "Z:\\" + outf[1:]
-    exe = wine + ' ' + bontsdemux + " -i \"" + bonpin + "\" -delay " + delay + " -nd -sound 1 -o \"" + bonpout + "\" -start -quit"
+    exe = wine + ' ' + bontsdemux + " -i \"" + bonpin + "\" -delay " + delay + " -nd -sound 1 -o \"" + bonpout + "\""
     recdblist.printutf8(exe)
     txt=commands.getoutput(exe.encode('utf-8'))
     try:
@@ -187,7 +184,6 @@ def ts2dualaudio_BonTsDemux(pin, delay,opts):
     shutil.move(ffpin1, ffpout1)
     exe = 'wine ' + bontsdemux + " -i \"" + bonpin + "\" -delay " + delay + " -nd  -sound 2 -encode Demux\(wav\) -o \"" + bonpout + "\""
     recdblist.printutf8(exe)
-    exe = xvfb + ' -a ' + exe
     txt=commands.getoutput(exe.encode('utf-8'))
     try:
         recdblist.addCommandLog(pin, u"BonTsDemux 第二音声取り出し", exe, txt)
@@ -255,7 +251,6 @@ def ts2pentaaudio_BonTsDemux(pin, delay,opts):
         wav2mp3_lame(ffpout1, ffpout21)
     if not os.path.exists(ffpout21):
         exe = wine + ' ' + bontsdemux + " -i \"" + bonpin + "\" -delay "+delay+" -nd -sound 0 -o \"" + bonpout + "\""
-        exe = xvfb + ' -a ' + exe
         recdblist.printutf8(exe)
         txt=commands.getoutput(exe.encode('utf-8'))
         try: