
Recherche avancée
Autres articles (49)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (9620)
-
Android video unplayable at iOS
21 février 2017, par Atif ImranI’ve found that videos with codec
H.264, MPEG-4 HE AAC V2
have no problem with my code here. But when I use a video of codecH.264, AAC
(Sent from Android device) the videos are again black. Now my question is how do I convert a video to iOS playable codec. -
Reformat an output in Bash
5 février 2017, par KennethI’m using this ffmpeg argument to get the black frame in a file :
ffmpeg -i ${arrayDesFichiers[$i]} -vf "blackdetect=d=3:pix_th=0.00" -an -f null - 2>&1 | grep black_duration >> log.txt
Now I’m getting this in my log.txt :
[blackdetect @ 0x7fd9add06bc0] black_start:0 black_end:3.2 black_duration:3.2
And I would like to reformat it to something like this :
black duration : 3.2 seconds
I’m pretty sure it’s possible in Bash but how ?
-
how to make videothumbnail from the middle of the video ?
28 décembre 2019, par Shahrzad NazemiI am using ffmpeg as my module in Node js app for making video thumbnails.the thing is , it makes it from the beginning of the Video. and some of them begins with a black frame so the thumbnail will be a black picture.I want to know how should I make it from the middle of the video so that they wont be black anymore.
here is what I did :module.exports.createVideoThumbnail = function (path, destination, fileName, cb)
{
try
{
var process = new ffmpeg(path);
process.then(function (video) {
video.fnExtractFrameToJPG(destination, {
frame_rate: 1,
number: 1,
start_time: 20,
duration_time: 1,
file_name: `${fileName}`
}, function (error, files) {
if (!error)
{
console.log('Frames: ');
cb(1)
}
else
{ console.log(error); cb(-1); }
});
}, function (err) {
console.log('Error: ' + err);
cb(-1)
});
}
catch (e)
{
console.log(e.code);
console.log(e.msg);
cb(-1)
}
}