Recherche avancée

Médias (91)

Autres articles (55)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

Sur d’autres sites (8843)

  • Batch convert gif files to image sequences using ffmpeg

    20 août 2021, par Alfred Cassels

    I've managed to convert a gif to image sequence using ffmpeg and this code :

    


    ffmpeg -i test/source.gif videos/image-%03d.png

    


    how can I batch convert my gifs and place them in subfolders ?

    


  • Creating video from audio and resized image using FFMPEG

    20 décembre 2016, par nemeskeriors

    Im trying to create an mp4 video from an mp3 and an image with ffmpeg. The video should be the size of 640x360 with black background and the image should be resized to fit in this dimensions and centered in the middle. The video’s lenght must match the mp3’s length.

    Its basically a video creation for youtube from a song and an artwork.

    For now i was able to achive this with 3 steps :

    1. resize image :

    -i %image% -vf scale='if(gt(a,4/3),640,-1)':'if(gt(a,4/3),-1,360)' %resized_image%

    1. create a music video with black background :

    -f lavfi -i color=s=640x360 -i %audio_file% -c:v libx264 -s:v 640x360 -c:a aac -strict experimental -b:a 320k -shortest -pix_fmt yuv420p %video%

    1. put the resized image cenetered in the video :

    -i %video% -i %resized_image% -filter_complex "overlay=(W-w)/2:(H-h)/2" -codec:a copy %final_video%

    Is it possible to achive all this with one ffmpeg command ?

  • Getting the picture Orientation from a ffmpeg frame slice (for background poster image)

    11 février 2018, par wuzz

    Been at this for hours now, can’t seem to find a way to get the orientation. No matter what I do the image frame slice is sideways. Idea’s Interweb friends ? Also, I am doing this with MP4 and I already know the next issue I am going to run into is doing this with MOV files, from iOS uploads. Any help there, would be appreciated as well thanks.

    $command_to_execute = "ffmpeg -vframes 1 -ss 1/2 -i " . $video_path . " " .
    $video_image_dir . $video_name . ".jpg -y";
    exec($command_to_execute);
    $exif = exif_read_data($video_image_dir . $video_name . ".jpg");
    $imageResource = imagecreatefromjpeg($video_image_dir . $video_name.".jpg");
     switch ($exif['Orientation']) {
       case 3:
               $image = imagerotate($imageResource, 180, 0);
       break;
       case 6:
               $image = imagerotate($imageResource, -90, 0);
       break;
       case 8:
               $image = imagerotate($imageResource, 90, 0);
       break;
       default:
               $image = $imageResource;
       }
       imagejpeg($image, "upload/" . $video_name . ".jpg", 90);