Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- 리눅스
- PER
- 맛집
- MS-SQL
- urllib
- mssql
- 함수
- PyQt
- Unity
- ubuntu
- pandas
- Excel
- python
- node.js
- 라즈베리파이
- sqlite
- ASP
- 다이어트
- port
- javascript
- swift
- Linux
- tensorflow
- IOS
- 날짜
- 유니티
- GIT
- flutter
- MySQL
- PyQt5
Archives
아미(아름다운미소)
subprocess call ffmpeg (command line) 본문
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)
'랭귀지 > python' 카테고리의 다른 글
| python open 함수 (0) | 2018.08.19 |
|---|---|
| FFmpeg 옵션 (0) | 2018.08.18 |
| [python] 특정 디렉토리의 파일 카운트 (0) | 2018.08.15 |
| Python 파일, 디렉토리 존재 여부 확인 (0) | 2018.08.14 |
| python 에서 한글폴더 읽기 (0) | 2018.08.13 |
Comments