Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (111)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (9140)

  • Warning : passthru() has been disabled for security reasons in _audioconverter_scheduler_ffmpeg_helper

    10 décembre 2012, par Meggy

    I am using the audioconverter module with the audiorecorderfield module in Drupal 7 with ffmpeg on my own vps running Aegir and Nginx. The audioconverter module has stopped converting wav files to mp3. Here's the error ;

    Warning: passthru() has been disabled for security reasons in _audioconverter_scheduler_ffmpeg_helper() (line 358 of /mysite/drupal-7.16/sites/all/modules/audioconverter/audioconverter.module).

    And in my logs ;

    MESSAGE: executing: /usr/bin/ffmpeg -i /mysite/drupal-7.16/sites/default/files/1354856044.wav /mysite/drupal-7.16/sites/default/files/1354856044.wav.mp3

    MESSAGE: Audio conversion failed. FFMPEG reported the following output:

    SEVERITY: error

    MESSAGE: converted file is an empty file.

    I can see the wav file is created by the audiorecorderfield module but the audioconverter module is failing on the conversion.

    Here is my ffmpeg info ;

    ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
    built on Jun 13 2012 14:01:54 with gcc 4.4.5
    configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
    libavutil    50. 43. 0 / 50. 43. 0
    libavcodec   52.123. 0 / 52.123. 0
    libavformat  52.111. 0 / 52.111. 0
    libavdevice  52.  5. 0 / 52.  5. 0
    libavfilter   1. 80. 0 /  1. 80. 0
    libswscale    0. 14. 1 /  0. 14. 1
    libpostproc  51.  2. 0 / 51.  2. 0
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Safe mod is OFF in php.ini so I don't know why audioconverter is not working.

  • Create Video Programmatically with Qt 5.0

    29 mars 2016, par Joey

    We have a QT application that renders programmatically generated QPixmaps one by one to the display and we would like to save this output to a video file. I know that in the past people have recommended using ffmpeg or opencv with Qt to do this. In Qt 5, however, the new QtMultimedia module seems to expose some of this type of functionality. It is now possible, for example, to save video from a camera source in Qt 5 by using the QMediaRecorder as described in http://qt-project.org/doc/qt-5.0/qtmultimedia/qmediarecorder.html#details. With this new functionality, is there any way to use Qt 5 to save our programmatically generated video, or am I still better off using a third party library ?

  • Matplotlib animation MovieWriters fails on Ubuntu 12.04

    13 février 2013, par jjwebster

    I am attempting to save matplotlib animations to a movie via ffmpeg on Ubuntu 12.04 LTS (32-bit Desktop). Following the matplotlib example, it fails to load the animation writer : AttributeError: 'module' object has no attribute 'writers' (line 15 of the example) :

    import numpy as np
    import matplotlib
    matplotlib.use("Agg")
    import matplotlib.pyplot as plt
    import matplotlib.animation as animation

    def update_line(num, data, line):
       line.set_data(data[...,:num])
       return line,

    # Set up formatting for the movie files
    Writer = animation.writers['ffmpeg']

    Via apt-get, I've tried installing ffmpeg, every codec imaginable, and even tried to compile ffmpeg from source. Nothing works.

    How do I get matplotlib to talk to ffmpeg on Ubuntu ?