Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (85)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (12548)

  • avfilter/palettegen : use AV_QSORT()

    25 février 2015, par Clément Bœsch
    avfilter/palettegen : use AV_QSORT()
    

    This makes the sorting of the colors along an axis (r, g or b)
    predictible, and thus testable under FATE. The performance is not really
    an issue here since the function is called only once at the end and will
    need to sort very small number of entries, so an alternative would be to
    make the sorting functions (see DECLARE_CMP_FUNC()) fallback on another
    axis in case of equality. This approach was actually simpler.

    I don’t know if there is any advantage in using a multidimensional sort,
    but it will affect the final palette one way or another.

    • [DH] libavfilter/vf_palettegen.c
  • sppedUp FFmpegKit overlay Flutter

    17 septembre 2023, par mlika

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

    


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



    


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

    


      

    • I tried compute and Isolate to run multiple ffmpeg but it still very slow
    • 


    


  • 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('FFMPEG_LIBRARY', 'c:\\ffmpeg7\\ffmpeg\\bin\\ffmpeg ');
    $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.