
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (97)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (10412)
-
FFMPEG PHP - Converting gif to mpeg
15 août 2014, par Kyle GoodrichI’d like to create a simple script that converts gifs to mpegs using FFMPEG PHP. The script works when using FFMPEG in terminal. When I use a similar script using FFMEG PHP and host it on my domain, the script converts the gif to an mpeg, but only converts one frame of it. This is strange because the FFMPEG line of code that is responsible for the conversion is essentially the same line used previously in terminal. I’ve made sure that my web host (cirtex) has FFMPEG installed in their server. Also, I made sure to edit my php.ini file for FFMPEG use.
The script I created consists of two parts - uploader.php and uploader_02.php.
uploader.php is a simple submit form, where the user uploads and submits a gif.
uploader_02.php receives the gif and copies it over to another directory on the server. Then, the script applies the FFMPEG conversion to the saved gif.
Here’s are the lines of php that are responsible for the conversion :
<?php
// ffmpeg
$ffmpeg = "/usr/bin/ffmpeg";
$videoFile = "test_videos/" . $name;
$output = "test_videos/instagram.mpg";
$cmd = "$ffmpeg -i $videoFile -vb 5M -y $output";
exec($cmd);
?>For some reason, only one frame of the gif is converted into mpeg format. Not sure what is causing this problem.
Any information regarding this issue will help out a lot.
-
How to generate video from photos with animation on server ?
13 janvier 2014, par user1953063Good day !
I create programm for server, which should generate a video clip of the photos. The user sends photos to the server and the server generates a video with animation and sound track from this photos. I use ffmpeg for creation video, but how to create animation ?. I need different (difficult) animation : transitions (fade in, fade out, scroll), zooming, animations numbers etc.
This example explains what I need.
Thanks
-
Capturing Video with 1:1 aspect ratio on Android
30 septembre 2016, par Nikhil MathewI am trying to develop an android app that would record a 15sec 640x640 video using MediaRecorder, extract all frames using ffmpeg, apply some artistic filters using gpuimage and then combine the frames back to a video using ffmpeg.
I’m facing problem in recording a video of resolution 640x640. (Instagram android app does this)
I tried using MediaRecorder’s setVideoSize(640, 640) and the output video is 640x640 but the video looks like a 640x480 video stretched vertically to make it 640x640. I guess that’s because 640x640 is not a resolution returned by the supported video capture resolution list of the device. Is there any way to tell media recorder to maintain aspect ratio while doing such scaling so that I get a video that was scaled from 640x480 to 640x640 by cropping width wise instead of stretching height wise ?