
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (6089)
-
TimeSpan in Aforge.Net, set time for each image in a video
23 décembre 2020, par Siddhant SinghI have a query I am creating a video from the set of images using the Aforge.net framework but the video is playing very fast I want at least 5 seconds for each image in the video, I have tried using timeSpan but I didn’t get the desired result.
could anyone please suggest me or help me to find out my solution.


here is my code


TimeSpan timeSpan = new TimeSpan(0, 0, 5);
string[] paths = Directory.GetFiles(basePaths);
int imagesCount = paths.Length;
using (var vFWriter = new VideoFileWriter())
{

vFWriter.Open(@”D:\videosss.avi”, 1920, 1080,1,VideoCodec.MPEG4,4000000);

for (int i = 0; i < imagesCount; i++)
{
var imagePath = string.Format(paths[i]);
using (Bitmap image = Bitmap.FromFile(imagePath) as Bitmap)
{
vFWriter.WriteVideoFrame(image,timeSpan);

}

}
}
}



if I use timespan the first image plays the whole time of timespan, if I don't use timespan the video plays well but fast. the directory contains 15 images I want 5 or 6 sec at least for each image in the video. where the 45 sec is my total time.


thanks


-
How to get specific start & end time in ffmpeg by Node JS ?
3 novembre 2017, par Santosh SuryawanshiI want to cut a video in specific start & end time & save it. I cant understand how to cut specific time of that video by Node JS.
Video copy code :
return new Promise(function(resolve ,reject){
var ffmpeg = require('fluent-ffmpeg');
ffmpeg(fs.createReadStream(path.join(__dirname,'..','..','/video.mp4')))
.seekInput('01:00')
.duration('02:00')
.outputOptions('-strict experimental')
.on('start', function(commandLine) {
console.log('Spawned Ffmpeg with command: ' + commandLine);
}).on('end', function(err) {
if (!err) {
console.log('conversion Done');
//res.send("conversion Done");
resolve();
}
}).on('error', function(err) {
console.log('error: ', +err);
reject(err);
}).save(path.join(__dirname,'..','..','/test.mp4'));
}); -
Random time and positioning of a watermark FFmpeg
5 mai 2020, par necakaranfilHow can i restrict this code just to show the watermark on the Top,bottom:Left/right position in a random sequence. And how can i change the time interval when the logo pops up to random ? Or if anyone has a better one, that can do this, that could be useful to.



for %%a in ("*.mp4") do ffmpeg -i "%%a" -loop 1 -i logo.png -filter_complex "[1]trim=0:30,fade=in:st=0:d=1:alpha=1,fade=out:st=9:d=1:alpha=1,loop=999:750:0,setpts=N/25/TB[w];[0][w]overlay=shortest=1:x=if(eq(mod(n\,200)\,0)\,sin(random(1))*W\,x):y=if(eq(mod(n\,200)\,0)\,sin(random(1))*H\,y)" "1%%~na.mp4"



Thanks