랭귀지/python
subprocess call ffmpeg (command line)
유키공
2018. 8. 16. 09:30
subprocess call ffmpeg (command line)
# -*- coding: utf-8 -*-
'''
Created on 2018. 8. 14.
@author: bhm
'''
import os
from subprocess import call
os.chdir('D://ffmpeg/bin/')
call('ffmpeg -i file.mp3 -c:a g723_1 -ar 8000 -ac 1 -b:a 6.3K output.wav', shell=True)