
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (57)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (10383)
-
Batch convert gif files to image sequences using ffmpeg
20 août 2021, par Alfred CasselsI'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 nemeskeriorsIm 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 :
- resize image :
-i %image% -vf scale='if(gt(a,4/3),640,-1)':'if(gt(a,4/3),-1,360)' %resized_image%
- 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%
- 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 wuzzBeen 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);