skip to navigation
skip to content

ffmpegwrapper 0.1-dev

A simple wrapper for ffmpeg-cli

Package Documentation

FFmpegWrapper is a small wrapper for the ffmpeg encoder. You can append Codec, Filters and other OptionStores to the FFmpeg class and then run the resulting command.

>>> from ffmpegwrapper import FFmpeg, Input, Output, VideoCodec, VideoFilter
>>> codec = VideoCodec('webm')
>>> input_video = Input('old')
>>> output_video = Output('new', codec)
>>> FFmpeg('ffmpeg', input_video, output_video)
<FFmpeg ['ffmpeg', '-i', 'old', '-vcodec', 'webm', 'new']>
 
File Type Py Version Uploaded on Size # downloads
ffmpegwrapper-0.1-dev.tar.gz (md5) Source 2011-12-12 4KB 292