
Recherche avancée
Autres articles (107)
-
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...) -
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 ;
-
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 (...)
Sur d’autres sites (8563)
-
FFmpeg's trim filter to handle movie files with non-zero start_time for a transcoding task ?
19 août 2014, par DrakeFor a movie file (ex, ooxx.mp4) with non-zero start_time in video stream, the negative start_time (ex, -0.5) can mean skipping first 0.5s frames, and the positive start_time (ex, 0.7s) can mean postponing the playback for 0.7s.
I’m wondering if we can make use of FFmpeg’s trim filter (or something else) to strip out some video frames (for negative start_time) or put some empty (ex, black) frames ahead (for positive start_time) automatically ?
-
lavfi/movie : Use filter thread count for decoding threads.
25 août 2019, par Carl Eugen Hoyos -
Using ffmepg wrapper to convert images to movie file
24 mai 2020, par rebornI have recently been using the ffmpeg wrapper by Vitaliy Fedorchenko called NReco.VideoConverter. It's pretty great and I have managed to write another application with it that I hope to release soon after some testing and I purchase the license for the wrapper (it's a cool watermarker for videos).



I am now trying to use that same wrapper to encode a video from still images, but sadly there is very little documentation available and I am feeling my way int he dark a little. I am hopeful that someone familiar with the wrapper might be able to help.



I collect the images using the fileOpenDialogue and picking images to populate a listView. When I am ready, I then take these images to build an array and create the movie.






void ConvertToMovie()
 {
 if(listImages.Items.Count > 1)
 {
 var ffMpeg = new NReco.VideoConverter.FFMpegConverter();

 NReco.VideoConverter.FFMpegInput[] ffMpegInputs = new NReco.VideoConverter.FFMpegInput[listImages.Items.Count]; 

 for (int i = 0; i < listImages.Items.Count; i++)
 {
 var SSAImage = new NReco.VideoConverter.FFMpegInput(listImages.Items[i].SubItems[2].Text.ToString());
 ffMpegInputs[i] = SSAImage;
 }


 ConvertSettings csettings = new ConvertSettings();
 csettings.SetVideoFrameSize((int)MovieWidth.Value, (int)MovieHeight.Value);
 csettings.VideoFrameCount = listImages.Items.Count;
 csettings.VideoFrameRate = (int)FPS.Value;

 /*
 string argument = " -profile:v high ";
 csettings.CustomOutputArgs = argument;
 */

 if (FormatChooser.SelectedIndex == 0)
 {
 //This just takes the first picture and converts that single frame into a movie.
 ffMpeg.ConvertMedia(ffMpegInputs, @"Converted.avi", Format.avi, csettings);
 //ffMpeg.ConvertMedia(listImages.Items[0].SubItems[2].Text.ToString(), ffMpegInput.Format, @"Converted.avi", Format.avi, csettings);
 }
 }
 else
 {
 MessageBox.Show("You need at least two images to make a movie.", Title);
 }
 }




Passing the images as an array to the function seems logical. At list of the methods are here : https://www.nrecosite.com/doc/NReco.VideoConverter/



However, the only method that allows you to pass an array of the inputs is here :
https://www.nrecosite.com/doc/NReco.VideoConverter/html/M_NReco_VideoConverter_FFMpegConverter_ConvertMedia.htm



So this makes sense to me that it would be the one to use.



This does generate a .avi file, but the movie only contains the first frame from the array.



I saw someone else had the same issue here : Nreco video converter make video from image sequence



However, the responses seemed to suggest using a different method that allows you to pass a single image file only, then somehow the ffmpeg.exe will sequence the rest of them ? I couldn't get that to work at all.



At this stage the only way I can see of making it work is creating a single frame movie file for each frame, and then concating all of the movie files together using :






That's a pretty ridiculous notion though.