Cloudooo Home Cloudooo


    Cloudooo a simple file conversion server that can be used and provided as a service to convert supported input formats into a number of different output formats. While Cloudooo had been created for conversion of documents into HTML and vice versa it has grown to also including several other converters for documents, images, audio and video formats. It is developed and maintained by Nexedi and is being used in several applications (simple cloudooo converter) and within ERP5.


    Cloudooo has multiple converters including:

    • Libre Office document conversion
    • Only Office conversion
    • Image conversion
    • Video/Audio conversion
    • WkHtmlToPdf
    • XXX

    Why use Cloudooo?


    Getting Started

    Source Code

    You can find the source code in the following Git repository: (Github mirror) or browse it online.


    • Python 2.6
    • setuptools =>0.6c11

    Installing Cloudooo

    $ python2.6 install

    Once cloudooo is installed, add:

    Creating Configuration File

    A configuration file is used to start the application using paster. A sample configration can be found at

    Copy this file to the current folder

    $ cp ./cloudooo/sample/sample.conf . # Copy to current folder

    Next the required attributes for the configuration file need to be defined:

    • working_path - folder to run the application. This folder need be created.
    • uno_path - folder where UNO library is installed (ex. /opt/libreoffice/basis-link/program/)
    • soffice_binary_path - folder where soffice.bin is installed (ex. /opt/libreoffice/program/)

    Run Cloudooo

    $ paster serve ./cloudooo.conf

    or run as a daemon

    $ paster serve ./cloudoo.conf --daemon

    Stop Cloudooo

    $ kill -1 PASTER_PID

    Warning: Always use SIGHUP, because only with this signal all processes are stopped correctly.

    How To Use Cloudooo

    soffice (LibreOffice/

    XMLRPC and WSGI will be used as a bridge for accessing LibreOffice/ Cloudooo implements an XMLRPC server into WSGI (using paster). PyUno is used to connect to LibreOffice/ through an open socket with only a process having access at a time. All clients receive the same object(proxy) when connecting with the XMLRPC Server. When receiving files XMLRPC will connect to 'soffice.bin' using PyUno, which opens a new document, writes to it, adds metadata and returns the document (edited/converted) to XMLRPC, which passes it back to the user and finalizes the call.

    This way XMLRPC allows to convert documents with or without metadata, return only metadata, convert metadata or convert the file into another format.








    FFMPEGHandler is a handler of cloudooo for developing GUI conversion applications using FFmpeg cross-platform. The FFMPEGHandler package defines a single class, Handler, which is the interface for audio and video convertion into cloudooo. FFMPEGHandler has been developed with python 2.6 and ffmpeg 0.6.1.


    File Conversion

    >>> from cloudooo.handler.ffmpeg import Handler
    >>> handler = Handler('my_path_data', open(test.ogv).read(), 'ogv')
    >>> converted_data = handler.convert('mpeg')

    Getting information of file

    >>> from cloudooo.handler.ffmpeg import Handler
    >>> handler = Handler('my_path_data', open(test.ogv).read(), 'ogv')
    >>> metadata = handler.getMetadata()
    >>> metadata
    { 'ENCODER': 'Lavf52.64.2'}

    Note: When using the FFMPEGHandler library, it is required to import its dependencies as well and set the environment for the handler.


    >>> from cloudooo.handler.ffmpeg import Handler
    >>> = dict(env=dict(PATH="../software/parts/ffmpeg/bin"))
    >>> handler = Handler('my_path_data', open(test.ogv).read(), 'ogv', **
    >>> converted_data = handler.convert('mpeg')

    How to call Cloudooo as a Webservice


    Latest News


    Tips and Tricks

    soffice (LibreOffice/

    • soffice.bin stalled - finalize process, start 'soffice.bin' resubmit the document again (without restarting cloudooo).
    • soffice.bin crashed - finalize process, verify all processes are killed, restart soffice.bin resubmit the document again (without restarting cloudooo).
    • soffice.bin received document, then stalls - kill process and restart.
    • Document sent is corrupted - write error to log and verify that the process aren't kept in memory.
    • Loss of socket connection - cloudooo will kill and restart the process and resubmit the file.


    Automated test results are published on



    Cloudooo is Free Software, licensed under the terms of the GNU GPL v3 (or later). For details, please see Nexedi licensing.