Skip to main content

stxnext.transform.avi2flv

Overview

Converts clips from AVI format to FLV during upload to Plone.

It is fairly easy to turn on conversion from other video formats - more information in section “Configuration”.

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.

To turn on conversion from other video formats than “avi”, you need to add more mimetypes into “Input” property of avi_to_flv transformation.

We made simple tests with formats:

  • video/x-ms-wmv

  • video/mpeg

  • video/quicktime

References

Author & Contact

Author:

Wojciech Lichota <wojciech.lichota@stxnext.pl> Maciej Zięba <maciej.zieba@stxnext.pl>

http://stxnext.pl/open-source/files/stx-next-logo

STX Next Sp. z o.o.

http://stxnext.pl

info@stxnext.pl

Changelog

0.2.1 [2010-01-26]

  • fix problems when deleting field content using Archetypes’ widget [sargo]

0.2.0 [2009-11-20]

  • improvements that make it easier to add conversion from other formats than “avi” [stxnext]

0.1.1 [2009-09-17]

  • most of code from patch moved to separated function - it can be used by other products [sargo]

0.1.0 [2009-09-17]

  • Initial release [sargo]

Metadata

Release files for stxnext.transform.avi2flv 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stxnext.transform.avi2flv 0.2.1
File Size Uploaded Provenance
stxnext.transform.avi2flv-0.2.1.tar.gz 8.3 kB Without provenance Details

Release files / stxnext.transform.avi2flv-0.2.1.tar.gz

Download URL stxnext.transform.avi2flv-0.2.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0af06b8e6e3959d91a4b7b1d4c21867067a0dc7eaf28cd59476cf4e27ffc08ee
BLAKE2b-256 checksum
How to use checksums
8f8469624a00791541ca737fcf2b0562727d063a0f00a02b975448c9e8fdeab8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for stxnext.transform.avi2flv 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page