Skip to content

Python ffmpeg wrapper to convert from numpy.ndarray to numpy.ndarray

Notifications You must be signed in to change notification settings

kamo-naoyuki/python_audio_ffmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python_audio_ffmpeg

Python ffmpeg wrapper to convert from numpy.ndarray to numpy.ndarray

Requirements

python3.6
numpy
ffmpeg

Install

conda install ffmpeg
python setup.py install

Usage

import numpy
from audio_ffmpeg import ffmpeg

array = numpy.random.randn(1000).astype(numpy.int16)
audio_atempo(array, 2.0, sampling_rate=16000, nchannel=1)
audio_trim(array, 0, 0.01, sampling_rate=16000, nchannel=1)

About

Python ffmpeg wrapper to convert from numpy.ndarray to numpy.ndarray

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages