
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 (61)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (5542)
-
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 ?


-
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 ? -
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