
Recherche avancée
Autres articles (52)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10447)
-
convert a normal video to youtube short
28 mai 2022, par Un1xCr3whello i have videos with width of 1920px and height of 1080 and i wanna crop it at the center and create a youtube short with it


iam using youtube dl wrap node js library
here is my code example


var ffmpeg = require("fluent-ffmpeg");
const fs = require("fs");
let rawdata = fs.readFileSync("./json-files/small.json");
let clips = JSON.parse(rawdata);

function convertIt(fileName) {
 return new Promise((resolve, reject) => {
 ffmpeg(`./media-new/${fileName}`)
 .size("480x640")
 .aspect("9:16")
 .autopad()
 .videoBitrate("4000k")
 .on("end", function () {
 console.log("file has been converted succesfully");
 resolve("foo");
 })
 .on("error", function (err) {
 console.log("an error happened: " + err.message);
 reject(err);
 })
 // save to file
 .save(`./lib/${fileName}`);
 });
}

async function convertToShorts() {
 for (const iterator of clips) {
 await convertIt(`${iterator.id}.mp4`);
 }
}

convertToShorts();



-
hevc : make the crop sizes unsigned
20 mars 2015, par Anton Khirnov -
svq3 : move mb strides/sizes to the SVQ3Context
23 mars 2016, par Anton Khirnov