
Recherche avancée
Autres articles (102)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (14197)
-
FFmpeg for automatic video generation from images ?
22 janvier 2018, par Dionisis KI want to implement an automatic video generation from images, like facebook’s anniversary video. And I would also like to add some filters. I’ve been searching a lot and read FFmpeg’s documentation which is pretty amazing.
In the future I want to have 10-20 "bashscripts" with different filters leading to different themes (e.g. fade-in, zoom, overlay images, left-to-right, etc..)
So my biggest concern is having an interface which offers readable code and provides scalability. Since ffmpeg is a bashscript i searched for a wrapper
There are wrappers in
- https://github.com/PHP-FFMpeg/PHP-FFMpeg for php ,which doesn’t support image convertion to videos and complex filters .
- https://github.com/fluent-ffmpeg/node-fluent-ffmpeg which looks promising but also difficult to go with complex filters
- and https://github.com/kkroening/ffmpeg-python for python.I think that it s pretty good
Are there any other wrappers worth to check ?
Would you recommend something from the above ?
Is there any pros and cons using a specific programming language for this particular case ?
Is there anything else i should bear in mind before I make a decision ? -
Accord.Video.FFMPEG getting error for long video
30 novembre 2022, par wahyuI use Accord.Video.FFMPEG to extract images every 10 frames from a video. Total frames for this video is 38194 frames. First run is good, I can save image every 10 frames but after run of about 38185 frames i got null return from this code
Bitmap bmpBaseOriginal = vReader.ReadVideoFrame();
, if I see in the video there is no problem at the end of video.

I do something like this


using (var vReader = new VideoFileReader())
{
 vReader.Open(files[0]);
 TotalFrame = vReader.FrameCount;
 countin = Convert.ToInt32(TotalFrame / Convert.ToDouble(countAsset));
 Fps = vReader.FrameRate.Value; 
 int a = 0;
 for (int i = 0; i < vReader.FrameCount; i++)
 {
 if(i < vReader.FrameCount - 1)
 {
 Bitmap bmpBaseOriginal = vReader.ReadVideoFrame();
 if (i%10 == 0)
 {
 a++;
 bmpBaseOriginal.Save(string.Format("{0}\\{1}.jpeg", dirVideo.FullName, a), ImageFormat.Jpeg);
 }
 bmpBaseOriginal.Dispose();
 }
 else
 {
 a++;
 Bitmap bmpBaseOriginal = vReader.ReadVideoFrame();
 bmpBaseOriginal.Save(string.Format("{0}\\{1}.jpeg", dirVideo.FullName, a), ImageFormat.Jpeg);
 bmpBaseOriginal.Dispose();
 }
 }
 vReader.Close();
}



this problem occurs again on another video if the video has a lot of frames, but no problem if the video has a less frames.


How to solve it ?


-
Extract audio and video frames from a video [on hold]
27 avril 2014, par zeitgeistI tried to extract video frames using Aforge FFMPEG. But it is quite slow and extracts video quailty is low. Also it doesn’t support audio functionality. So I need a library that would be extracting its audio and quality video frames.
Below code is extracted video frames.
VideoFileReader reader = new VideoFileReader();
VideoFileWriter writer = new VideoFileWriter();
reader.Open(@"D:\Ali\Videos\katy.mp4");
writer.Open( @"D:\Ali\Videos\katy_.mp4", reader.Width, reader.Height, reader.FrameRate, VideoCodec.MPEG4 );
Bitmap videoFrame;
while((videoFrame = reader.ReadVideoFrame()) !=null )
{
writer.WriteVideoFrame(videoFrame);
// dispose the frame when it is no longer required
videoFrame.Dispose();
}