Recherche avancée

Médias (91)

Autres articles (29)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • 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 (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4292)

  • ffmpeg record audio from Xvfb on Centos

    25 mai 2017, par boygiandi

    I’m trying to record audio from Xvfb. And I have some problems :

    1. What’s the different between alsa and pulse. I get confuse
    2. Server Centos have no soud card :

    arecord -l

    arecord : device_list:268 : no soundcards found...

    1. I may have many Xvfb process, how to record video and audio from specific Xvfb process. I checked this https://trac.ffmpeg.org/wiki/Capture/ALSA#Recordaudiofromanapplication but still don’t understand how it works.

    ffmpeg -f alsa -ac 2 -i hw:0,0 -acodec pcm_s16le output.wav

    I seen many command like this, but I don’t know how to get hw:0,0 ( id of sound card ? )

    Please help. Thanks

  • Why am I getting an exit status of 1 ?

    24 mai 2018, par Akaisteph7

    So, I am writing this code to analyze this video but I am facing this issue when I try to run it in Spyder, Anaconda :

    import subprocess
    from subprocess import call
    import math

    ##Converts the given file into a series of images
    def Video_to_Image_Converter(fileName):
       res1 = call("ffmpeg -i " + fileName + " -vf fps=1 frame-%d.jpg", shell=True)
       print(res1)
       result = subprocess.Popen('ffprobe -i '+ fileName +' -show_entries format=duration -v quiet -of csv="p=0"', stdout=subprocess.PIPE,stderr=subprocess.STDOUT, shell=True)
       output = result.communicate()
       print(output)
       #return math.ceil(float(output[0])) + 1


    if __name__ == '__main__':
       videoLength = Video_to_Image_Converter('sampleVideo.wmv')
       print(videoLength)

    So, this code worked fine in iPython but I started having issues when trying to use Spyder. res1 should have an exit status of 0 if everything went well but it is 1. However, I do not know what went wrong. All it says when running subprocess.check_output on call is :

    Command 'ffmpeg -i sampleVideo.wmv -vf fps=1 frame-%d.jpg' returned non-zero exit status 1

    Please help.

  • call ffmepg from apache php without full path

    14 février 2015, par ffmpeg fan

    I need a apache /php to recognize ffmpeg command without specifing the full bath of /usr/local/bin/ffmpeg

    calling ffmpeg from command line executes the program
    calling ffmpeg from php via web does not execute the program
    calling /usr/local/bin/ffmpeg from php via web does execute the program

    why :
    a php script calls youtube-dl (a compiled program) and executes ffmpeg internally

    thank you in advance -
    tried ffmpeg path :
    which ffmpeg
    /usr/local/bin/ffmpeg

    echo $PATH
    /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin


    #php code for testing:
    $output = shell_exec('/usr/local/bin/ffmpeg 2>&1');
    echo "shell exec /usr/local/bin/ffmpeg <pre>$output</pre>";
    #Response:
    ffmpeg version 2.5.3 Copyright #(good)

    #Second php code for testing:
    $output = shell_exec('ffmpeg 2>&amp;1');
    echo "shell exec <pre>$output</pre>";
    #Response:
    sh: ffmpeg: command not found #(bad)