Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (32)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5022)

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