OSDN Git Service

implement neroaac encoding.
[rec10/rec10-git.git] / rec10 / trunk / src / tv2audio.py
1 #!/usr/bin/python
2 # coding: UTF-8
3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009-2010 Yukikaze
5 import os
6 def wav2aac_nero(pin,pout):
7     neroaac=configreader.getpath('NeroAAC')
8     exe=neroaac+" -br 128000 -2pass -if \""+pin+"\" -of \""+pout+"\""
9     os.system(exe)
10 def wav2mp3_lame(pin,pout):
11     lame="lame"
12     exe=lame+" -b 128 \""+pin+"\" \""+pout+"\""
13     os.system(exe)