
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (62)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (7369)
-
Tainted canvas may not be exported. When trying to send it via ajax to php file
6 décembre 2015, par romikette FI am trying to capture an image from a local video so I can make a thumb out of it. I am trying to avoid using video conversions (like ffmpeg) to save server resources and keep my videos in theyr original format.
I’we been reading about tainted canvases and I understand I am trying to breach the browsers security protocols. But this article https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas said that I could pull an image if it were from a different source (something something).
So far I have this :<video src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" controls="controls"></video><br />
<button>Capture</button> <br /><br />
<div></div>
<canvas></canvas> <br /><br />and :
function capture(){
var canvas = document.getElementById('mYcanvas');
var video = document.getElementById('video');
canvas.getContext('2d').drawImage(video, 0, 0, video.videoWidth, video.videoHeight);
function getBase64() {
var img = document.getElementById("mYcanvas");
var canvas = document.createElement("canvas");
canvas.width = img.width;
canvas.height = img.width;
var ctx = canvas.getContext("2d");
ctx.drawImage(img, 0, 0);
var dataURL = canvas.toDataURL("image/png");
alert(dataURL.replace(/^data:image\/(png|jpg);base64,/, ""));
$.ajax({
url: 'submit_image.php',
type: 'POST',
data: {
imgdata: dataURL
},
success: function (res) {
document.getElementById("response").innerHTML = res;
}
});
}
getBase64();
}Never mind the php. It dose not receive anything.
-
Cannot find installation of real FFmpeg (which comes with ffprobe)
29 mars 2023, par Asm GoniI was trying to fit a generator into a model and I got this error : 

AssertionError: Cannot find installation of real FFmpeg (which comes with ffprobe).



I have looked over many of the solutions on GitHub and other questions on Stack Overflow but none of them worked for me.



Here is one of the commands I ran :



sudo add-apt-repository ppa:mc3man/trusty-media 
sudo apt-get update 
sudo apt-get install ffmpeg 
sudo apt-get install frei0r-plugins 




pip list
also indicates the presence offfmpeg-1.4



In addition, I tried force reinstalling and updating ffmpeg just in case any dependencies were not installed properly.



I also set the skvideo's path for ffmpeg manually :



skvideo.setFFmpegPath('/usr/local/lib/python3.6/dist-packages/ffmpeg/')




This returns :
/usr/local/lib/python3.6/dist-packages/skvideo/__init__.py:306: UserWarning: ffmpeg/ffprobe not found in path: /usr/local/lib/python3.6/dist-packages/ffmpeg/
 warnings.warn("ffmpeg/ffprobe not found in path: " + str(path), UserWarning)



By the way, when I try installing, it also returns this error, I don't know what to do about this :



Get:127 http://archive.ubuntu.com/ubuntu bionic/main amd64 vdpau-driver-all amd64 1.1.1-3ubuntu1 [4,674 B]
Fetched 60.4 MB in 7s (8,769 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/w/wavpack/libwavpack1_5.1.0-2ubuntu1.1_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?




I ran
apt-get update --fix-missing
and that didn't make anything better.


Is there a solution to this ?


-
What is the future of Piwik ?
In this post we will explain the key values that drive the Piwik project, and expand upon our goals and roadmap for both the short and long term future.
What are Piwik’s goals ?
Piwik will :
- Enable you to make Data driven decisions
- Let you focus on what matters most to you
- Gather in one place all your important metrics (Key Performance Indicators)
- Be the best open alternative to Google Universal Analytics
- Support Developers and provide opportunities for them to innovate on Piwik platform
The Piwik Roadmap
To achieve our goals, the Piwik team along with Piwik PRO have prepared the Piwik Roadmap.
We have created this Roadmap based on hundreds of emails sent by users, tickets, along with thousands of forums posts. Feel free to send us feedback about this roadmap.
What are Piwik values ?
Our strong values govern all that we do :
Summary
It is our mission to provide an open and innovative alternative for people who prefer not to use (or cannot use) Google Analytics to analyse and measure their users.
It is a fun and epic mission which we are proud to be a part of.
Thank you for trusting us and the project, and keep in touch,
Matthieu
Piwik founder