Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (26)

  • 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 (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • 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 (...)

Sur d’autres sites (5232)

  • 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 & @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.

  • JSCS : Move else to same line as curly

    16 janvier 2014, par nschonni
    JSCS : Move else to same line as curly
  • FFmpeg Subtitles - New Line \n Break

    30 avril 2021, par John Doe

    I am trying to find a way to add line breaks (returns) to my subtitles in ffmpeg, but so far coming up with nothing. If I add \n to the subtitle text it just doesn't show it. Here's my video filter :

    


    subtitles=thumb.srt:force_style='FontName=Lilita One,Fontsize=60,Outline=8'


    


    Any ideas ?