Converts clips from AVI format to FLV during upload to Plone.
Project description
Overview
Converts clips from AVI format to FLV during upload to Plone.
Requirements
This package uses FFmpeg. You need to install it in you system.
On Ubuntu 9.04 you have to execute:
sudo apt-get install ffmpeg libavcodec-unstripped-52
On CentOS 5.3 command is even simpler:
sudo yum install ffmpeg
On other linux system compile FFmpeg with flv and mp3 support.
Installation
If you are using zc.buildout to manage your project, you can do this:
Add stxnext.transform.avi2flv to the list of eggs to install, e.g.:
[buildout] ... eggs = ... stxnext.transform.avi2flv
Re-run buildout, e.g. with:
$ ./bin/buildout
Finally go to ‘Site Setup’ -> ‘Add/Remove Products’ and install stxnext.transform.avi2flv.
Usage
AVI clips will be automatically converted, so no special attention by editor is needed.
Configuration
Options for FFmpeg that controls quality of output video can be configured via ZMI (portal_transforms -> avi_to_flv).
With default configuration it will execute command similar to:
ffmpeg -i "input.avi" -y -b 1024k -r 25 -acodec libmp3lame -ar 44100 'output.flv'
Description of these options and more control parameters you can find in FFmpeg manual.
References
Changelog
0.1.0
Initial release [sargo]
0.1.1
most of code from patch moved to separated function - it can be used by other products [sargo]
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
Hashes for stxnext.transform.avi2flv-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c7175c317d83481aaa03a9cb780d9e66c2fbc78a70c1ee73b2db34eb49fac7 |
|
MD5 | eb54e2d78eaf3caf7343511533ad9a1c |
|
BLAKE2b-256 | 84be50de7e5df19a18e4d73e997f40513614e0c719cccb883618650402c6e737 |