Recherche avancée

Médias (91)

Autres articles (70)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (11116)

  • FFMPEG exec exit code 126

    17 mai 2020, par Ali Lord

    here is my code for FFMPEG

    



    $mp3path=realpath("1.mp3");&#xA;$cmd = "/usr/include/ffmpeg -i $mp3path -ab 128 /home/swiftfa1/public_html/output.mp3 2>&amp;1";&#xA;exec($cmd, $output, $value);&#xA;echo &#x27;<pre>&#x27;; print_r($output); echo &#x27;</pre>&#x27;;&#xA;echo &#x27;<pre>&#x27;; print_r($value); echo &#x27;</pre>&#x27;;&#xA;exit;&#xA;

    &#xA;&#xA;

    and here is my result :

    &#xA;&#xA;

    Array&#xA;(&#xA;    [0] => sh: /usr/include/ffmpeg: Is a directory&#xA;)&#xA;126&#xA;

    &#xA;&#xA;

    I used whereis for ffmpeg path and searched a lot but can't solve my issue. any command returns 126 !

    &#xA;

  • editly - Where can I get the return value after a video is created ?

    21 février 2021, par rom

    Quick question...

    &#xA;

    Following along the README of editly, I managed to create videos after calling editly like this :

    &#xA;

        // create video&#xA;    editly(editSpec)&#xA;        .catch(console.error);&#xA;

    &#xA;

    Unfortunately, I am using ExpressJS to do this and I need to send back a response when video creation completes.

    &#xA;

    However, when I tried to extract any value using .then, it returns undefined :

    &#xA;

        // create video&#xA;    editly(editSpec)&#xA;    .then(r => {&#xA;        console.log(`Is this undefined? Probably yes! r: `, r)&#xA;        res.json(r)&#xA;    })&#xA;        .catch(console.error);&#xA;

    &#xA;

    How can I accomplish this ?

    &#xA;

  • wavdec : refactor wav_read_header()

    19 décembre 2014, par Thomas Volkert
    wavdec : refactor wav_read_header()
    

    Make it more readable and display an error message in case an invalid
    header is detected (the current version just returns
    AVERROR_INVALIDDATA)

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/wavdec.c