configwriter.setpath(u"mp4box", getpath(u"MP4Box"))
configwriter.setpath(u"mencoder", getpath(u"mencoder"))
configwriter.setpath(u"ffmpeg", getpath(u"ffmpeg"))
configwriter.setpath(u"mp4box", getpath(u"MP4Box"))
configwriter.setpath(u"mencoder", getpath(u"mencoder"))
configwriter.setpath(u"ffmpeg", getpath(u"ffmpeg"))
- #configwriter.setpath(u"xvfb-run", getpath(u"xvfb-run"))
configwriter.setpath(u"mkvmerge", getpath(u"mkvmerge"))
configwriter.setpath(u"b25", getpath(u"b25"))
printutf8(u"必須環境の設定が完了しました")
configwriter.setpath(u"mkvmerge", getpath(u"mkvmerge"))
configwriter.setpath(u"b25", getpath(u"b25"))
printutf8(u"必須環境の設定が完了しました")
[必要コマンド]
python(2.6にて動作確認)
[必要コマンド]
python(2.6にて動作確認)
yukikaze.jp@gmail.com
[History]
yukikaze.jp@gmail.com
[History]
+0.9.5
+BonTsDemuxの最新版を使用するように変更
+それに伴い大幅な修正
+Xvfb依存の解消
+b25自動削除機能の改善
10/04/02 0.9.4 release
バグ修正
インストーラーの大幅な改善
10/04/02 0.9.4 release
バグ修正
インストーラーの大幅な改善
[path]
recpt1 = /usr/local/bin/recpt1
wine = /usr/bin/wine
[path]
recpt1 = /usr/local/bin/recpt1
wine = /usr/bin/wine
-xvfb-run = /usr/local/share/rec10/tstools/xvfb-run
x264 = /usr/bin/x264
mencoder = /usr/bin/mencoder
ffmpeg = /usr/bin/ffmpeg
x264 = /usr/bin/x264
mencoder = /usr/bin/mencoder
ffmpeg = /usr/bin/ffmpeg
bonpin = "Z:\\" + pin[1:]
outf = os.path.splitext(pin)[0]
bonpout = "Z:\\" + outf[1:]
bonpin = "Z:\\" + pin[1:]
outf = os.path.splitext(pin)[0]
bonpout = "Z:\\" + outf[1:]
- xvfb = configreader.getpath('xvfb-run')
logpath=pin.replace("ts","log")
logpath=pin.replace("ts","log")
- exe = 'wine ' + bontsdemux + " -i \"" + bonpin + "\" -delay 167 -nd -sound 0 -o \"" + bonpout + "\" -start -quit"
+ exe = 'wine ' + bontsdemux + " -nogui -i \"" + bonpin + "\" -delay 167 -nd -sound 0 -o \"" + bonpout + "\" "
#recdblist.printutf8(exe)
#recdblist.printutf8(exe)
- exe = xvfb + ' -a ' + exe
recdblist.printutf8(exe)
os.system(exe.encode('utf-8'))
ffpin1 = pin.replace("ts", "wav")
recdblist.printutf8(exe)
os.system(exe.encode('utf-8'))
ffpin1 = pin.replace("ts", "wav")
"""
bontsdemux = configreader.getpath('bontsdemux')
wine = configreader.getpath('wine')
"""
bontsdemux = configreader.getpath('bontsdemux')
wine = configreader.getpath('wine')
- xvfb = configreader.getpath('xvfb-run')
bonpin = "Z:\\" + pin[1:]
outf = os.path.splitext(pin)[0]
bonpout = "Z:\\" + outf[1:]
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 = xvfb + ' -a ' + exe
+ exe = wine + ' ' + bontsdemux + " -nogui -i \"" + bonpin + "\" -delay " + delay + " -nd -sound 1 -o \"" + bonpout + "\" "
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
ffpout2 = ffpin + "_2.wav"
ffpout3 = ffpin + ".m2v"
shutil.move(ffpin1, ffpout1)
ffpout2 = ffpin + "_2.wav"
ffpout3 = ffpin + ".m2v"
shutil.move(ffpin1, ffpout1)
- exe = 'wine ' + bontsdemux + " -i \"" + bonpin + "\" -delay " + delay + " -nd -sound 2 -encode Demux\(wav\) -o \"" + bonpout + "\" -start -quit"
- exe = xvfb + ' -a ' + exe
+ exe = 'wine ' + bontsdemux + " -nogui -i \"" + bonpin + "\" -delay " + delay + " -nd -sound 2 -encode Demux\(wav\) -o \"" + bonpout + "\""
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
def pentaaudio2sep(pin):
bontsdemux = configreader.getpath('bontsdemux')
wine = configreader.getpath('wine')
def pentaaudio2sep(pin):
bontsdemux = configreader.getpath('bontsdemux')
wine = configreader.getpath('wine')
- xvfb = configreader.getpath('xvfb-run')
bonpin = "Z:\\" + pin[1:]
outf = os.path.splitext(pin)[0]
bonpout = "Z:\\" + outf[1:]
bonpin = "Z:\\" + pin[1:]
outf = os.path.splitext(pin)[0]
bonpout = "Z:\\" + outf[1:]
- exe = wine + ' ' + bontsdemux + " -i \"" + bonpin + "\" -delay 167 -nd -sound 3 -o \"" + bonpout + "\" -start -quit"
- exe = xvfb + ' -a ' + exe
+ exe = wine + ' ' + bontsdemux + " -nogui -i \"" + bonpin + "\" -delay 167 -nd -sound 3 -o \"" + bonpout + "\" -start -quit"
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
ffpout2 = ffpin + "_2.aac"
shutil.move(ffpin1, ffpout1)
exe = "ffmpeg -i '"+pin+"' -vn -f aac -acodec copy '"+ffpout2+"'"
ffpout2 = ffpin + "_2.aac"
shutil.move(ffpin1, ffpout1)
exe = "ffmpeg -i '"+pin+"' -vn -f aac -acodec copy '"+ffpout2+"'"
- exe = xvfb + ' -a ' + exe
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
else:
tv2audio.wav2mp3_lame(ffpout1, ffpout21)
if not os.path.exists(ffpout21):
else:
tv2audio.wav2mp3_lame(ffpout1, ffpout21)
if not os.path.exists(ffpout21):
- exe = wine + ' ' + bontsdemux + " -i \"" + bonpin + "\" -delay 167 -nd -sound 0 -o \"" + bonpout + "\" -start -quit"
- exe = xvfb + ' -a ' + exe
+ exe = wine + ' ' + bontsdemux + " -nogui -i \"" + bonpin + "\" -delay 167 -nd -sound 0 -o \"" + bonpout + "\" "
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
recdblist.printutf8(exe)
txt=commands.getoutput(exe.encode('utf-8'))
try:
def pentaaudiots2avi(pin, pout):
bontsdemux = configreader.getpath('bontsdemux')
bonpin = "Z:\\" + pin[1:]
def pentaaudiots2avi(pin, pout):
bontsdemux = configreader.getpath('bontsdemux')
bonpin = "Z:\\" + pin[1:]
- xvfb = configreader.getpath('xvfb-run')
outf = os.path.splitext(pin)[0]
bonpout = "Z:\\" + outf[1:]
outf = os.path.splitext(pin)[0]
bonpout = "Z:\\" + outf[1:]
- exe = 'wine ' + bontsdemux + " -i \"" + bonpin + "\" -delay 167 -nd -sound 3 -o \"" + bonpout + "\" -start -quit"
- exe = xvfb + ' -a ' + exe
+ exe = 'wine ' + bontsdemux + " -nogui -i \"" + bonpin + "\" -delay 167 -nd -sound 3 -o \"" + bonpout + "\" -start -quit"
recdblist.printutf8(exe)
txt=u"Cmd : "+exe+"\n"
txt=txt+commands.getoutput(exe.encode('utf-8'))
recdblist.printutf8(exe)
txt=u"Cmd : "+exe+"\n"
txt=txt+commands.getoutput(exe.encode('utf-8'))