
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (65)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10384)
-
Create Video thumbnail in slim
29 juillet 2015, par shivani guptaI am creating api’s using slim framework.My problem is that i am trying to upload video to localserver but the thumbnails of video are not generating.
I have tried ffmpeg but it is not working :Here is my code :
exec('ffmpeg -itsoffset -4 -i C:\xampp\htdocs\givemethatpic\shared_17008.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -ss 620x440 C:\xampp\htdocs\givemethatpic\tdrrsss.jpg');
I used ffmpeg-win32 setup and it installed the ffmpeg to C :\Program Files (x86).
I do not know where i am wrong.Please tell why thumbnail is not generating ?? -
ffmpeg generate thumbnail with aspect ratio, but X seconds into video
24 septembre 2013, par skrilledSo this command works for generating a thumbnail 5 seconds into the video, with a size of 300x300 :
$cmd = '/usr/local/bin/ffmpeg -i '.$this->getUploadRootDir().'/'.$fname.' -ss 00:00:05 -f image2 -vframes 1 -s 300x300 '.$this->getUploadRootDir().'/thumb_'.$output;
However, I want to keep the aspect ratio so I changed my code to this :
$cmd = "/usr/local/bin/ffmpeg -i ".$this->getUploadRootDir()."/".$fname." -ss 00:00:5 -f image2 scale='min(300\, iw):-1' ".$this->getUploadRootDir()."/thumb_".$output;
The above code correctly sizes the image, however it's of the first frame in the video.. I need the thumbnail to be 5 seconds in. Any help would be much appreciated.
-
ffmpeg not creating a name for image after thumbnail generation C#
15 août 2012, par LynxI just learn how to use ASP.NET and learn C# last month and now I am having a problem.
I am experimenting on how to generate thumbnail using ffmpeg in C#. The thumbnail successfully generated in intended folder but there is no name for the image file.
what I want to do is to create thumbnail and automatically named the jpg file same as the video file.I can't figure out what is wrong with my code ; in fact, I don't even understand the code completely as I copied the code from internet and change the folder path of the files.
private void generateThumbnails(string filename)
{
string[] setThum = filename.Split('.');
string thumb_path = setThum[0] + ".jpg";
filename = "C:\\ramky\\al.avi";
string thumbpath, thumbname;//, videopath;
string thumbargs, inputfile;
thumbpath = "C:\\ramky\\";
thumbname = thumbpath + thumb_path;
inputfile = filename;
thumbargs = "-i \"" + inputfile + "\" -s 240*150 -ss 1 -vframes 1 -f image2 \"" + thumbname + "\"";
Process thumbproc = new Process();
thumbproc = new Process();
thumbproc.StartInfo.FileName = "C:\\ffmpeg\\ffmpeg.exe";
thumbproc.StartInfo.Arguments = thumbargs;
thumbproc.StartInfo.UseShellExecute = false;
thumbproc.StartInfo.CreateNoWindow = true;
thumbproc.StartInfo.RedirectStandardOutput = false;
try
{
thumbproc.Start();
if (thumbproc != null)
{
thumbproc.Close();
}
}
}Your help will be really appreciated.