Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (63)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (12418)

  • How can I combine these three ffmpeg commands ?

    16 mai 2022, par Anuj Saxena

    I want to combine the following three commands into one command, if possible.

    


    a = f'''ffmpeg -i {footage} -vcodec libx264 -acodec aac {mov_path}'''
b = f'''ffmpeg -i {mov_path} -vf "drawtext=text=' {hostname}\n {socket.gethostbyname(hostname)}\n {getpass.getuser()}':x=10:y=H-th-10:fontfile=KhmerOS.ttf:fontsize=50:fontcolor=black:shadowcolor=black:shadowx=2:shadowy=2" {watermark_path}'''
c = f'''ffmpeg -i {watermark_path} -vf "drawtext=fontfile=KhmerOS.ttf: text='%{{frame_num}}': start_number=1: x=(w-tw)/2: y=h-(2*lh): fontcolor=black: fontsize=50: box=1: boxcolor=white: boxborderw=5" -c:a copy {current_frame} '''


    


    I want a single output video because I don't want to use unnecessary variables like b,c,watermark_path, and current_frame I want only one resultant video with mov_path

    


  • 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
    • 


    


  • FFMPEG Image overlay Fade in and out on Video not working properly

    24 août 2015, par HardCore CODER

    hi i have a video around 30 second and i want to set overlay image between 5 - 10 second only and play remaining video as per as.

    But i have an issue the video start with black screen and fade in on 5th second and play well upto 10 second and fade out to black after 10 second and whole video is black screen upto 30 second

    -i input.mp4 -i 34232944.png -filter_complex " [0:v][1:v] overlay=0:0:enable=’between(t,5,10)’,fade=t=in:st=5:d=1,
    fade=t=out:st=10:d=1 ’" -c:v libx264 -crf 23 output.mp4

    video link :-
    https://www.dropbox.com/s/vmbed5vxtakfhg5/TinyTake24-08-2015-02-59-59.mp4?dl=0

    Please help me.
    Thanks