Recherche avancée

Médias (91)

Autres articles (61)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (5775)

  • How to put a png onto an mp4/gif using imagemagick ?

    24 juillet 2022, par Harrison

    TLDR : How do I convert an MP4 to GIF without sacrificing quality ? How can I lay a PNG on a GIF without sacrificing quality ? And how to get rid of the flicker from combining them ?

    


    So I have an MP4 that is 3000x3000 and a PNG that is 1000x1000.

    


    The end result that I want is a GIF that is 1000x1000 where the PNG is layered on top of the MP4 as a background.

    


    These are the step I tried and the issues I am running into. Mainly the issues I am running into are a loss in quality.

    


    MP4 to GIF :

    


      

    1. I have converted the MP4 to a gif with ffmpeg -i background.mp4 background.gif. Result : A major loss of quality in the gif.

      


    2. 


    3. Instead of that - I tried an online converter. Works better but would like to do it on my own. But I will use this GIF from the online converter in the next examples. Still a slight loss of quality but not near as bad.

      


    4. 


    5. I have sized down my gif using convert temporary.gif -coalesce -resize 1000x1000 smaller.gif. (Have also tried with specifying the -size 3000x3000 but no difference really.) Another minor loss of quality there.

      


    6. 


    


    PNG ontop of GIF - Trial 1

    


      

    1. I have converted my PNG to a single page GIF with convert front.png front.gif (Along with some other options). Loses quality, anything that fades or is semi see through gets turned into a solid pixel.
    2. 


    3. Duplicated this page a bunch of times to match number of pages in my background gif using convert front.gif front.gif front.gif multiple times.
    4. 


    5. Merged background and front together with convert background.gif -coalesce null: front.gif -layers composite both.gif. Little more lose of quality and some flickering on the foreground..? Tried some other variations but thats the best I got.
    6. 


    


    PNG on GIF - Trial 2

    


      

    1. Instead of making a GIF of the PNG, I am just using the original PNG with the background.gif like this convert smaller.gif -coalesce null: front.png -layers composite -layers optimize both.gif. This one comes out weird. The from image is very different looking in color and flickery. Not gonna work.
    2. 


    3. Tried without optimization. convert smaller.gif -coalesce null: front.png -layers composite test.gif. This on is closer. The foreground looks great, but is just flickery still ! Again the background is not great but it doesn't seem to have much more impact from after the original mp4 conversion. Did this without -coalesce and still get the same output.
    4. 


    


    The best I can get is a decent front image with details preserved - but flickery. On top of a lossy background.

    


    How can I go about doing this with imagemagick or some other library ?

    


  • Configuring PHPVideoToolkit library

    21 novembre 2013, par mrpotatohead

    I'm trying to set up PHPVideoToolkit to use for converting videos on a server and can't seem to get the documentation/examples working. After setting the basic configuration, as well as making some slight changes to even be able to see the documentation I'm getting the following error (among others) :

    Declaration of PHPVideoToolkit\FfmpegProcess::getExecBuffer() should be compatible
    with that of PHPVideoToolkit\ProcessBuilder::getExecBuffer()

    and this one, several times :

    Undefined offset: 2
           [2] => /var/www/media_html/phpvideotoolkit-v2/src/PHPVideoToolkit/FfmpegParserAbstract.php

    After digging around for a little bit in various source files I realized I'm probably doing more harm than good changing stuff around and am probably doing something wrong.
    I'm stumped as to how to fix this so thanks in advance to anyone who knows how to.

  • Docker run cannot find existing file ?

    11 juillet 2023, par dexonter

    I am trying to run this command to test if the gpu is being recognized

    


    docker run --rm --device /dev/dri:/dev/dri jrottenberg/ffmpeg:5.1.2-vaapi2004 -hwaccel vaapi -hwaccel_output_format vaapi -i /root/Server_transcoder/bbb_sunflower_1080p_30fps_normalORIG.mp4 -c:v h264_vaapi /tmp/example.mp4


    


    And it errors out with : /root/Server_transcoder/bbb_sunflower_1080p_30fps_normalORIG.mp4: No such file or directory

    


    The file exists in there and the path is not misspelled - I checked like 10 times

    


    What could be the problem here ?? I am clueless