
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (25)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)
Sur d’autres sites (6825)
-
Anomalie #2486 (Nouveau) : Charge du processeur après validation d’un document
11 janvier 2012, par Steven MouretSous Spip 3.0.0-beta2 [18874] Windows 7 Firefox 9.0.1 Lorsque je modifie un document (image) dans un article, une fenêtre modale s’ouvre et me permet de faire mes modifications. Lors de l’enregistrement mon processeur s’emballe et monte à 95% d’utilisation. Cela doit venir d’un script qui tourne (...)
-
FFmpeg capturing 1 FPS thumbnails
30 juin 2019, par GediminasI’m trying to programmatically export a series of thumbnail images (one image per-second) I’m not worried about the actual footage conversion and image file creation. My interest is in how would it be better to capture a valid 1 fps frame. (with no artifacts)
This is possible using FFmpeg’s command line like this :
ffmpeg -i test.mp4 -vf fps=1 out%d.png
So while looking at the FFmpeg’s source code I’ve noticed that it’s using a thing called filters. While filters can do a lot of cool stuff, I’m not sure if using those wouldn’t be too much of an overhead for a relatively simple task like this ?
I mean, while using filters, to get a correctly decoded frame (with no artifacts) FFmpeg still needs to decode all frames contiguously anyway ? So maybe in my situation it’s better to not use filters and decode frames contiguously while monitoring frame’s PTS ?
-
Fluent-ffmpeg : Output with label 'screen0' doesnot exist in any diferent filter graph, or was already used elsewhere
28 avril 2019, par mandaputtraI’m trying to take video frame by frame using fluent-ffmpeg, to create video masking and some kin of like experiment video editor. But when I do that by
screenshots
it saysffmpeg exited with code 1: Output with label 'screen0' does not exist in any defined filter graph, or was already used elsewhere.
Here example array that I use for producing timestamps.
["0.019528","0.05226","0.102188","0.13635","0.152138","0.186013","0.236149" ...]
// read json file that contains timestaps, array
fs.readFile(`${config.videoProc}/timestamp/1.json`, 'utf8', async (err, data) => {
if (err) throw new Error(err.message);
const timestamp = JSON.parse(data);
// screenshot happens here
// loop till there is nothing on array...
function takeFrame() {
command.input(`${config.publicPath}/static/video/1.mp4`)
.on('error', error => console.log(error.message))
.on('end', () => {
if (timestamp.length > 0) {
// screenshot again ...
takeFrame();
} else {
console.log('Process ended');
}
})
.noAudio()
.screenshots({
timestamps: timestamp.splice(0, 100),
filename: '%i.png',
folder: '../video/img',
size: '320x240',
});
}
// call the function
takeFrame();
});My expected result are, I can genereta all the 600 screenshot. on one video. but the actual result is this error
ffmpeg exited with code 1: Output with label 'screen0' does not exist in any defined filter graph, or was already used elsewhere
and only 100 screen generated.[UPDATE]
using
-filter_complex
as mentioned in here doenst work.ffmpeg exited with code 1: Error initializing complex filters.
Invalid argument[UPDATE]
command line arg :
ffmpeg -ss 0.019528 -i D:\Latihan\video-cms-core\public/static/video/1.mp4 -y -filter_complex scale=w=320:h=240[size0];[size0]split=1[screen0] -an -vframes 1 -map [screen0] ..\video\img\1.png