Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (28)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

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

  • Evolution #4102 : Ordre des inclures dans cache/charger_plugins_options.php

    8 juillet 2019, par cam.lafit -

    Salut

    Ma solution n’est pas bonne non plus. On peut selon l’ordre d’appel devoir encapsuler le code d’un fichier options. Donc la solution de @placido est plus pertiente. Le patch suivant ne casse pas le comportement par défaut de SPIP et permet de charger avant un bout d’options.

    Soit le pluginA ayant besoin de surcharger les options de pluginB, si on fait pluginA/pre_pluginB_options.php alors l’ordre de chargement devrait être :

    • pluginA/pre_pluginB_options.php
    • pluginB/pluginB_options.php
    • pluginA/pluginA_options.php
    1. <span class="CodeRay"><span class="line head"><span class="head">--- </span><span class="filename"><sans nom="nom"></sans></span></span>
    2. <span class="line head"><span class="head">+++ </span><span class="filename"><sans nom="nom"></sans></span></span>
    3. <span class="line change"><span class="change">@@</span> -821,7 +821,25 <span class="change">@@</span></span>
    4.      $boutons = array();
    5.      $onglets = array();
    6.      $sign = "";
    7. <span class="line delete"><span class="delete">-</span></span>
    8. <span class="line insert"><span class="insert">+</span>    </span>
    9. <span class="line insert"><span class="insert">+</span>    /* pre fonctions/options charger un fichier avant celui du plugin concerné */</span>
    10. <span class="line insert"><span class="insert">+</span>    foreach ($ordre as $p => &#38;$info) {        </span>
    11. <span class="line insert"><span class="insert">+</span>        foreach($ordre as $plugin_pre_charge => $info_plugin_pre_charge) {        </span>
    12. <span class="line insert"><span class="insert">+</span>            $dir_type = $plugin_valides[$plugin_pre_charge]['dir_type'];</span>
    13. <span class="line insert"><span class="insert">+</span>            $plug = $plugin_valides[$plugin_pre_charge]['dir'];</span>
    14. <span class="line insert"><span class="insert">+</span>            $dir = constant($dir_type);</span>
    15. <span class="line insert"><span class="insert">+</span>            $root_dir_type = str_replace('_DIR_', '_ROOT_', $dir_type);</span>
    16. <span class="line insert"><span class="insert">+</span>            if (isset($plugin_valides[$plugin_pre_charge])) {</span>
    17. <span class="line insert"><span class="insert">+</span>                foreach ($contenu as $charge => $v) {        </span>
    18. <span class="line insert"><span class="insert">+</span>                    if (is_readable("$dir$plug/" . ($file = "pre_".$info['prefix'] . "_" . $charge . ".php"))) {</span>
    19. <span class="line insert"><span class="insert">+</span>                        $_file = $root_dir_type . ".'$plug/$file'";</span>
    20. <span class="line insert"><span class="insert">+</span>                        $contenu[$charge] .= "include_once_check($_file);\n";</span>
    21. <span class="line insert"><span class="insert">+</span>                    }                        </span>
    22. <span class="line insert"><span class="insert">+</span>                }</span>
    23. <span class="line insert"><span class="insert">+</span>            }</span>
    24. <span class="line insert"><span class="insert">+</span>        }</span>
    25. <span class="line insert"><span class="insert">+</span>    }</span>
    26. <span class="line insert"><span class="insert">+</span>    </span>
    27.      foreach ($ordre as $p => $info) {
    28.          // $ordre peur contenir des plugins en attente et non valides pour ce hit
    29.          if (isset($plugin_valides[$p])) {
    30.  
    31. </span>

    Télécharger

  • Why is ffmpeg taking up so much memory when I try to stop a livestream ?

    4 juillet 2019, par FiskFan1999

    When the ffmpeg function is running, there are no problems with memory and everything runs smoothly. However, when I attempt to stop the stream/ffmpeg by pressing q (or ctrl-c), ffmpeg freezes, doesn’t take any other inputs, and suddenly takes up an obscene amount of memory.

    I am using ffmpeg to livestream on youtube. I am using a MacBook Mid 2015 running macOS Mojave.

    here is the function I am using with ffmpeg.

    ffmpeg -re -f lavfi -i testsrc2=s=1280x720:r=60 -re -i "INPUT FILE.mp3" -vcodec libx264 -pix_fmt yuv420p -preset "ultrafast" -r 60 -g 120 -b:v 6168000 -filter_complex "[0]scale=1280:720;[1]aloop=start=0:size=202*44100:loop=-1" -acodec libmp3lame -ar 44100 -threads 3 -b:a 640000 -qscale:a 5 -bufsize 512k -f flv ${YOUTUBE_URL}/${KEY}

    The command runs perfectly and as expected while it is running. At this point, in Activity Monitor I can see that ffmpeg seems to peak to about 101 MB. When I press q, which is the button to end the encoding, if the stream had been going for about ten minutes ffmpeg freezes and in Activity monitor the ffmpeg command appears to climb to several gigabytes of memory without any sign of stopping. The most I have noticed is about 6 GB before I killed the command. Ffmpeg seems to be writing almost a gigabyte of data into memory a second. In fact, this slows down my computer when it occurs and threatens to completely fill up my memory.

    When this occurs, there are no error messages (except for warnings about running out of memory) and the terminal running ffmpeg seems to not respond to any kill commands, and the only way to alleviate the situation is to force close the terminal window itself.

    I’m wondering if somehow I am creating a memory leak issue or if I wrote something wrong or didn’t include something that would be necessary for live-streaming with ffmpeg.

  • Recorded & uploaded video from iphone device won't play in iphone

    11 juin 2019, par Sohil Chamadia

    I am facing an issue regarding :

    Recording video from iphone and uploading that video on my application(Develop in Wordpress Framework) then the video uploaded won’t play in iphone devices.

    This issue occurs only when I "Record video from iphone and then uploading that video into the application".If I upload existing video from iphone device then video will be played and it’s working fine. So please help to resolve this issue.I have used "FFmpeg library" to reduce the size of video.

    Below is the code which i have used to play video :

    <video preload="auto" width="320" height="240" controls=""><source src="abc.mp4" type="video/mp4">Your browser does not support the video tag.</source></video>

    When i click on video to play it then video is not play and cross sign is shown over the play button.Below i have attached screenshot of it :
    enter image description here