Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (68)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Les sons

    15 mai 2013, par
  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (6666)

  • Anomalie #4348 : php 7.4 alpha1

    17 juin 2019

    Pour le time, il y en a au moins un qui vient de prive/objets/info/auteurs.html ;

    <span class="CodeRay">[(#BOUTON_ACTION{<span class="tag">&lt;:info_admin_etre_webmestre:></span>,[(#URL_ACTION_AUTEUR{etre_webmestre,[(#REM|time)],#SELF})]})]
    </span>


    Cela génère time('')

    Un second vient de prive/squelettes/inclure/admin_vider_cache.html ;

    <span class="CodeRay">#SET{cache_inhib,#CONFIG{cache_inhib}|sinon{0}|<span class="error">></span>{#REM|time}|oui}
    </span>

    En alternative de #REM|time, peut être #EVAL{time()} ?

  • Securely using the PHP exec function

    19 janvier 2012, par siberiantiger

    I am writing a PHP script designed to run an executable file (ffmpeg.exe) via the exec() function. The problem is that I have read that using the exec() function can be a security risk and should be avoided if possible. I have been doing some research into how to run the exec() function securely, and the only thing that I keep coming across is to filter the command string with escapeshellcmd or escapeshellarg. What I want to know is if it is possible to further increase security when using the exec() function or if there is a secure alternative to exec(). Any help would be appreciated.

    Here is my code ;

    define(&#39;FFMPEG_LIBRARY&#39;, &#39;c:\\ffmpeg7\\ffmpeg\\bin\\ffmpeg &#39;);
    $transcode_string = FFMPEG_LIBRARY." -i " . $srcFile . " -acodec libmp3lame -ab 64k -ar 22050 -ac 1 -vcodec libx264 -b:v 250k -r 30 -f flv -y " . $destFile;
    $transcode_string = escapeshellcmd($transcode_string);
    exec($transcode_string);

    $srcFile is basically the video for transcoding while $destFile is the output file I wish to create.

  • sppedUp FFmpegKit overlay Flutter

    17 septembre 2023, par mlika

    I'm using FFmpegKit to overlay text on video :&#xA;I'm coding it for macos app, I double checked the CPU usage,it's using only 20%&#xA;I have MAC M1 PRO

    &#xA;

      String drawtextFilter = &#x27;drawtext=fontfile=\&#x27;$_fontPath\&#x27;:&#x27;&#xA;          &#x27;textfile=\&#x27;${segments[i].textFilePath}\&#x27;:&#x27;&#xA;          &#x27;x=(w-text_w)/2:y=(h-text_h)/2:&#x27;&#xA;          &#x27;fontsize=65:fontcolor=white@0.8:&#x27; // @0.8 sets the opacity&#xA;          &#x27;bordercolor=black:borderw=9:&#x27;&#xA;          &#x27;shadowcolor=black:shadowx=5:shadowy=5:&#x27; // Adding shadow&#xA;          &#x27;box=1:boxcolor=black@0.1:boxborderw=20:&#x27; // Adding background box&#xA;          &#x27;fix_bounds=1:&#x27;&#xA;          &#x27;line_spacing=10:&#x27;&#xA;          &#x27;enable=\&#x27;between(t,0,${segments[i].duration})\&#x27;&#x27;;&#xA;  String command =&#xA;          &#x27;-i "${segments[i].videoPath}" -vf "$drawtextFilter" -c:v h264_videotoolbox -threads 0 -y "$outputPath"&#x27;;&#xA;&#xA;

    &#xA;

    The problem is it's taking too long to finish the speed is around 0.6&#xA;Is there a solution or alternative as, I'm converting 1hour+ videos and it's taking too much time.&#xA;Thanks

    &#xA;

      &#xA;
    • I tried compute and Isolate to run multiple ffmpeg but it still very slow
    • &#xA;

    &#xA;