Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • Evolution #3962 : Générer des JPEG progressifs

    18 juin 2017, par Michel Bystranowski

    Mmm, ça a l’air un peu plus compliqué qu’au premier abord effectivement. J’ai trouvé cet article qui compare le taux de compression et recommande de ne le faire que pour les fichiers de plus de 10k, sous peine d’obtenir des fichiers plus gros (https://yuiblog.com/blog/2008/12/05/imageopt-4/). Du coup il faudrait s’arranger pour ne cibler que les gros JPEGs.

    Par côté compatibilité des navigateurs ça semble ok pour tous les navigateurs récents (https://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28graphics%29#JPEG_support).

  • Fastest way to generate thumbnails with FFMPEG

    10 mai 2022, par Pit Digger

    FFMPEG takes 9 minutes for generating thumbnails every 15 seconds of a 3 hour long video. What is fastest way to do this ? I have tried following combinations but its taking same time.

    


    ffmpeg -ss 0.0 -t 10800 -i test.mp4 -an -vsync cfr -vf fps=1000/15000 -s 128x72 -f image2 -c:v png -compression_level 100 temp-%010d.png

ffmpeg -i test.mp4 -f image2 -bt 20M -vf fps=1/15 thumbs/tv%03d.png

ffmpeg -i inputvideo.mp4 -vf "select='not(mod(n,450))',setpts='N/(30*TB)'" -f image2 thumbnail%03d.jpg


    


    https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video

    


  • shell_exec echo'ing too fast or too late

    15 septembre 2016, par root

    So I read throug this article : https://trac.ffmpeg.org/wiki/PHP
    and found this :

    <?php
    echo "Starting ffmpeg...\n\n";
    echo shell_exec("ffmpeg -i input.avi output.avi >/dev/null 2>/dev/null &");
    echo "Done.\n";

    the code works almost perfectly fine, but the only thing that bothers me is, that because the shell_exec is being executed in the background (so there is no loading sign on the tab the whole time) all the echo’s are being executed immediatly. This means, that the "Done" echo is being written before ffmpeg finished its task.

    But when I remove the ’&’ the site does also what it is intended to do but now it waits until the shell_exec is finished until it echo’s out the "Starting ffmpeg..."

    So I kinda have the problem of figuring out how to get to such an order :

    1) echo something
    2) execute commad and wait until its finished.
    3) echo again

    I am a total beginner to php but have experience in programming overall. Please have mercy.

    Thank you for your time !