Skip to main content

A simple wrapper for ffmpeg-cli

Project description

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']>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ffmpegwrapper-0.1-dev.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file ffmpegwrapper-0.1-dev.tar.gz.

File metadata

File hashes

Hashes for ffmpegwrapper-0.1-dev.tar.gz
Algorithm Hash digest
SHA256 b13af5017a36f3955544c895a43b85cc677914b82350d82eef079f648b6ac953
MD5 2a64d174380092f7a77682346e5c48aa
BLAKE2b-256 dedbdb07ca0cc7b4a4a601c4031a2b115c6700386a6d8d79864cb7a14786bc41

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page