
Recherche avancée
Autres articles (55)
-
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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4483)
-
How do i add multiple sound effects (mp3) to a video (mp4) at any given time in the video ? [closed]
25 octobre 2023, par StudentProgrammerI am trying to automate my editing process. I have a video.mp4 with a given length, a folder with different sound-effects.mp3 and a list of timestamps = (t1, t2, t3...). I would like to be able to insert any sound-effect at any given time in the video. Furthermore a sound may last multiple seconds and overlap another sound. I've tried to visualize the concept with images.
enter image description here
enter image description here
Preferably this would be done in Python. However, I would be extremely happy if anyone took their time to help me out using any means of programming required.


I have tried using Moviepy without much success as I am only able to add sound to the start of the video. Perhaps ffmpeg is the way to go.


-
Add a fixed size image on a video, regardless of the video width & height FFMPEG [duplicate]
30 juillet 2017, par RitaThis question already has an answer here :
This is my code that that is use is following
$info = pathinfo($file) ; $out = "$info[’dirname’]/ss_$info[’basename’]" ; exec("ffmpeg -i ’".$file."’ -i ’".SS_ROOT."".$ss->settings[’watermark_image’]."’ -filter_complex ’overlay=main_w-overlay_w-10:main_h-overlay_h-10’ ’".$out."’") ;
that works very well, but it doesn’t keep the logo aspect ratio. I tried this code on two videos with different resolution and this is the result
-
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 ?