
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (71)
-
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 à (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer
Sur d’autres sites (5993)
-
Resize videos in android
18 février 2014, par Christopher JohnsonI'm looking to resize videos captured using the MediaStore Intent after they have been saved to the SD card. I've done similar things with c# and ffmpeg and thought about using that with android but I've yet to be able to find a way to incorporate that into my eclipse running on my windows 7 machine.
I'm a total *nix noob so all of the solutions that I've found for building ffmpeg into an android app are completely greek to me.
Is there an alternative solution to ffmpeg that perhaps is already built into the android sdk for resizing videos ?
I'm just looking for the path of least resistance here...
-
Encode PNG images to MP4
12 avril 2020, par xybrekI'm using FFMPEG.js to convert PNG images into MP4 in the Browser with this code :



const { createWorker } = FFmpeg;
 const worker = createWorker({
 corePath: 'ffmpeg-core.min.js',
 progress: (p) => console.log(p),
 logger: ({ message }) => console.log(message),
 });
 const image2video = async (frames) => {
 console.log('Loading ffmpeg-core.min.js');
 await worker.load();
 console.log('Loading data');

 const d = new Date();
 const timestamp = d.getTime();

 for(let i = 0; i < frames.length; i += 1) {
 const num = `00${i}`.slice(-3);
 const fileName = `tmp.${timestamp}.${num}.png`;
 console.log(fileName);
 await worker.write(fileName, frames[i]); // base64 'image/png'
 const { file } = await worker.read(fileName);
 // throws -> Uncaught (in promise) TypeError: Cannot read property 'buffer' of undefined
 const testFile = URL.createObjectURL(new Blob([file.buffer], { type: 'image/png' }));
 console.log(testFile);
 }
 await worker.run('-framerate 30 -pattern_type glob -i /data/*.png -c:a copy -shortest -c:v libx264 -pix_fmt yuv420p out.mp4', { output: 'out.mp4' });
 const { data } = await worker.read('out.mp4');
 const outputURL = URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4' }));
 console.log(outputURL);
 }




However it throws :



[png @ 0x1175980] Warning: not compiled with thread support, using thread emulation
[image2 @ 0x1177180] Could not open file : /data/*.png
[image2 @ 0x1177180] Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, image2, from '/data/*.png':
Duration: 00:00:00.03, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, none(pc), 30 tbr, 30 tbn, 30 tbc
Output #0, mp4, to 'out.mp4':
Output file #0 does not contain any stream




What could be missing here ?


-
Consume RTSP stream from users browser without converting on the server
19 août 2018, par KazanzI have thousands of IP cameras that need to be displayed to various users that are all outputing RTSP streams. Right now I have a server that uses ffpmeg to convert the stream to mpeg video that is then consumed and served over websockets via a node app.
My problem is that these two processes take up a ridiculous amount of memory. About a half a GB for each camera.
Is there any way to offload the conversion and reading of the stream to the client’s machine in their browser, or potentially out of it ?