Recherche avancée

Médias (91)

Autres articles (83)

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

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

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

Sur d’autres sites (3641)

  • fate.sh : Allow setting other make flags for running tests

    21 mai 2013, par Martin Storsjö
    fate.sh : Allow setting other make flags for running tests
    

    If makeopts_fate is set, these makeopts are used for running the
    tests instead of the normal makeopts. If it isn’t set, the normal
    makeopts variable is used as before.

    This is useful if remote testing on a lesser machine where a large
    number of parallel jobs might be undesireable, while wanting to speed
    up the build with many parallel processes.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] doc/fate.texi
    • [DBH] tests/fate.sh
  • ffmpeg crashing server working with fpm-php

    1er janvier 2023, par John

    I'm running a wordpress bitnami stack consisting of apache, mariadb and fpm-php.&#xA;I have cron jobs fulfilling encoding of one video at a time using ffmpeg, so while fpm-php is serving http requests ffmpeg works in parallel encoding videos.&#xA;When encoding starts everything seems to work fine, as shown here : ffmpeg working alongside fpm-php

    &#xA;

    But eventually after around an hour the server crashes due to lack of memory space. I've read that when CPU can't handle ffmpeg, ffmpeg will start consuming RAM until it exhausts it so that might be what causes the sudden spike in memory usage.

    &#xA;

    The image bellow illustrates what happens when the server crashes, kswapd0 creates virtual memory out of disk space to cope with lack of memory :&#xA;enter image description here

    &#xA;

    The server has 4vCPU and 8GB RAM. Website traffic is just me and a colleague, so it should be able to handle ffmpeg taking up around 1vCPU to encode videos.

    &#xA;

    I use the following configuration for fpm-php :

    &#xA;

    pm=ondemand&#xA;pm.max_children=5&#xA;pm.start_servers=2&#xA;pm.min_spare_servers=1&#xA;pm.max_spare_servers=3&#xA;pm.max_requests = 500&#xA;

    &#xA;

    Has anyone had this issue before ?

    &#xA;

    Thank you.

    &#xA;

    I've tried changing around the configuration of fpm-php, but the issue still happens. I don't see how ffpmeg can crash the server when it's taking up about 25% of the CPU only, when there's no traffic to the server.

    &#xA;

  • PHP-FFMPeg is not processing files on CentOS server

    22 novembre 2019, par Diego Miranda

    PHP-FFMPeg Version : 0.13.0

    FFmpeg Version : N-95710-gb25b643

    CentOS 7.7

    Actual Behavior

    We are using PHP-FFMPeg on laravel to process a video file to 720p and 480p.

    The PHP-FFMPeg is not processing the file or generate a file with 0 bytes.

    Sometimes one of this resolutions is precessed, most of the time is the 720p.

    The Exception return "Encoding failed".

    This occours only on production server CentOS.

    Executing the command of FFmpeg on prompt of production server works well.

    Expected Behavior

    PHP-FFMPeg process a video file to 720p and 480p.

    Code

    We have two jobs of Laravel to process the files in chain.

    In the ProcessVideo720PJob.php file :
    https://gist.github.com/Diego-MNG/e58228afe459dd65fcc58fb5970d627f#file-processvideo720pjob-php

    In the ProcessVideo480PJob.php file :
    https://gist.github.com/Diego-MNG/e58228afe459dd65fcc58fb5970d627f#file-processvideo480pjob-php