Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (73)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (10860)

  • In FFmpeg, using -filter_complex, how can I overlay and blend at the same time ?

    5 mars 2014, par Kristian Boruff

    My code works to combine three videos, resize the videos to 1920X1080, resize the watermark to the correct size, and then overlays the watermark to the lower left hand side. Then converts to the intended codecs for Youtube.
    My question is how do I Blend at the same time using the -filter_complex workflow ?
    Currently, I have the following workflow that does everything but set the opacity

    ffmpeg -y -i fancy movie.mov -i logo.png -i in.mov -i out.mov -c:v libx264 -crf 18 -b:v 50000k -preset veryfast -tune film -profile:v high -x264opts cabac=1:keyint=16:bframes=2:keyint_min=15 -c:a libvo_aacenc -ab 128K -ar 48000 -filter_complex "[0:0] scale=1920X1080 [main]; [2:0] scale=1920X1080 [start]; [3:0] scale=1920X1080 [end]; [start] [2:1] [main] [0:1] [end] [3:1] concat=n=3:v=1:a=1 [prog]; [1:0] scale=480:90 [wm]; [prog] [wm] overlay=36:main_h-overlay_h-45" fart.mp4

    I'm trying to add "blend=all_opacity=0.7" in the last step so the watermark will screen against the background. If I just add

    [prog] [wm] overlay=36:main_h-overlay_h-45, blend=all_mode='overlay':all_opacity=0.7" fart.mp4

    I get the error, Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_blend_6

    If I try a semicolon instead,

    [prog] [wm] overlay=36:main_h-overlay_h-45; blend=all_mode='overlay':all_opacity=0.7

    I get the error, Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_blend_6 which makes me think that it's expecting something like [input 1] [input 2] blend command [output]. The problem is that I need it to overlay and blend.

    I tried simplifying the code to just test if the blend operation was working properly.

    ffmpeg -i test.mp4 -i logo.png -filter_complex "[0:0] scale=1920x1080 [wm]; [1:0] scale=1920x1080 [prog], [wm][prog] blend=all_mode='overlay':all_opacity=0.7" fart.mp4

    I got the error First input link top parameters (size 1920x1080, SAR 1:1) do not match the corresponding second input link bottom parameters (1920x1080, SAR 243:80)
    Failed to configure output pad on Parsed_blend_2

    So, in addition to the trouble with combining of filters, I'm also having an issue with resizing the watermark as FFMpeg sees it as a different aspect ratio than the other videos.

    This is my second day with FFmpeg, so any help would be appreciated.

    I'm currently working with FFMpeg version N-61061-gf34cceb

  • In FFmpeg, using -filter_complex, how can I overlay and blend at the same time ?

    20 avril 2023, par Kristian Boruff

    My code works to combine three videos, resize the videos to 1920X1080, resize the watermark to the correct size, and then overlays the watermark to the lower left hand side. Then converts to the intended codecs for Youtube.
My question is how do I Blend at the same time using the -filter_complex workflow ?
Currently, I have the following workflow that does everything but set the opacity

    



    ffmpeg -y -i fancy movie.mov -i logo.png -i in.mov -i out.mov -c:v libx264 -crf 18 -b:v 50000k -preset veryfast -tune film -profile:v high -x264opts cabac=1:keyint=16:bframes=2:keyint_min=15 -c:a libvo_aacenc -ab 128K -ar 48000 -filter_complex "[0:0] scale=1920X1080 [main]; [2:0] scale=1920X1080 [start]; [3:0] scale=1920X1080 [end]; [start] [2:1] [main] [0:1] [end] [3:1] concat=n=3:v=1:a=1 [prog]; [1:0] scale=480:90 [wm]; [prog] [wm] overlay=36:main_h-overlay_h-45" fart.mp4


    



    I'm trying to add "blend=all_opacity=0.7" in the last step so the watermark will screen against the background. If I just add

    



    [prog] [wm] overlay=36:main_h-overlay_h-45, blend=all_mode='overlay':all_opacity=0.7" fart.mp4


    



    I get the error, Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_blend_6

    



    If I try a semicolon instead,

    



    [prog] [wm] overlay=36:main_h-overlay_h-45; blend=all_mode='overlay':all_opacity=0.7


    



    I get the error, Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_blend_6 which makes me think that it's expecting something like [input 1] [input 2] blend command [output]. The problem is that I need it to overlay and blend.

    



    I tried simplifying the code to just test if the blend operation was working properly.

    



    ffmpeg -i test.mp4 -i logo.png -filter_complex "[0:0] scale=1920x1080 [wm]; [1:0] scale=1920x1080 [prog], [wm][prog] blend=all_mode='overlay':all_opacity=0.7" fart.mp4


    



    I got the error First input link top parameters (size 1920x1080, SAR 1:1) do not match the corresponding second input link bottom parameters (1920x1080, SAR 243:80)
Failed to configure output pad on Parsed_blend_2

    



    So, in addition to the trouble with combining of filters, I'm also having an issue with resizing the watermark as FFMpeg sees it as a different aspect ratio than the other videos.

    



    This is my second day with FFmpeg, so any help would be appreciated.

    



    I'm currently working with FFMpeg version N-61061-gf34cceb

    


  • avdevice/decklink : fix MSVC build issues

    6 mai 2017, par Aaron Levinson
    avdevice/decklink : fix MSVC build issues
    

    Purpose : Made minor changes to get the decklink avdevice code to build
    using Visual C++.

    Notes : Made changes to configure per Hendrik Leppkes's review of first
    and second versions of patch. Also made slight alterations per Marton
    Balint's reviews.

    Comments :

    — configure : Added if enabled decklink section and setting
    decklink_indev_extralibs and decklink_outdev_extralibs here for
    both mingw and Windows. Also eliminated the setting of these
    variables in the mingw section earlier in the file.

    — libavdevice/decklink_common.cpp : Switched the order of the include
    of libavformat/internal.h to workaround build issues with Visual
    C++. See comment in file for more details.

    — libavdevice/decklink_dec.cpp :
    a) Rearranged the include of libavformat/internal.h (for reasons as
    described above).
    b) Made slight alteration to an argument for call to av_rescale_q() to
    workaround a compiler error with Visual C++. This appears to only
    be an issue when building C++ files with Visual C++. See comment
    in code for more details.

    — libavdevice/decklink_enc.cpp : Rearranged the include of
    libavformat/internal.h (for reasons as described above).

    Signed-off-by : Aaron Levinson <alevinsn@aracnet.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] configure
    • [DH] libavdevice/decklink_common.cpp
    • [DH] libavdevice/decklink_dec.cpp
    • [DH] libavdevice/decklink_enc.cpp