Recherche avancée

Médias (91)

Autres articles (107)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

Sur d’autres sites (8662)

  • doc/developer : revise mailing list section

    4 décembre 2017, par Jim DeLaHunt
    doc/developer : revise mailing list section
    

    The Developer Documentation had instructions to
    subscribe to the ffmpeg-cvslog email list. But that is
    no longer accurate. For the purposes in this section —
    review of patches, discussion of development issues —
    ffmpeg_devel is the appropriate email list. Some developers
    may want to monitor ffmpeg-cvslog, but it is not mandatory.

    This is v3 of this doc, based on discussion in thread
    <https://ffmpeg.org/pipermail/ffmpeg-devel/2017-November/220528.html> ;
    and in response to docs Maintainer comments in
    <https://ffmpeg.org/pipermail/ffmpeg-devel/2017-December/221596.html>.

    1. In doc/developer.texi, add a new section about
    ffmpeg-devel, based on existing text from ffmpeg-cvslog
    section regarding discussion of patches and of
    development issues. Reflect wording from discussion at
    <https://ffmpeg.org/pipermail/ffmpeg-devel/2017-November/221199.html> ;
    but with copy-editing to make wording more concise.

    2. In doc/developer.texi, rewrite the ffmpeg-cvslog section
    to match the current usage of ffmpeg-cvslog. Some
    developers choose to follow this list, but it is not
    mandatory.

    There are a lot of improvements possible to the
    Developer Documentation page, beyond this refactoring.
    However, making those improvements is a much bigger
    and more difficult task. This change is "low hanging
    fruit".

    Signed-off-by : Jim DeLaHunt <from.ffmpeg-dev@jdlh.com>
    Signed-off-by : Timothy Gu <timothygu99@gmail.com>

    • [DH] doc/developer.texi
  • file conversion every after 10 minutes cronjob

    29 novembre 2017, par Sim

    I 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@… — Log

    Mise au point de la demo.
    Ca permet de se rendre compte que certains YAML existant sont un peu permissifs (saisies input et email).