
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)
Sur d’autres sites (8768)
-
file conversion every after 10 minutes cronjob
29 novembre 2017, par SimI have added a cron job to execute a script after every 10 minutes , the script checks if the any new file is uploaded to directory, if there is a new file then it converts the video file to a small size like i have given in the command ..
Below is the code i have tried , everything is working , i tried adding the email functionality as well and it works, but not executing ffmpeg command
$last = (int)file_get_contents('timestamp.txt');
file_put_contents('timestamp.txt', time());
$files = glob('videos/*.mp4');
$files = array_filter($files, function($file) {
return filemtime($file) > $last;
});
if ($files) {
foreach ($files as $sfile) {
$sfile = str_replace('videos/', '', $sfile);
$video = 'videos/'.escapeshellcmd($sfile);
$sixty = "videos/250/".escapeshellcmd($sfile);
$cmdform = "ffmpeg -i $video -vf scale=250:140 $sixty";
$do = `$cmdform`;
}
}One more thing is that it converts the files with static name like if i give "videos/1.mp4" then it works but does not work in foreach loop.
and command to set cron job
*/10 * * * * wget http://mywebsite.com/coding.php
Much thanks.
-
Revision 110694 : Mise au point de la demo. Ca permet de se rendre compte que certains ...
16 juin 2018, par eric@… — LogMise au point de la demo.
Ca permet de se rendre compte que certains YAML existant sont un peu permissifs (saisies input et email). -
How to identify users in video file when streaming video ? [on hold]
24 octobre 2017, par blackjak231I’m trying to find a solution to "secure" online video courses on a video streaming platform. The goals are the following :
- Prevent easy download of video - OK
- Be able to identify which connected user downloaded the video if it happens - NOK
The server will be a Debian machine running PHP 7 and the "encryption" of the video will be done "on the stream" for each user.
My question is for the second point. I’m unable to find a good solution for it. Here is what i thought of so far and the downsides :
- Add a watermark with the user’s name/email with "ffmpeg" on the whole video (in a corner)
- Can be blurred and therefore useless
- Add an invisible digital watermark (inside the video file) with a tool (which i have not found yet)
- Screen can be recorded and the invisible digital watermark lost.
- Add a watermark with the user’s name/email on 2 or 3 specific frames of the video while streaming using "ffmpeg"
- Best solution from my point of view but no technical solution found so far.
Do you have any recommendations on how to do this or a completely different approach to the problem ?
I’m open to any third party video tool such as Vimeo or any other available.
Thank you in advance for your help ! :)