Recherche avancée

Médias (91)

Autres articles (29)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (9864)

  • matroskadec : cosmetics : Fix "attachement" vs. "attachment" typo

    7 mars 2014, par Diego Biurrun
    matroskadec : cosmetics : Fix "attachement" vs. "attachment" typo
    
    • [DBH] libavformat/matroskadec.c
  • lavfi/drawtext : add alias "expr_int_format" to expansion function "eif"

    18 juillet 2014, par Andrey Utkin
    lavfi/drawtext : add alias "expr_int_format" to expansion function "eif"
    

    Reviewed-by : Stefano Sabatini <stefasab@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_drawtext.c
  • How to fix : PHP crashes when executing shell command on Windows Command Prompt

    21 juin 2019, par Nou

    PHP crashes when I run my shell_exec() function. And when it doesn’t crash, Windows Command Prompt denies permission to execute the code. The goal is to use ffmpeg to split audio files one directory and put them in a different directory. NGINX, PHP, and ffmpeg are all setup on a VM if that’s a factor.

    I restart the VM and re-setup PHP whenever it crashes as a fix. But this solution is far from ideal.

       if($getFileType == 'flac' || $getFileType == 'mp3' || $getFileType == 'm4a'){
           #Make the directory where split audio files will be stored
           create_dir($splitAudioDir);

           #Start cmd.exe and use ffmpeg to split audio files then put them in another directory
           $shellCommand = shell_exec('start cmd.exe @cmd /k ffmpeg -i '.$dirFlitherPathOnly.' -map 0 -codec copy -f segment -segment_time 30 -reset_timestamps 1 '.$splitAudioDir.'/'.'split_%03d.mp4 &amp; @cmd /k set');

           #Log full command ran from $shellCommand
           error_log(print_r("\n"."Command to run: ".$shellCommand."\n", true), 3, "error.log");
       }

    I expect the audio files to split then appear in the directory I set for them.

    I don’t have the error message for Windows Command Prompt as I’ve closed it already. However, it says something along the lines of "permission denied" in red.