Recherche avancée

Médias (91)

Autres articles (102)

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

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8016)

  • FFMPEG PHP - Converting gif to mpeg

    15 août 2014, par Kyle Goodrich

    I’d like to create a simple script that converts gifs to mpegs using FFMPEG PHP. The script works when using FFMPEG in terminal. When I use a similar script using FFMEG PHP and host it on my domain, the script converts the gif to an mpeg, but only converts one frame of it. This is strange because the FFMPEG line of code that is responsible for the conversion is essentially the same line used previously in terminal. I’ve made sure that my web host (cirtex) has FFMPEG installed in their server. Also, I made sure to edit my php.ini file for FFMPEG use.

    The script I created consists of two parts - uploader.php and uploader_02.php.

    uploader.php is a simple submit form, where the user uploads and submits a gif.

    uploader_02.php receives the gif and copies it over to another directory on the server. Then, the script applies the FFMPEG conversion to the saved gif.

    Here’s are the lines of php that are responsible for the conversion :

    <?php
    // ffmpeg
    $ffmpeg = "/usr/bin/ffmpeg";
    $videoFile = "test_videos/" . $name;
    $output = "test_videos/instagram.mpg";
    $cmd = "$ffmpeg -i $videoFile -vb 5M -y $output";
    exec($cmd);  
    ?>

    For some reason, only one frame of the gif is converted into mpeg format. Not sure what is causing this problem.

    Any information regarding this issue will help out a lot.

  • How can i add cover image on mp3 file using ffmpeg ?

    30 juillet 2012, par user1562502

    I'm trying to convert audio file to mp3 and I want to add cover image into mp3 file.
    I tried this :

    ffmpeg.exe -i "input audio file" -i image.png out.mp3

    When conversion completes there is no cover image into mp3.
    I tried and this which is from the official documentation of ffmpeg. The result is the same mp3 file without cover image.

    ffmpeg -i input.mp3 -i cover.png -c copy -metadata:s:v title="Album cover"-metadata:s:v comment="Cover (Front)" out.mp3

    Thank you in advance !

  • Certain FFmpeg dll files don't seem to be installed or a are missing

    10 septembre 2023, par Señor Tonto

    I got the installation form the BtnB github repo linked in the official ffmpeg website, the shared version. On aunch my app calls for these .dll files which don't seem to be present in my installation. Though I can find .def files with their names for some reason, just not the .dll files. The names are : avcodec-60.dll, avutil-58.dll, avformat-60.dll & swscale-7.dll I wonder why these files aren't included in the folder I got. Maybe a faulty installation ? Here's where I got my FFmpeg installation : https://github.com/BtbN/FFmpeg-Builds/releases Also,
I've got no idea why the .dlls aren't installed. spmething must've gone wrong.