
Recherche avancée
Autres articles (112)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8156)
-
Revision 345fbfef06 : vp9 mt decode : reorder tile decode reorder the tiles based on size and their pr
6 décembre 2013, par James ZernChanged Paths :
Modify /vp9/decoder/vp9_decodeframe.c
vp9 mt decode : reorder tile decodereorder the tiles based on size and their presumed complexity. this
minimizes the cases where the main thread is waiting on a worker to
complete.Change-Id : Ie80642c6a1d64ece884f41683d23a3708ab38e0c
-
There is no sound in the video I created
21 décembre 2022, par deniz keskinffmpeg -i intro.mp4 -i video.mp4 -i watermark.jpg -filter_complex "[0:v]scale=854x480[intro];[1:v][2:v] overlay=x=10:y=10,drawtext=text=TEXT':box=1:boxborderw=5:boxcolor=black:x=(w-text_w)/2:y=h-th:fontsize=30:fontcolor=white:enable='between(t,0,15)'[main];[intro][main]concat=n=2:v=1:a=0[out]" -map "[out]" -pix_fmt yuv420p -c:a copy out.mp4



I want the video to work properly with the sound problem fixed.
I'm waiting for your help


-
fluent-ffmpeg performance - Taking screenshot for a huge amount of file on a network drive
20 septembre 2022, par RobousteI'm trying to scan all the videos inside a specific folder and create a thumbnail for each of them.


Here is the relevant code :


public async scan(): Promise {

 const files = await this.readFile(this._directoryPath);

 const result: string[] = [];

 for await (const file of files) {
 result.push(file);
 try {
 ffmpeg(file)
 .on("error", (err, stdout, stderr) => {
 console.log(err.message);
 })
 .screenshots({
 timestamps: [5],
 filename: basename(file) + ".png",
 folder: this._thumbnailPath,
 });
 } catch (e: any) {
 logger.error("Failed taking screenshot for " + file + " with error " + e.message);
 }
 }

 return result;
}




It is running fine a for small amount of video, but when I tried on a network path (\Servername\some_folder) containing 2000 video files, my pc died after a moment. It manages to scan 800 videos then everything crashed.


Is there a way to make that a background process ? I don't need to wait for it to be over. Or is it possible to run this chunk by chunk from one API call ?


I'm completely new to node.js so any help is appreciated.