
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (108)
-
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) (...)
-
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 -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6771)
-
Write base64 encoded string as Image with javascript
21 avril 2020, par Manoj KumarI am using
FFmpeg
andhtml2canvus
and trying to create an mp4 video with the screenshots taken from a slider.


here is my worker initialization



const worker = createWorker({
 //logger: ({ message }) => console.log(message),
 progress: (p) => console.log(p),
});




Then in click, I take the screenshots and putting into the video



const image2video = async () => {
 displayLoader();
 var zip = new JSZip();
 let selectedbanners = $(".selected_templates:checked");
 await worker.load();
 let promise = new Promise((resolve, reject) => {
 let Processed = 0;
 selectedbanners.each(async function () {
 var dataIndex = $(this).data('index');
 let ad = adTemplates[dataIndex];
 var innercounter = 0;
 $(`.template-container-${ad.name}`).each(async function () {
 var imgData;
 await html2canvas($(`.template-container-${ad.name}`)[innercounter], {allowTaint: true, width: ad.width, height: ad.height}).then(canvas => {
 imgData = canvas.toDataURL('image/jpeg', 1.0).split('base64,')[1];
 //await worker.write(`tmp.${ad.name}.${innercounter}.png`, imgData);

 });
 await worker.write(`tmp.${ad.name}.${innercounter}.png`, imgData);
 //await worker.write(`tmp.0.png`, `static/triangle/tmp.0.png`); This is working
 });
 });
 });
};




I have setup a codepen here. It works if I put the image path but doesn't work if I directly pass the base64 string. Here I found that it also supports the base64 string as well as the URL.
This is how it looks in console


Thanks in advance.


-
lavfi/vf_vpp_qsv : check output format string against NULL pointer
9 janvier 2023, par Haihao Xiang -
avformat/segment : Avoid duplicating string when parsing frames list
6 septembre 2020, par Andreas Rheinhardt