Recherche avancée

Médias (91)

Autres articles (62)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (11585)

  • PHP FFMPEG open_basedir restriction in effect [duplicate]

    21 septembre 2017, par Martin Giuliani

    This question already has an answer here :

    I have trouble with ffmpeg. If I want to create a thumb from a video I get the following error-message :

    file_exists() : open_basedir restriction in effect. File(/tmp/frame59c41921d102f6.99590608.jpg) is not within the allowed path(s) : (/home/admin/web/faplink.net/public_html :/home/admin/tmp)

    Code :

    $video_thumb_path = "thumbs/" . md5($request->file("file")->getClientOriginalName() . time()) . ".png";
             $mov = new \ffmpeg_movie(storage_path("app/public/") . $post->media);
             $frame = $mov->getFrame(10);
             if ($frame) {
                 $gd_image = $frame->toGDImage();
                 if ($gd_image) {
                     imagepng($gd_image, $video_thumb_path);
                     imagedestroy($gd_image);
                     $post->thumb = $video_thumb_path;
                 }
             }
             break;

    I Use CentOS7

  • How to add Text with transition effect to video with ffmpeg ? [duplicate]

    2 octobre 2018, par Bhavik Rathod

    This question already has an answer here :

    I want to add text in video like subtitles, i know how to add text to video, now i want to add text with transition effects like presentation. How can i do that with using FFMPEG PHP. Is there any other possibilities to achieve that ? Thanks in advance

    Below is example of effect i wan’t to achieve

    https://78.media.tumblr.com/tumblr_md1hh3mSQq1rntgxe.gif

  • FFmpeg - Partial fade effect on overlay image

    22 octobre 2023, par antoox

    I'm having trouble with ffmpeg.

    


    I want to make a 3-second video (example here : https://streamable.com/7uhi7f) with :

    


      

    • A background image (300x350 jpeg file)
    • 


    • A logo overlaid in the center of the background image (100x40 png file)
    • 


    • And I would like the logo to fade in and out with the following opacity timeline :
    • 


    


      

    1. At 0 seconds, the opacity is 0.5
    2. 


    3. At 1 second, the opacity is 1
    4. 


    5. At 2 seconds, the opacity is 0.2
    6. 


    7. At 3 seconds, the opacity is 1.
    8. 


    


    So far I only succeeded in adding an overlay with a fully fade IN (between 0 to 1s) and a fully fade OUT (from 2s to 3s) :

    


    ffmpeg -loop 1 -i background.jpeg -framerate 30 -loop 1 -i logo.png -filter_complex "[0]format=rgba,scale=300:250[o];[1]format=rgba,fade=in:st=0:d=1:alpha=1,fade=out:st=2:d=1:alpha=1[i];[o][i]overlay=x=(W-w)/2:(H-h)/2" -c:v libx264 -t 3 output.mp4

    


    I also tried geq & blend filters without any success.

    


    What would be the more appropriate approach to handle that kind of effect ?