Recherche avancée

Médias (91)

Autres articles (44)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (5953)

  • 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 ?