
Recherche avancée
Autres articles (41)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (7000)
-
Executing a shell script that contains FFmpeg from a PHP script
26 février 2019, par metteI am trying to run a shell script in PHP through shell_exec(). The shell script merges two mp3 files using FFmpeg. I have tested the code in my terminal and it works just fine. However, I cannot get it to work with php. This is supposed to run when I click a button on a webpage (I am using WordPress). When I try doing this, it makes it to the shell script page, and makes it through it. But, it seems that FFmpeg does not work.
I call :
$new_file = realpath(dirname(__FILE__) . '/../../../scripts'). '/' . $new_file;
$path = realpath(dirname(__FILE__) . '/../../../scripts/combine-mp3.sh');I get the $ad_file and $main_file from objects stored in a database.
$output = shell_exec('bash ' . $path . ' ' . $ad_file . ' ' . $main_file . ' ' . $new_file);
echo "<pre>$output</pre>";Example of what it looks like :
bash
/Users/me/Documents/websites/zzz/wp-content/plugins/myplugin/scripts/combine-mp3.sh
http://localhost/zzz/wp-content/uploads/mp3/News_Intro.mp3
http://localhost/zzz/wp-content/uploads/mp3/main_file.mp3
new_file_test.mp3
The combine-mp3.sh then gets run:
#this script requires 3 files, input1, input2 and output
echo -e "Input File 1:\t" $1
echo -e "Input File 2:\t" $2
echo -e "Output File:\t" $3
#make sure there are not temporarily files floating around, they use long specific names to avoid accidentally removing important files
rm combine-mp3-temp-file-1.mp3
rm combine-mp3-temp-file-2.mp3
#create intermediate files at 128kbps
ffmpeg -i $1 -f mp3 -ab 128k -ar 44100 -ac 2 combine-mp3-temp-file-1.mp3
ffmpeg -i $2 -f mp3 -ab 128k -ar 44100 -ac 2 combine-mp3-temp-file-2.mp3
#combine the two intermediate files
ffmpeg -i "concat:combine-mp3-temp-file-1.mp3|combine-mp3-temp-file-2.mp3" -acodec copy $3
#remove temporary files now they are not needed
rm combine-mp3-temp-file-1.mp3
rm combine-mp3-temp-file-2.mp3I am thinking it could possibly be the environment or something. But I have no idea what is wrong.
-
Matomo Celebrates 15 Years of Building an Open-Source & Transparent Web Analytics Solution
-
Piwik Analytics becomes Matomo to reflect Users’ Privacy Focus
10 janvier 2018, par Matomo Core TeamOne of the world’s leading analytics software platforms is changing its name. Piwik is the sixth most-used web and mobile analytics computer solution worldwide. It is now changing its name to Matomo.
The name change comes after 10 years of Piwik building its top analytics software, with great success. It is already used on over one million websites in more than 170 countries. Matomo will build on that success, and focus even more on privacy.
‘Privacy has become a huge concern worldwide’, says Matomo’s creator, Matthieu Aubry. ‘Privacy legislation is being developed in Europe, and we will be ahead of the game in being ready for those changes. We’ll grow in line with the law and regulation changes.’
Matomo will lead the way in openness and transparency for its users. Its new name means honesty in Japanese.
‘Matomo will always be free and community-driven, just as Piwik was’, says Matthieu Aubry. ‘We have worked with hundreds of people to create the best open digital analytics solution in the world. We’re committed to giving every user full control of their data.’The change of name is appropriate as the Matomo platform moves into a new stage of growth. But for its community, little will obviously change. The same people will still be involved, and users will still get useful data to improve their own website. That data includes who visits their site, what they do there, how long they stay, and what they buy.
Matomo is an all-in-one analytics solution that gives companies a 360 degree view of their users.‘They can grow their business while still keeping 100% ownership of their data, and being fully compliant with privacy laws’, says Matthieu Aubry. ‘We’re more motivated than ever to building on that, so that Matomo stays ahead of the pack.’
The platform can be fully customised with hundreds of plug-ins, integrations and configurations.
Matomo’s updated website and new logo is now available on https://matomo.org.
For further information, please contact the Matomo Team on hello@matomo.orgThe post Piwik Analytics becomes Matomo to reflect Users’ Privacy Focus appeared first on Analytics Platform - Matomo.