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:
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"))