Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (68)

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

  • Revision 48ea5b7190 : Merge "Some updates for Speed 6/VAR_BASED_PARTITION."

    16 octobre 2014, par Marco

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c



    Merge "Some updates for Speed 6/VAR_BASED_PARTITION."

  • FFMpeg - increase processing speed for filter_complex with enable='0' ?

    16 août 2021, par Giorgio F

    I am running a FFmpeg command with 'filter_complex', applying a set of consecutive filters, that ultimately will only be applied to some specific frames.

    


    The challenge I'm having is the command performance - regardless of applying the filter to all frames or not, the performance is very similar.

    


    Here are some examples :

    


      

    1. Apply a filter to every frame (alternate between 2 different filters, every 15 frames) :
    2. 


    


    ffmpeg -y -i video.mp4 -i "image1.png" -i "image2.png" -filter_complex "[0:v]format=gbrp[f],[0:v]format=gbrp[f1],[0:v]format=gbrp[f2],[1:v]format=gbrp[w1],[2:v]format=gbrp[w2],[f1][w1]blend=all_mode='darken':enable='lt(mod(n\,30)\,15)'[fw1];[f2][w2]blend=all_mode='lighten':enable='gte(mod(n\,30)\,15)'[fw2];[f][fw1]blend=all_mode='lighten':enable='lt(mod(n\,30)\,15)'[ftmp];[ftmp][fw2]blend=all_mode='darken':enable='gte(mod(n\,30)\,15)'" output.mp4


    


    Processing speed=0.625x

    


      

    1. Apply the filter every 15 frames (2 filters alternating every 30 frames) :
    2. 


    


    ffmpeg -y -i video.mp4 -i "image1.png" -i "image2.png" -filter_complex "[0:v]format=gbrp[f],[0:v]format=gbrp[f1],[0:v]format=gbrp[f2],[1:v]format=gbrp[w1],[2:v]format=gbrp[w2],[f1][w1]blend=all_mode='darken':enable='eq(mod(n\,30)\,15)'[fw1];[f2][w2]blend=all_mode='lighten':enable='eq(mod(n\,30)\,15)'[fw2];[f][fw1]blend=all_mode='lighten':enable='eq(mod(n\,30)\,15)'[ftmp];[ftmp][fw2]blend=all_mode='darken':enable='eq(mod(n\,30)\,15)'" output.mp4


    


    Processing speed=0.661x

    


      

    1. Set all "enabled" properties to 0 (therefore not applying any filter at all) :
    2. 


    


    ffmpeg -y -i video.mp4 -i "image1.png" -i "image2.png" -filter_complex "[0:v]format=gbrp[f],[0:v]format=gbrp[f1],[0:v]format=gbrp[f2],[1:v]format=gbrp[w1],[2:v]format=gbrp[w2],[f1][w1]blend=all_mode='darken':enable='0'[fw1];[f2][w2]blend=all_mode='lighten':enable='0'[fw2];[f][fw1]blend=all_mode='lighten':enable='0'[ftmp];[ftmp][fw2]blend=all_mode='darken':enable='0'" output.mp4


    


    Processing speed=0.663x

    


      

    1. Apply a basic "Negate" filter to the video :
    2. 


    


    ffmpeg -y -i video.mp4 -i "image1.png" -i "image2.png" -filter_complex "[0:v]format=gbrp[f],[f]negate" output.mp4


    


    Processing speed=1.23x

    


    
The performance is very similar for the cases 1. to 3., however I was expecting a similar performance between the two last ones since, in theory, nothing is processed on the 3. - however, with every filter turned off, the performance is very similar to having all filters enabled.

    


    Is there any way I am able to rewrite this command in order to increase the performance ?
The final goal will is to increase the performance for the case 2.

    


    Thanks in advance !

    


  • mandelbrot : increase resolution, and decrease zoom speed to maintain the cpu requirement.

    12 novembre 2011, par Michael Niedermayer

    mandelbrot : increase resolution, and decrease zoom speed to maintain the cpu requirement.