Recherche avancée

Médias (91)

Autres articles (45)

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

  • Merging four videos with differnt resolution in a Grid with ffmpeg

    5 juillet 2015, par Taufiq

    I want to marge four videos in to one as show below. I have achieve the correct output given all the videos have the same resolution. But I get an undesirable result with different resolution. See below for more details.

    ffmpeg code to get to merge 4 videos of different resution in a grid format

    ffmpeg.exe -i "1.avi" -vf "[in] scale=iw:ih, pad=2*iw:ih [left];movie=2.avi, scale=iw:ih [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k "Output1.mp4"
    ffmpeg.exe -i "3.avi" -vf "[in] scale=iw:ih, pad=2*iw:ih [left];movie=4.avi, scale=iw:ih [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k "Output2.mp4"
    ffmpeg.exe -i "Output1.mp4" -vf "pad=iw:2*ih [top]; movie=Output2.mp4 [bottom]; [top][bottom] overlay=0:main_h/2" "Output_Stacked.mp4"

    Code above gives the follow output.

    For Example

    But the problem arises when I rotate one of the videos and merge them.
    enter image description here.

    Please tell me what I need to change to get the desired result. Thanks
    enter image description here

  • Cannot clip videos using FFMpeg in laravel

    22 novembre 2017, par Programmmereg

    I am building script where I can clip videos in laravel. Here’s my code :

    public function clip($id)
       {
           $video = Video::where('id', $id)->first();

           $vid = Storage::get('public/uploads/videos/' . $video->file_name);

           $ffmpeg = \FFMpeg\FFMpeg::create();

           $media = \FFMpeg::open($vid);

           dd($media);

           $video->filters()->clip(FFMpeg\Coordinate\TimeCode::fromSeconds(30), FFMpeg\Coordinate\TimeCode::fromSeconds(15));

       }

    And I have problem because there is error :

    FatalErrorException in ProcessUtils.php line 74:
    escapeshellarg(): Input string contains NULL bytes

    I think that is in line :

    $media = \FFMpeg::open($vid);

    But I do not know what happened. Can you help me ?

  • Bulk Edit Videos resolution/aspect problem

    1er mars 2020, par buffe buffera

    Lets say i have 100 videos, all different dimensions and formats
    I would like to know if there’s a way to bulk edit each video and set it to 16:9 1920x1080
    If is possible would like to add blurred sides effect

    for %%a in ("C :\Users\vmp\Desktop\Videos\100ClipsConcat*.mp4") do ffmpeg -i "%%a" -lavfi "scale=1080:640,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg] ;[bg][0:v]overlay=(W-w)/2 :(H-h)/2,setsar=1" "C :\Users\vmp\Desktop\Videos\100ClipsConcat\Blurred\%% na.mp4"
    pause

    Ive tried this and it blur add video but resolution isnt good

    Ive also tried to do that :

    ffmpeg -i 2.mp4 -lavfi "scale=ih*16/9 :-1,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg] ;[bg][0:v]overlay=(W-w)/2 :(H-h)/2,crop=h=iw*9/16,setsar=1" r3.mp4

    It blur every video perfectly but it also increase resolution a lot

    I would just like to find something that convert each video to 1920x1080 16:9 (if is possible with blur effect)